Posts: 8
Threads: 3
Joined: Mar 2022
Reputation:
0
Python programs stopped generating the code when right clicking the script and selecting "Generate Robot Program" The file just plays in the simulation and then nothing else happens.
It used to work and suddenly stopped. I have reinstalled robodk to no avail. Other threds pose the "solution" is to reinstall Windows10 but this is unacceptable. I'm on a work pc and I cannot do that, besides it is not a real solution since the root cause has not been found.
It works perfectly when i copy my project to another computer, but i need to work on my own.
Posts: 319
Threads: 2
Joined: Jun 2021
Reputation:
25
If you have problems generating robot programs, it is most likely related to the Python interpreter.
Make sure that the Python interpreter is valid: RoboDK->Tools->Options->Python.
Posts: 3,108
Threads: 2
Joined: Apr 2018
Reputation:
155
Can you send us the RoboDK project with the Python program?
We'll try to reproduce this issue and fix it.
Posts: 8
Threads: 3
Joined: Mar 2022
Reputation:
0
Posts: 8
Threads: 3
Joined: Mar 2022
Reputation:
0
09-29-2023, 07:44 AM
(This post was last modified: 09-29-2023, 08:31 AM by TDCN.)
Hi sorry for the delay, i have been busy
I just tried resetting all settings but it does not change anything.
even the simplest python program will not generate the robot program.
I have just again tried completely wiping the install from my pc. Ran the uninstaller and removed all folders with robodk in C:/Robodk and in appdata folder. Then rebooted my computer and installed it all again.
It did not work.
Some files must persist hidden somewhere else on my computer since it somehow remembered my license key? Are there any more files than C:/RoboDK and the appdata folder i can purge to try and combat this weird behaviour. Any event logs I can use to figure out why it won't generate my python scripts.
Posts: 3,108
Threads: 2
Joined: Apr 2018
Reputation:
155
Yes, you can run this file to delete the RoboDK settings files:
C:/RoboDK/RoboDK-Set-Defaults.bat
When you delete these settings RoboDK will generate the default settings again.
Did you try using the latest version?
If it still fails, to debug this issue better it would help if you can follow these steps:
1. Close RoboDK
2. Start RoboDK by double clicking the file:
C:/RoboDK/RoboDK-Debug.bat
3. Try to reproduce the problem in RoboDK until it crashes.
4. Right after the crash you can provide us with this file:
C:/RoboDK/bin/RoboDK.debug.txt
Also, can you provide information about the computer you are using?