This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Strange Tcl command errors

General support and discussion of Eggdrop bots.
Post Reply
User avatar
arfer
Master
Posts: 436
Joined: Fri Nov 26, 2004 8:45 pm
Location: Manchester, UK

Strange Tcl command errors

Post by arfer »

I am getting strange Tcl command errors

Example 1

I make a deliberate mistake sourcing a script. Filename omitted.
.tcl source scripts/
On some bots I get the correct error
Tcl error: couldn't read file "scripts/": illegal operation on a directory
On other bots I get something akin to the following
Tcl error: invalid command name "Ê&ž
Example 2

I attempt to trace a Tcl error
.tcl set errorInfo
If an error has occured I get the correct response, for example
Tcl: can not find channel named "sock11"
Tcl: while executing
Tcl: "eof $sock"
If no error has occured I get (similar to Example 1 above)
Tcl: invalid command name "“'ž
Anybody else seen this, or more importantly can explain it?
I must have had nothing to do
Post Reply