Joost 't Hart wrote:

Found it.

Recently some pinfo link members were moved from options.dat into resovers.dat

Attached patch removes the futile attempt to store them into options.dat (forgotten part).

Note: I feel Alexander should accept or redo this patch himself :-) .

Cheers,
Joost.

Hi!

[CVS/Windows]

I am afraid that scid's recent changes have caused a problem.

1) Checkout a fresh sandbox
2) Build scid for windows
3) Start scid
4) Quit scid

Step 4 fails with the following error message:

    can't read "::pinfo::viafurl": no such variable
    can't read "::pinfo::viafurl": no such variable
        while executing
    "set ::pinfo::$i"
        ("foreach" body line 2)
        invoked from within
    "foreach i { wikipurl dnburl viafurl fideurl iccfurl SeeAlsoPND2WP
    wikipAPI} {
          puts $optionF "set ::pinfo::$i [list [set ::pinfo::$i]]"
        }"
        invoked from within
    ".menu.options invoke [tr OptionsSave]"
        (procedure "::file::Exit" line 45)
        invoked from within
    "::file::Exit"
        (menu invoke)


Root cause has to do with the complete absence of a config directory when starting scid. Scid can only be stopped by killing it from the task manager. After the kill, a new config directory has been created with a few files, but the problem persists after a restart.

After an update and rebuild of an older sandbox, the problem did not show. But after removing the config directory from this sandbox: Bingo!

Please check this out. I am stuck now...

Cheers,
Joost.

------------------------------------------------------------------------------

_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Index: tcl/menus.tcl
===================================================================
RCS file: /cvsroot/scid/scid/tcl/menus.tcl,v
retrieving revision 1.74
diff -U3 -r1.74 menus.tcl
--- tcl/menus.tcl       11 Mar 2010 17:42:12 -0000      1.74
+++ tcl/menus.tcl       15 May 2010 19:10:23 -0000
@@ -1044,7 +1044,7 @@
     }
 
     # save pinfo config
-    foreach i { wikipurl dnburl viafurl fideurl iccfurl SeeAlsoPND2WP 
wikipAPI} {
+    foreach i { wikipurl dnburl SeeAlsoPND2WP wikipAPI} {
       puts $optionF "set ::pinfo::$i [list [set ::pinfo::$i]]"
     }
     
------------------------------------------------------------------------------

_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to