Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-01-18
10:20 • Closed ticket [1395960fff]: clock format on Windows returns an error plus 6 ... artifact: 84e8d94003 user: sf-robot
2006-01-03
22:31 • Pending ticket [1395960fff]. artifact: 799055ad0b user: hobbs
12:37 • New ticket [1395960fff]. artifact: 645c16dc66 user: mbroeken

clock format on Windows returns an error

Closed / Invalid1395960fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-01-03 12:37:42
Tcl(kit) 8.5a4 on Windows XP returns an error for
"clock format [clock seconds]", whereas 8.5a2 or 8.4.x
don't. The error info is:

invalid command name "Localtime"
while executing
"return -options $opts $retval"
(procedure "ConvertUTCToLocal" line 20)
invoked from within
"ConvertUTCToLocal $date[set date {}] $timezone"
(procedure "::tcl::clock::format" line 71)
invoked from within
"::tcl::clock::format 1136290665"
("uplevel" body line 1)
invoked from within
"uplevel 1 [info level 0]"
(procedure "::tcl::clock::format" line 4)
invoked from within
"clock format [clock seconds]"
hobbsplain2006-01-03 22:31:34
Logged In: YES 
user_id=72656

I had this issue as well, and it turned out to be a mismatch
of the exact C Tcl library with the runtime library.  I
believe I had to change the Makefile to adjust the PATH (or
LD_LIBRARY_PATH) to have the build dir before an install
dir. In any case, ensure that the latest Tcl C sources are
the ones being used for testing against.
sf-robotplain2006-01-18 10:20:11
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.