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.tcl
Application 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 directory
while 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.tcl
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
couldn't find: /home/scott/.dosbox/dosboxgui/dosboxgui.ini, using default settings
save settings called: /home/scott/.dosbox/dosboxgui/dosboxgui.ini
using default language
Error in startup script: can't invoke "option" command: application has been destroyed
while 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.tcl
syntax 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 😒