Menu

#180 Error loading saved file

open
nobody
None
5
2010-05-28
2010-05-28
No

I'm on fedora 11, vtcl-1.6.1a1 tcl-8.5.6-6.fc11.x86_64 tk-8.5.6-4.fc11.x86_64

This has been broken for me for a long long time now, and I had just given up on vtcl entirely. Now, I've got a project I need to rapid prototype (which just screams vtcl).

I installed a pristine vtcl-1.6.1a1 and of course that fails due to the tkcon thing. Fixed that. I create a very simple project, a toplevel with a button in it and save as unknown.tcl and exit. Running unknown.tcl works fine. Then when I restart vtcl and load the project I get a "missing value to go with key" error dialog with the following stack trace:

missing value to go with key
while executing
"info procs"
(in namespace eval "::tcl::dict" script line 1)
invoked from within
"namespace eval $context {info procs}"
(procedure "vTcl:source" line 10)
invoked from within
"vTcl:source $file newprocs"
(procedure "vTcl:open" line 29)
invoked from within
"vTcl:open"
invoked from within
".vTcl.#vTcl#m.#vTcl#m#file invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tk::MenuInvoke" line 50)
invoked from within
"tk::MenuInvoke .vTcl.#vTcl#m.#vTcl#m#file 1"
(command bound to event)

I've searched for this bug, googled it, find that other people have it but no resolution. I don't understand the error so I'm here looking for help. HELP!

Thanks!
Robert

Discussion

  • Fred

    Fred - 2010-06-05

    I managed to get past this error but created some others that are annoying and cause other things not to work but I can load and look at projects that I created in the past. Having set this area aside for a while, I need to look to see what I did though. I will be looking at it this weekend because I am starting a new project and need vtcl. Spectcl and guib don't work very well either and the $$ for active tcl's products are out of the equation for now. Once I find the file/files, I will post the changes.

    Take Care,

    Fred

     
  • Fred

    Fred - 2010-06-05

    I have the changes located and wanted to upload the files but can't upload them. They are in file.tcl and tkcon.tcl. I'm using tcl/tk 8.5.8 with Itcl/Itk 3.4 BWidget 1.9 and BLT version 3.0. I am not using the default BWidgets that come with vtcl. My platform is Slackware-13.0 and the tcl/tk versions were built from source using the Slackbuilds scripts that are with the Slackware sources.

    Take Care,

    Fred

     

Log in to post a comment.