Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dbdxnuliba opened this issue Sep 21, 2022 · 1 comment

Comments

@dbdxnuliba
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant