Menu

#10 load/save layouts

1.0
open
nobody
None
2017-08-26
2017-08-06
No

i want to load/save layout with my games but after restarting application to check whether my saved layout loads succesfully i obtained error:


Error in startup script

can't use empty string as operand of "!"
while executing
"if {! $analysis(uci$n) } {
set analysis(multiPVCount$n) 1
}"
(procedure "::makeAnalysisWin" line 65)
invoked from within
"::makeAnalysisWin $n nostart"
(procedure "::docking::layout_restore_nb" line 43)
invoked from within
"::docking::layout_restore_nb $pw $name $tabs"
(procedure "layout_restore_pw" line 18)
invoked from within
"layout_restore_pw [lindex $elt 1]"
(procedure "layout_restore_pw" line 13)
invoked from within
"layout_restore_pw [lindex $elt 1]"
(procedure "layout_restore_pw" line 13)
invoked from within
"layout_restore_pw [lindex $data 1]"
(procedure "layout_restore_pw" line 10)
invoked from within
"layout_restore_pw $::docking::layout_list($slot)"
(procedure "::docking::layout_restore" line 17)
invoked from within
"::docking::layout_restore 1"
invoked from within
"if { $::docking::USE_DOCKING } {
setTitle .main [ ::tr "Board" ]
# restore geometry
wm minsize $dot_w ...


OK

Discussion

  • Steven

    Steven - 2017-08-06

    Backup, then try deleteing your engines.dat file. It may be malformed.
    Otherwise, send it to me and also the options.dat file, and also the contents of the startup screen.
    You can also start in windowed mode with "-nodock"

     
  • Sergey Ivanov

    Sergey Ivanov - 2017-08-06

    my files are in attach

     
  • Sergey Ivanov

    Sergey Ivanov - 2017-08-24

    i was able to avoid error at 'undock' mode but since my workspace became chaotic i recomment every single window in applicaton to have 'dock' option

     

    Last edit: Sergey Ivanov 2017-08-24
  • Steven

    Steven - 2017-08-26

    Ok.. you seem to have deleted an engine that was initialised at startup.
    I will catch this error. Add these 6 lines (but dont include the +) to scid.gui if you care to test - Steven

    set engineData [lindex $::engines(list) $n]
    + # sanity check
    + if {[llength $engineData] < 7} {
    + puts "Oops : no data for engine $n"
    + return
    + }
    +
    set analysisName [lindex $engineData 0]

     

Log in to post a comment.