jeritgeorge / ros_robodk_post_processors

Other
3 stars 1 forks source link

rosrun ros_robodk_post_processors Fanuc_R30iA.py line 46: syntax error near unexpected symbol '(' #2

Open dbdxnuliba opened 2 years ago

dbdxnuliba commented 2 years ago

dell1804@dell1804-G3-3590:~/refer/ws_ros_robodk_post_processors$ rosrun ros_robodk_post_processors Fanuc_R30iA.py import-im6.q16: not authorized ftplib' @ error/constitute.c/WriteImage/1037. /home/dell1804/refer/ws_ros_robodk_post_processors/src/ros_robodk_post_processors-cambr_robodk/src/ros_robodk_post_processors/robodk_post_processors/Fanuc_R30iA.py: line 46: syntax error near unexpected symbol '(' /home/dell1804/refer/ws_ros_robodk_post_processors/src/ros_robodk_post_processors-cambr_robodk/src/ros_robodk_post_processors/robodk_post_processors/Fanuc_R30iA.py: line 46:def get_safe_name(progname, max_chars = 10):'

dbdxnuliba commented 2 years ago

I has solved it by add #!/usr/bin/env python at the front of the file