Bad marshal data (string ref out of range) (Python error) [closed]
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/__init__.py", line 43, in <module>
from . import param_dump as roslaunch_param_dump
File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslaunch/param_dump.py", line 40, in <module>
import roslaunch.config
File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslaunch/config.py", line 51, in <module>
import roslaunch.xmlloader
ValueError: bad marshal data (string ref out of range)
How did you edit your launch file?
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)"/>
If you recover the launch file to the version before you edited, can it works?
No, recover doesn't work.