Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 24

rosbridge_suite: InvalidPackageException: Unable to load the manifest for package rosgraph_msgs.

$
0
0
Hi, I'm using the rosbridge internal library to get load the message class for a given message type: from rosbridge_library import ros_loader ... self.msg_class = ros_loader.get_message_class(self.msg_type) where self.msg_type is, for example, "rosgraph_msgs/Log". This is generating the following error: File "/opt/ros/indigo/lib/python2.7/dist-packages/rosbridge_library/internal/ros_loader.py", line 88, in get_message_class return _get_msg_class(typestring) File "/opt/ros/indigo/lib/python2.7/dist-packages/rosbridge_library/internal/ros_loader.py", line 128, in _get_msg_class return _get_class(typestring, "msg", _loaded_msgs, _msgs_lock) File "/opt/ros/indigo/lib/python2.7/dist-packages/rosbridge_library/internal/ros_loader.py", line 163, in _get_class cls = _load_class(modname, subname, classname) File "/opt/ros/indigo/lib/python2.7/dist-packages/rosbridge_library/internal/ros_loader.py", line 187, in _load_class raise InvalidPackageException(modname, exc) InvalidPackageException: Unable to load the manifest for package rosgraph_msgs. Caused by: 'NoneType' object has no attribute 'strip' >> failed with InvalidPackageException This error is occurring on all message types, not just `rosgraph_msgs/Log`. Any suggestions would be appreciated. Thanks! Simon

Viewing all articles
Browse latest Browse all 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>