Re: upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- From: Helmut Jarausch <jarausch@xxxxxxxxx>
- Date: Thu, 31 Jul 2008 10:06:42 +0000
Donald Arseneau wrote:
On Jul 31, 1:24 am, Donald Arseneau <a...@xxxxxxxxx> wrote:On Jul 31, 12:30 am, Helmut Jarausch <jarau...@xxxxxxxxx> wrote:When upgrading from Tcl/Tk-8.4.* to 8.5.3 an error occurs in
an old script (tkdiff+)
unmatched open brace in list
while executing
"foreach {pattern dummy1 dummy2} $content {
Maybe $content contains many lines and is removed, but it probably
also contains brace characters, and is not really a list.
OK, I grabbed tkdiff+.3.07g, and that line is part of status:save,
and $content is the contents of the rc file, likely .tkdiffrc or
_tkdiff.rc. Check that the file has not been clobbered.
Ummmm... does your rc file contain comments? Comments are allowed
for processing the file, but I don't see any method for handling
them when saving the status.
Donald Arseneau a...@xxxxxxxxx
Thanks Donald!
I've remove .tkdiffrc and now the error occurs at line 9422
foreach {p d f} $content {
# remove entries older than 6 months
if {[clock scan "6 months" -base [clock scan $d]] > [clock seconds]} {
puts $out "[list $p] [list $d] [list $f]\n"
}
Naively I've tried
#!/usr/bin/wish
set t [clock format [clock seconds]]
puts stdout $t
clock scan $t
# this gives
Thu Jul 31 10:01:57 +0000 2008
Error in startup script: unable to convert date-time string "Thu Jul 31 10:01:57 +0000 2008"
while executing
"FreeScan $string $base $timezone $locale"
(procedure "::tcl::clock::scan" line 70)
invoked from within
"clock scan $t"
(file "clock_test.tcl" line 5)
What am I missing here?
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
.
- References:
- upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- From: Helmut Jarausch
- Re: upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- From: Donald Arseneau
- Re: upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- From: Donald Arseneau
- upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- Prev by Date: Re: upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- Next by Date: Re: How do I find out the default color used in my TK GUI?
- Previous by thread: Re: upgrade problem tcl/tk-8.4 -> 8.5 -- please help
- Next by thread: Re: upgrade problem tcl/tk-8.4 -> 8.5 [SOLVED]
- Index(es):
Relevant Pages
|