Stderr is defined in the TclHttpd script library, so you cannot use
it when the thread is freshly created - not before the next few lines
that initialize the library!   Either rip out the print statements, or
change them to
Thread_Send $id  {catch {puts stderr "Thread  starting."}}

>>>"David LeBlanc" said:
 > Tcl-Webserver/3.0.0 April 18, 2000
 > Tcl version 8.3.1
 > Webmaster: [EMAIL PROTECTED]
 > 
 > invalid command name "Stderr"
 >     while executing
 > "Thread_Send $id  {Stderr "Thread  starting."}"
 >     (procedure "Thread_Start" line 4)
 >     invoked from within
 > "Thread_Start"
 >     (procedure "Thread_Dispatch" line 12)
 >     invoked from within
 > "Thread_Dispatch $sock  [concat $Url(command,$prefix) [list $sock $suffix]]"
 > 
 > Also... which "puts stderr" commands ought to be converted to "Stderr" ?
 > 
 > Dave LeBlanc
 > 

--      Brent Welch     <[EMAIL PROTECTED]>
        http://www.scriptics.com
        Scriptics: The Tcl Platform Company


Reply via email to