Working on Windows 11. Had some problems with the python API on RoboDK 5.8.0 (I believe?) so updated yesterday to 6.2.2. (64bit Windows version). Unfortunately, this made things worse: When I try to generate an offline program by right-clicking the python script and selecting "Generate robot program", RoboDK crashes.
Steps to recreate the bug:
Am I right in assuming there is a bug here, or is this a user error?
The issue described arises when no robot is connected to the computer at the time of generating the program. When the robot is instead connected, RoboDK attempts to execute the script live on the robot (which was something we already had issues with before), and a different error arises that points towards communication issues between robot and program. I am currently unable to access the robot, but am happy to submit a detailed report of this second issue within the next few hours.
Steps to recreate the bug:
- Open a new station in RoboDK v6.2.2. on Windows 11
- File - Open robot library - Open Elite Robots CS 66
- Add new python script by clicking the python logo with the green plus at the top menu bar
- Right-click script in station tree and open script to edit
- Copy and paste example offline script (https://robodk.com/doc/en/PythonAPI/exam...-weld-test), then save (ctrl+s)
- Close script and run simulation in RoboDK by right-clicking script in station tree and selecting "run python script". Behaviour as expected with simulation running just fine.
- Right-click script in station tree again and select "generate robot program F6". RoboDK displays "executing python script" in status bar on bottom left corner of the screen, then immediately crashes. The program also crashed when I tried again with a random other robot from the library.
Am I right in assuming there is a bug here, or is this a user error?
The issue described arises when no robot is connected to the computer at the time of generating the program. When the robot is instead connected, RoboDK attempts to execute the script live on the robot (which was something we already had issues with before), and a different error arises that points towards communication issues between robot and program. I am currently unable to access the robot, but am happy to submit a detailed report of this second issue within the next few hours.

