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

Failed to generate program ERROR - again.

#1
Hi guys,

Any help on this please? 

Appears to only be an issue with the S4Y post - other posts output nicely.

Thanks in advance.....

James 

Failed to generate program "Prog1" using the Post Processor "ABB_RAPID_S4C"
Post processor path:/Applications/RoboDK.app/Contents/Posts/ABB_RAPID_S4C.py
Traceback (most recent call last):
File "/var/folders/s7/p0_83cm96gj8k097s7b1_qf00000gn/T/PostProg1.py", line 42, in
make_program()
File "/var/folders/s7/p0_83cm96gj8k097s7b1_qf00000gn/T/PostProg1.py", line 37, in make_program
r.MoveL(None,[-82.269116,8.795410,35.791438,-77.579115,96.162220,-236.256534],None)
File "/Applications/RoboDK.app/Contents/Posts/ABB_RAPID_S4C.py", line 214, in MoveL
self.addline('MoveL [%s,[%i,%i,%i,%i],%s],%s,%s,%s,\WObj:=rdkWObj;' % (pose_2_str(self.FRAME_REF*pose), cf1, cf4, cf6,cfx, extaxes_2_str(joints), self.SPEEDDATA, self.ZONEDATA, self.TOOL_NAME))
File "/Applications/RoboDK.app/Contents/Python/robodk.py", line 1227, in __mul__
matm, matn = mat.size()
AttributeError: 'NoneType' object has no attribute 'size'

Process output:
Total instructions: 2
Total instructions: 2

Python Post Processor process exit code: 1
#2
Hi James,

Can you make sure that you are using the latest version of RoboDK?
"Main menu"->"Help"->"Check for updates"

If so, can you send me the .RDK file that gives you this error? Because I was not able to reproduce the error.

Jeremy
#3
Hi, I am also getting this error.

I am using the latest version.

I have attached the RDK.

The robot will trace the SVG OK but won't generate robot code.

Regards,

I fixed it :)

This line 
Code:
robot.MoveJ(home_joints)

was MoveL, which generated:
Code:
r.MoveL(None,[0,0,0,0,90,0],None)

in the last line of the file in appData
Regards,


Attached Files
.rdk   Drawing with a robotwrk_wm.rdk (Size: 830.67 KB / Downloads: 361)
  




Users browsing this thread:
1 Guest(s)