Reply 20 of 45, by nsmcovox
- Rank
- Newbie
I'm stumped. When executing dosboxgui.tcl from /tmp:
scott@trousersnake:/tmp$ tclsh8.4 dosboxgui.tcl proc_browsers.tclApplication initialization failed: this isn't a Tk applicationunknown color name "Black"Error in startup script: couldn't read file "./proc_browsers.tcl": no such file or directorywhile executing"source [file join $libPath proc_browsers.tcl]"(file "./dosboxgui.tcl" line 267)scott@trousersnake:/tmp$
After moving all the tcl files to ~/.dosbox/dosboxgui/ :
scott@trousersnake:~/.dosbox/dosboxgui$ tclsh8.4 dosboxgui.tclApplication initialization failed: this isn't a Tk applicationunknown color name "Black"couldn't find: /home/scott/.dosbox/dosboxgui/dosboxgui.ini, using default settingssave settings called: /home/scott/.dosbox/dosboxgui/dosboxgui.iniusing default languageError in startup script: can't invoke "option" command: application has been destroyedwhile executing"option add *Button.padY 0"(procedure "gui::build" line 25)invoked from within"gui::build"(file "./dosboxgui.tcl" line 276)scott@trousersnake:~/.dosbox/dosboxgui
Running it with tcl 8.3 wasn't much of an improvement:
scott@trousersnake:~/.dosbox/dosboxgui$ tclsh8.3 dosboxgui.tclsyntax error in expression "[file type $scriptBase] eq "link""while executing"if {[file type $scriptBase] eq "link"} {set libPath [file dirname [file readlink $scriptBase]]} else {set libPath [file dirname $scriptBase..."(file "dosboxgui.tcl" line 6)scott@trousersnake:~/.dosbox/dosboxgui$
Am I doing something wrong? I'm not too familiar with how tcl needs to be handled 😒