corot / world_canvas

ROS framework for storing and accessing semantic information about the world, with an initial emphasis on needs and use cases for mobile robots.
10 stars 19 forks source link

Database export failure #33

Closed jihoonl closed 9 years ago

jihoonl commented 9 years ago
[ERROR] [WallTime: 1412940603.732542] Error processing request: expected string or buffer
['Traceback (most recent call last):\n', '  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 623, in _handle_request\n    response = convert_return_to_response(self.handler(request), self.response_class)\n', '  File "/home/jihoonl/research/ros/turtlebot/src/world_canvas/world_canvas_server/src/yaml_database.py", line 258, in exportToYAML\n    dump = self.removeExp(dump)\n', '  File "/home/jihoonl/research/ros/turtlebot/src/world_canvas/world_canvas_server/src/yaml_database.py", line 285, in removeExp\n    for match in comp_re.finditer(target):\n', 'TypeError: expected string or buffer\n']
jihoonl commented 9 years ago

This line causing the error. https://github.com/corot/world_canvas/blob/master/world_canvas_server/src/yaml_database.py#L257-L259

corot commented 9 years ago

mmm.... I need your database to reproduce the problem! Can you isolate the database entry that is causing the problem and send to me so I can replicate your database?

jihoonl commented 9 years ago

https://github.com/robotics-in-concert/rocon_demos/blob/office_concert/office_concert/annotations/tables.yaml

jihoonl commented 9 years ago

https://github.com/robotics-in-concert/rocon_demos/blob/office_concert/office_concert/annotations/ar_markers.yaml

jihoonl commented 9 years ago

https://github.com/robotics-in-concert/rocon_demos/blob/office_concert/office_concert/maps/map.yaml

jihoonl commented 9 years ago

These are the files which i used when i got this failure