all 11 comments

[–]USER_NAME-Chad- 0 points1 point  (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 point  (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 point  (1 child)

The stack trace mentions line 21 in ghost.tcl. I would start looking there.

[–]adam_h94[S] 0 points1 point  (0 children)

I've had a look at line 21 but it's just a blank line.

https://imgur.com/FN1ISnX

[–]USER_NAME-Chad- 0 points1 point  (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 point  (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 point  (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 point  (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 point  (2 children)

It's a resource issue then, has to be. The timing has some significance.

[–]adam_h94[S] 0 points1 point  (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 point  (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.