RoboDK Forum
Failed to generate program "weld" Python Post Process exit code: 0- Printable Version

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: General questions about RoboDK (//m.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+——线程:“焊接”Pyt未能生成程序hon Post Process exit code: 0 (/Thread-Failed-to-generate-program-weld-Python-Post-Process-exit-code-0)



Failed to generate program "weld" Python Post Process exit code: 0-gjones-04-19-2023

Trying to use trial version of RoboDK. When attempting to generate a program we get the an error with exit code 0. The full message is as follows:

"Failed to generate program "weld" using post processor "fanuc_r30i"
post processor path: C:/roboDK/posts/fanuc_R301.py
c:\robodk\python37\python.exe: can't open file 'c:/users/username/appdata/local/temp/postweld.py' : [errno 13] permission denied
Python Post Processor process exit code: 0


RE: Failed to generate program "weld" Python Post Process exit code: 0-Albert-04-20-2023

Are you able to open the file that the error claims is unable to open?
Code:
c:/users/username/appdata/local/temp/postweld.py
You can try to open it with Notepad or any text editor.

Does it work if you run RoboDK using Administrator privileges?


RE: Failed to generate program "weld" Python Post Process exit code: 0-gjones-04-25-2023

Hi,

sorry i didnt see the reply i have been away. there is no postweld.py file in that location it is not being generated.


RE: Failed to generate program "weld" Python Post Process exit code: 0-Albert-04-25-2023

Do you have the right access to create files in your temp folder?

Can you try starting RoboDK using administrator privileges?