Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tcl runtime error.

Closed / Duplicate1033682fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-09-23 21:30:19
hi, 
 
Tcl version : 8.4.6 
OS platform : NetBSD 
 
Problem Behavior:  Package vic (video tool) has a dependency 
on TclTk. If i'm using Tcltk 8.4.6, compile and run vic, it throws 
the following error: 
 
vic-2.8: tcl runtime error: vic: vic_main 
stack trace: 
expected integer but got "-12" 
 (default value for "-font" in widget ".form.msg.label") 
 invoked from within 
"label $w.msg.label -font [mediumfont] -wraplength 4i -justify left 
-text "Please specify values for the following X resources. These 
strings will i..." 
 (procedure "run_resource_dialog" line 7) 
 invoked from within 
"run_resource_dialog $name $email" 
 (procedure "init_local" line 18) 
 invoked from within 
"init_local" 
 (procedure "vic_main" line 6) 
 invoked from within 
"vic_main" 
Segmentation fault (core dumped) 
 
Expected Behavior: When i compile and run vic with Tcltk 8.3.4 
it works fine, as it pops up a window (gui). When using tcltk 8.4.6 
no gui pops up and it shows the above reported error. 
 
Please do help. 
 
Thanks 
Pritesh.
msoferplain2004-09-24 04:36:44
Logged In: YES 
user_id=148712

Duplicate of [Bug 1032201].

This looks like a bug in vic, not tcl.
Log in (anonymous is fine) to add a comment.