I'm not yet sure this isn't user-error, so didn't post in the Bugs subforum yet.
I'm also having a hard time reproducing it, as it "suddenly" started working on my test PC.
Context: a customised Universal_Robots.py post-processor for CB2 UR controllers as described in UR5, CB2: custom progrobodk.script as station setting?
A user reported they experience a 'crash' (actually a RoboDK error dialog) when trying to use a custom(ised) post-processor.
This post-processor consists of a single .py placed directly in C:\RoboDK\Posts.
The error message (I don't have a screenshot unfortunately) was "NameError: name 'RobotPost' is not defined", accompanied by "Failed to generate program".
As a test, I tried reproducing this on a test PC (Windows 10) and I could trigger the same error when running RoboDK under a user account for which the username contains a space. User accounts without spaces in their names don't experience the same problem.
However, when trying to reproduce again (to get a screenshot for this post) it seems it suddenly started working. I'm afraid I don't know what changed.
Unfortunately that did not happen for the user that reported the initial error/crash.
I'm also having a hard time reproducing it, as it "suddenly" started working on my test PC.
Context: a customised Universal_Robots.py post-processor for CB2 UR controllers as described in UR5, CB2: custom progrobodk.script as station setting?
A user reported they experience a 'crash' (actually a RoboDK error dialog) when trying to use a custom(ised) post-processor.
This post-processor consists of a single .py placed directly in C:\RoboDK\Posts.
The error message (I don't have a screenshot unfortunately) was "NameError: name 'RobotPost' is not defined", accompanied by "Failed to generate program".
As a test, I tried reproducing this on a test PC (Windows 10) and I could trigger the same error when running RoboDK under a user account for which the username contains a space. User accounts without spaces in their names don't experience the same problem.
However, when trying to reproduce again (to get a screenshot for this post) it seems it suddenly started working. I'm afraid I don't know what changed.
Unfortunately that did not happen for the user that reported the initial error/crash.