Bad marshal data (string ref out of range) (Python error)
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)
Asked by FuerteNewbie on 2013-10-01 17:00:08 UTC
Answers
Problem solved. Reinstall python according to your current version will do.
http://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu
Asked by FuerteNewbie on 2013-10-01 20:35:51 UTC
Comments
How did you edit your launch file?
Asked by Po-Jen Lai on 2013-10-01 17:30:40 UTC
Just trying to add a launch code to call my 'map.yaml' file when the launch file run.. I refer this code from others. <!-- Set the name of the map yaml file: can be overridden on the command line. -->
Asked by FuerteNewbie on 2013-10-01 17:33:52 UTC
If you recover the launch file to the version before you edited, can it works?
Asked by Po-Jen Lai on 2013-10-01 19:33:09 UTC
No, recover doesn't work.
Asked by FuerteNewbie on 2013-10-03 21:32:56 UTC