RoboDK Forum
RoboDK 5.4+ software error- Printable Version

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:RoboDK错误(//m.sinclairbody.com/forum/Forum-RoboDK-bugs)
+--- Thread: RoboDK 5.4+ software error (/Thread-RoboDK-5-4-software-error)



RoboDK 5.4+ software error-ANDYF-08-30-2022

Hi
Within my robot programs I have a a 'Program Call' command and within the text of the command it reads like this:

123, 2445, 3456, "file", 1124

My post processor passes the text through to the file without editing it and pre RoboDK 5.4 this worked fine. Since the 5.4 update and also 5.5, additional '\' characters are being added so that it now outputs data like this:

123年、2445年、3456年,\ \ "文件", 1124


I've tried different version of RoboDK and python interpreters and it appears to be an issue with RoboDK.

Can you please help

Regards
Andy


RE: RoboDK 5.4+ software error-Albert-08-30-2022

You are right, this is a new bug we recently introduced. We'll fix it within a week.

As a workaround you can add this line at the top of the RunCode function that outputs program calls in your post processor:
Code:
code = code.encode('raw_unicode_escape').decode('unicode_escape')



RE: RoboDK 5.4+ software error-ANDYF-08-30-2022

Thanks, work around works well