URGENT: STKO WONT START

Post Reply
kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

URGENT: STKO WONT START

Post by kolozvari » Sat Oct 26, 2024 6:47 am

Hello,

STKO was working fine and then all of a sudden it won't start. It shows start screen for about 15 seconds and then it crashes. I restarted computer several times, but no luck.

Please advise.

Thank you

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: URGENT: STKO WONT START

Post by kolozvari » Sat Oct 26, 2024 7:39 am

I reinstalled STKO and I still have the same problem. I have been using STKO on this computer for years, so I doubt it is an issue with the computer.

I look forward to hearing from you.

Thank you

kesavapraba
Posts: 468
Joined: Sat Mar 28, 2020 2:25 pm

Re: URGENT: STKO WONT START

Post by kesavapraba » Sun Oct 27, 2024 5:23 am

Hi, Please check if the answer in the link below helps. viewtopic.php?t=2898#p8989
:: With best wishes ::
Prabakaran Kesavan

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: URGENT: STKO WONT START

Post by kolozvari » Sun Oct 27, 2024 7:41 am

That worked, thank you!

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: URGENT: STKO WONT START

Post by kolozvari » Sun Oct 27, 2024 9:57 am

After fixing the error with starting STKO, I encountered the following error when trying to run API Python scripts. I have been running these scripts before with no problem. pip stko is installed. "os" library comes with Python, and it is imported at the beginning of the code, so I am not sure what is wrong.
Screenshot 2024-10-27 215433.png
Screenshot 2024-10-27 215433.png (125.57 KiB) Viewed 3407 times
Please advise.

Thank you

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: URGENT: STKO WONT START

Post by STKO Team » Sun Oct 27, 2024 8:42 pm

When following the previous procedure will clear all the search paths of the script editor. Did you put them back? Is the file you are running saved in one of those folders?

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: URGENT: STKO WONT START

Post by kolozvari » Sun Oct 27, 2024 11:13 pm

I don't quite understand what you mean. Let's assume that the answer is yes. Can you please let me know how to fix it?

Thanks

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: URGENT: STKO WONT START

Post by STKO Team » Mon Oct 28, 2024 9:13 am

The only case in which this can happen is when you are trying to run a file from the editor that is not saved to disk.
In this case STKO tries to save it on the active path (among the ones on the script explorer).
If there's no path it cannot save it and the code cannot be run properly.

To replicate this error, I cleaned the search path, I deleted the python file but I didn't close it from the editor. So now the script on the editor is only in memory but not saved on disk:
testos.png
testos.png (55.67 KiB) Viewed 3382 times
Did something like this happened to you? Probably you deleted or renamed the folder where the original file was?

Post Reply