Ask Your Question

Bad marshal data (string ref out of range) (Python error) [closed]

asked 2013-10-01 17:00:08 -0600

FuerteNewbie gravatar image

updated 2014-01-28 17:18:06 -0600

ngrennan gravatar image

Hi, Anyone know how to solve this? Somehow it happened when I was trying to roslaunch after i edit my launch file, I can't even roscore now. This is the output when I roscore.

Traceback (most recent call last):
  File "/opt/ros/fuerte/bin/roscore", line 62, in <module>
    import roslaunch
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslaunch/", line 43, in <module>
    from . import param_dump as roslaunch_param_dump
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslaunch/", line 40, in <module>
    import roslaunch.config
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslaunch/", line 51, in <module>
    import roslaunch.xmlloader
ValueError: bad marshal data (string ref out of range)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by FuerteNewbie
close date 2013-10-01 20:36:34


How did you edit your launch file?

Po-Jen Lai gravatar imagePo-Jen Lai ( 2013-10-01 17:30:40 -0600 )edit

Just trying to add a launch code to call my 'map.yaml' file when the launch file run.. I refer this code from others. <arg name="map" default="blank_map.yaml"/> <node name="map_server" pkg="map_server" type="map_server" args="$(%my-own-directory5)/maps/$(arg map)"/>

FuerteNewbie gravatar imageFuerteNewbie ( 2013-10-01 17:33:52 -0600 )edit

If you recover the launch file to the version before you edited, can it works?

Po-Jen Lai gravatar imagePo-Jen Lai ( 2013-10-01 19:33:09 -0600 )edit

No, recover doesn't work.

FuerteNewbie gravatar imageFuerteNewbie ( 2013-10-03 21:32:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-01 20:35:51 -0600

FuerteNewbie gravatar image

Problem solved. Reinstall python according to your current version will do.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-10-01 17:00:08 -0600

Seen: 2,129 times

Last updated: Oct 01 '13