Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Error generating a program using ABB IRC5 post processor

#1
Hi everyone,


I received the following error while trying to generate a program by using the post processor of "ABB_IRC5"

Failed to generate program "RhinoCrv" using the Post Processor "ABB_RAPID_IRC5"
Code:
Post processor path:C:/RoboDK/Posts/ABB_RAPID_IRC5.py
Traceback (most recent call last):
File "C:\Users\Dell\AppData\Local\Temp\PostRhinoCrv.py", line 1401, in
r.ProgSave(r"""C:/Users/Dell/OneDrive/Documents/RoboDK/Programs/""",r"""RhinoCrv""",False,r"""C:/RoboDK/Other/VSCodium/VSCodium.exe""")
File "C:\RoboDK\Posts\ABB_RAPID_IRC5.py", line 568, in ProgSave
File "C:\RoboDK\Posts\ABB_RAPID_IRC5.py", line 378, in save_module
FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Dell/OneDrive/Documents/RoboDK/Programs//RhinoCrv.mod'

Process output:
Using Python version: sys.version_info(major=3, minor=10, micro=10, releaselevel='final', serial=0)
RoboDK Post Processor: C:/RoboDK/Posts
Total instructions: 1311
Done instruction: 50
Done instruction: 100
Done instruction: 150
Done instruction: 200
Done instruction: 250
Done instruction: 300
Done instruction: 350
Done instruction: 400
Done instruction: 450
Done instruction: 500
Done instruction: 550
Done instruction: 600
Done instruction: 650
Done instruction: 700
Done instruction: 750
Done instruction: 800
Done instruction: 850
Done instruction: 900
Done instruction: 950
Done instruction: 1000
Done instruction: 1050
Done instruction: 1100
Done instruction: 1150
Done instruction: 1200
Done instruction: 1250
Done instruction: 1300
Done instruction: 1250
Done instruction: 1300

Python Post Processor process exit code: 0

The simulation of the project works successfully, cannot tell if it's an error from Python or maybe I didn't proplery apply my settings.

Grateful to know any possible causes of this error.

Thanks
#2
Can you send us your RDK project file?

Do you have write access to the RoboDK programs folder?
C:/Users/Dell/OneDrive/Documents/RoboDK/Programs/
#3
Hi, Thanks for your reply,
I checked write access to the Robodk program folder, it has full control.


Attached Files
.rdk   Station1check.rdk (Size: 3.74 MB / Downloads: 279)
#4
I'm unable to reproduce this issue and I obtain the surf1program.mod program file without issues. Can you try with the latest version of RoboDK?

You can also set the default settings before generating the program by following these steps:
  1. Select Tools-Options
  2. Select Set default settings
#5
I'm suddenly having this same issue.
@Waseem_Chaudhary did you find a solution?
@Albert do you know what causes this issue?

@Albert could it be a license issue? I'm having the same issue on a colleague's computer. We have intentionally not updated RoboDK since our maintenance expired.
#6
Can you share your RoboDK project file? We can take a better look.

This should not be an issue with licensing but it could be due to unsupported features with an older version of the post processor.
#7
I don't think the station is the issue, because if I make a new empty station like the one attached, I have the same issue.


Attached Files
.rdk   station.rdk (Size: 1.91 MB / Downloads: 164)
#8
Can you try saving your robot programs in the default location?

For example:
C:\Users\user-name\Documents\RoboDK\Programs\

Or a location that does not depend on OneDrive.
#9
Thanks Albert, this solved the issue for me!

It is strange, though, that this suddenly causes issues, it worked fine before. Would be nice if you could solve this.
#10
I believe this issue is related to OneDrive sort of taking possession of the file as soon as it is generated and it makes it disappear for a few milliseconds. I've had similar issues with other software as well because of this behavior. I believe this issue could be easily resolved by Microsoft.

A workaround to this issue using RoboDK and displaying the program file is to force a delay right after the file has been written and before opening the file.
  




Users browsing this thread:
1 Guest(s)