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

joystick_relay.py likely not runnable on Noetic #22

Open
sloretz opened this issue Jun 2, 2020 · 0 comments
Open

joystick_relay.py likely not runnable on Noetic #22

sloretz opened this issue Jun 2, 2020 · 0 comments

Comments

@sloretz
Copy link

sloretz commented Jun 2, 2020

@bmagyar FYI I noticed this while checking ros/rosdistro#25265

It looks like joystick_relay.py will get installed with the wrong shebang on Noetic, and so it won't be runnable. See this ROS wiki page for more info: http://wiki.ros.org/UsingPython3/SourceCodeChanges#Changing_shebangs

To fix, the shebang should be changed to #!/usr/bin/env python

#! /usr/bin/python

and the script should be installed with catkin_install_python()

twist_mux/CMakeLists.txt

Lines 40 to 41 in a2818fd

install(PROGRAMS scripts/joystick_relay.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

wxmerkt added a commit to wxmerkt/twist_mux that referenced this issue Oct 13, 2022
bmagyar pushed a commit that referenced this issue Oct 23, 2022
* Update CMakeLists

* joystick_relay.py: Fix shebang for correct catkin_install_python

Resolves #22
lucasw pushed a commit to lucasw/twist_mux that referenced this issue Feb 13, 2023
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