strands-project / mongodb_store

MongoDB tools for storing and analysing runs of ROS systems.
BSD 3-Clause "New" or "Revised" License
49 stars 72 forks source link

Error on launch (MongoQuerywithProjectionMsg) #182

Open m312z opened 7 years ago

m312z commented 7 years ago

Hello all,

I'm getting the error below when trying to launch mongoDB in ROS indigo. Any ideas what is causing this?

Traceback (most recent call last): File "/opt/ros/indigo/lib/mongodb_store/message_store_node.py", line 21, in class MessageStore(object): File "/opt/ros/indigo/lib/mongodb_store/message_store_node.py", line 321, in MessageStore query_with_projection_messages_ros_srv.type=dc_srv.MongoQuerywithProjectionMsg AttributeError: 'module' object has no attribute 'MongoQuerywithProjectionMsg'

Michael

hawesie commented 7 years ago

Are you using source or an installed package?

m312z commented 7 years ago

I just installed via: apt-get install ros-indigo-mongodb-store I'm launching with: roslaunch mongodb_store mongodb_store.launch

hawesie commented 7 years ago

Any other versions of mongodb_store on your machine? This was added in the last release. I’m not sure why it would be missing.

m312z commented 7 years ago

I uninstalled ros-indigo-mongodb-store and cloned from github. That version worked without issue.

I'll check tomorrow if I still have a hydro version still installed somewhere. It's very possible.

hawesie commented 7 years ago

My worry is that it's pulling in the python srv module from somewhere old. I'm not sure why it would do that for the services but not the scripts though.

m312z commented 7 years ago

I have no hydro version anywhere. I'm using 14.04 with only ros-indigo installed.

The clone for github clone is working for me fine.