Skip to content

Instantly share code, notes, and snippets.

@pestefo
Created August 22, 2014 18:24
Show Gist options
  • Save pestefo/1084620e53f55e939f7b to your computer and use it in GitHub Desktop.
Save pestefo/1084620e53f55e939f7b to your computer and use it in GitHub Desktop.
Roslaunch error
roslaunch -v /tmp/generated-launch2.launch... logging to /home/turtlebot/.ros/log/b070455c-2a28-11e4-9567-2880230463ef/roslaunch-achao-29079.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
... loading XML file [/opt/ros/indigo/etc/ros/roscore.xml]
... executing command param [rosversion roslaunch]
Added parameter [/rosversion]
... executing command param [rosversion -d]
Added parameter [/rosdistro]
Added core node of type [rosout/rosout] in namespace [/]
... loading XML file [/tmp/generated-launch2.launch]
Added node of type [example/headless] in namespace [/]
started roslaunch server http://achao:43455/
SUMMARY
========
PARAMETERS
* /rosdistro: indigo
* /rosversion: 1.11.8
NODES
/
example (example/headless)
auto-starting new master
process[master]: started with pid [29091]
ROS_MASTER_URI=http://192.168.1.201:11311
setting /run_id to b070455c-2a28-11e4-9567-2880230463ef
process[rosout-1]: started with pid [29104]
started core service [/rosout]
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 297, in main
p.start()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 271, in start
self.runner.launch()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/launch.py", line 647, in launch
succeeded, failed = self._launch_nodes()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/launch.py", line 359, in _launch_nodes
proc, success = self.launch_node(node)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/launch.py", line 547, in launch_node
success = process.start()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/nodeprocess.py", line 293, in start
_logger.error("OSError(%d, %s)", e.errno, e.msg)
AttributeError: 'exceptions.OSError' object has no attribute 'msg'
[example-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
@wzin
Copy link

wzin commented Dec 1, 2014

have you managed to solve this issue ?:)

@dkargin
Copy link

dkargin commented Jan 14, 2015

I've bumped to this error recently. I've found that target executable file was corrupted (zero size). rosrun also fails to run such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment