ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Python node in SVN

asked 2012-04-04 08:57:29 -0600

Dejan Stankovic gravatar image

updated 2014-01-28 17:11:52 -0600

ngrennan gravatar image

Hye, i have some problem regarding about writing a node. I have a source program written in python and it seems executable in svn. I already try with eclipse with Pydev plug in but it seems not work. I dont know if my step with CMakelist.txt is wrong or Python code just cant execute with eclipse. To make it clear, i try ( ) this project and i got this error during run my nodes.

/ros_workspace/playground/bin$ rosrun playground [rosrun] Couldn't find executable named below /home/farid/ros_workspace/playground [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /home/farid/ros_workspace/playground/nodes/

It seems not executable. Thanks for the help.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-04-04 10:52:22 -0600

Wim gravatar image

The svn:executable property is automatically managed only during adds and imports, but does not change when you use chmod on a file after that. So you need to tell svn explicitly to change the executable property of a tracked file. The command looks something like "svn propset svn:executable '*' filename"

edit flag offensive delete link more


Huh. Add that the list of things I didn't know. (And to the list of "Why use SVN anymore?")

Mac gravatar image Mac  ( 2012-04-04 11:29:43 -0600 )edit

answered 2012-04-04 09:50:13 -0600

Mac gravatar image

That means it isn't executable; you'll need to set the executable bit:

chmod +x

edit flag offensive delete link more

Question Tools


Asked: 2012-04-04 08:57:29 -0600

Seen: 217 times

Last updated: Apr 04 '12