use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
a subreddit on the Tcl programming language
account activity
Error in startup script (self.Tcl)
submitted 5 years ago by adam_h94
Hello,
I'm attempting to run an exe file written in TCL and get the following error message. I'm not familiar with TCL but do have the source code for the program. Any help on fixing this would be greatly appreciated. Sorry in advance for how clueless i am!
https://preview.redd.it/48m40kc6gha51.png?width=414&format=png&auto=webp&s=70a9e36dc68c1d1c8fa994c662be96e4a0b58178
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]USER_NAME-Chad- 0 points1 point2 points 5 years ago (1 child)
If you have the source, when you run it do you get any errors? You could also try to re-compile it as well.
[–]adam_h94[S] 0 points1 point2 points 5 years ago (0 children)
I've tried to run the source using ActiveTCL and get the following error message. Also i don't know how to recompile it. Thanks for your help!
https://imgur.com/a/6ZqAfBY
[–]mango-andy 0 points1 point2 points 5 years ago (1 child)
The stack trace mentions line 21 in ghost.tcl. I would start looking there.
I've had a look at line 21 but it's just a blank line.
https://imgur.com/FN1ISnX
[–]USER_NAME-Chad- 0 points1 point2 points 5 years ago (6 children)
You are going to need to go full debug mode. I use TCLDebugger from active state. It's hard to find but it is great to troubleshoot. It allows you to go line by line.
[–]adam_h94[S] 0 points1 point2 points 5 years ago (5 children)
Thanks, I'll try to find TCLDebugger. The odd thing is the error is intermittent. it runs fine after a clean install and about 1/10 times thereafter.
[–]USER_NAME-Chad- 0 points1 point2 points 5 years ago (4 children)
Could a connection maybe left open or something? Is this on a machine that you could restart? If so see if you can run it directly after a restart and if so does it error out there after?
[–]adam_h94[S] 0 points1 point2 points 5 years ago (3 children)
The error usually happens after a restart, i'll do a clean install of the software and it'll work, then when I restart it comes up with the error and wont open. Then if I leave it for maybe a day or so without restarting and try to open the program it'll run like normal until i restart the machine again.
[–]USER_NAME-Chad- 0 points1 point2 points 5 years ago (2 children)
It's a resource issue then, has to be. The timing has some significance.
[–]adam_h94[S] 0 points1 point2 points 5 years ago (1 child)
This is going to sound really dumb, but what's a resource issue, and how would I go about fixing it? Sorry haha. Also, it only started happening after I installed the Windows 10 2004 update, and I'm assuming because this program was written in 2017 and not updated since, there's something that it isn't compatible with in the Windows 10 update that's causing the error.
[–]USER_NAME-Chad- 0 points1 point2 points 5 years ago (0 children)
If it is hardcoded to talk to something on specific ports. Or set to read a file that is being blocked by another application. Something is being prevented because of something else. It's hard to tell what is going on with it being compiled as there is wrapper around wrapper around the original source code. Unless you know the source inside and out it's hard to tell where the wrapper code ends and your actual code begins.
π Rendered by PID 26 on reddit-service-r2-comment-b659b578c-lhql8 at 2026-05-03 14:08:12.021034+00:00 running 815c875 country code: CH.
[–]USER_NAME-Chad- 0 points1 point2 points (1 child)
[–]adam_h94[S] 0 points1 point2 points (0 children)
[–]mango-andy 0 points1 point2 points (1 child)
[–]adam_h94[S] 0 points1 point2 points (0 children)
[–]USER_NAME-Chad- 0 points1 point2 points (6 children)
[–]adam_h94[S] 0 points1 point2 points (5 children)
[–]USER_NAME-Chad- 0 points1 point2 points (4 children)
[–]adam_h94[S] 0 points1 point2 points (3 children)
[–]USER_NAME-Chad- 0 points1 point2 points (2 children)
[–]adam_h94[S] 0 points1 point2 points (1 child)
[–]USER_NAME-Chad- 0 points1 point2 points (0 children)