Problem
SCOadmin Printer Manager fails to start while retrieving the list of
printers with SCO Advanced File and Print Server installed
and shared printing set up to a Windows or NT client. An error
is written to /tmp/tclerror.XXXX.log similar to this: Uncaught error in Tcl program: printerGUI:
VTcl Server
VtDrawnListSelectItem - Could not find field
----------------------------------------------------------------------
Error code = NONE
----------------------------------------------------------------------
VTcl Server
VtDrawnListSelectItem - Could not find field
while executing
"VtDrawnListSelectItem $mainList -field 1 $focusPrinter"
invoked from within
"if { ![lempty $allPrinters] } {
set focusPrinter $defaultPrinter
if { [lempty $focusPrinter] ||
[lsearch $allPrinters $focusPrinter]
..."
(procedure "RefreshMainFormData" line 62)
invoked from within
"RefreshMainFormData"
(procedure "StartMainPrinterAdminScreen" line 76)
invoked from within
"StartMainPrinterAdminScreen"
("uplevel" body line 9)
invoked from within
"uplevel $command"
====================================================================== Solution
Look in the directory /var/opt/K/SCO/asusrv/3.5.2n/clipr for the list of AFPS shared printers and check to see if there are printers there that contain any special characters. (Note that this path will vary depending on the release of Advanced File and Print Server so that 3.5.2n may be 3.5.1f). Here is a sample listing of this directory:
-rwxr-xr-x 1 lp lp 2457 Mar 21 17:00 Henry's
-rw-r--r-- 1 root sys 324 Mar 21 17:00 Henry's.cfg
-rwxr-xr-x 1 lp lp 22437 Mar 21 17:00 printer1
-rw-r--r-- 1 root sys 324 Mar 21 17:00 printer1.cfg
-rwxr-xr-x 1 lp lp 5976 Mar 21 17:00 printer2
-rw-r--r-- 1 root sys 324 Mar 21 17:00 printer2.cfgThe printer manager script (printerGUI) fails on the printer "Henry's" due to the special character " ' ". You will need to remove the files containing the special character(s). In this example, you will want to:
# rm Henry*Now the printer manager will come up without error. You will then need to go to the Windows or NT machine where the printer is connected, rename the printer using only alphanumeric characters, and reshare the printer.
See also
The Advanced File and Print Documentation Set.