Menu

#2891 tcl runtime error.

obsolete: 8.4.6
closed-duplicate
nobody
69. Other (102)
5
2004-09-23
2004-09-23
No

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.

Discussion

  • miguel sofer

    miguel sofer - 2004-09-23
    • status: open --> closed-duplicate
     
  • miguel sofer

    miguel sofer - 2004-09-23

    Logged In: YES
    user_id=148712

    Duplicate of [Bug 1032201].

    This looks like a bug in vic, not tcl.

     
MongoDB Logo MongoDB