Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing warehouse_ros python import #48

Open
ruffsl opened this issue Nov 13, 2016 · 10 comments
Open

Missing warehouse_ros python import #48

ruffsl opened this issue Nov 13, 2016 · 10 comments

Comments

@ruffsl
Copy link

ruffsl commented Nov 13, 2016

I've installed world_canvas from apt from the ROS ubuntu repo,
and I'm not sure where is this python library: warehouse_ros is:

Just testing out the first launch example from the readme, I get this error:

$ roslaunch world_canvas_server world_canvas_server.launch debug:=true --screen
... logging to /home/ruffsl/.ros/log/35a221f2-a7a7-11e6-82a1-2c56dc38be90/roslaunch-cog-1-4257.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://cog-1:40164/

SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.5
 * /world_canvas_server/auto_save_map: False
 * /world_canvas_server/start_map_manager: True

NODES
  /
    world_canvas_server (world_canvas_server/world_canvas_server)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[world_canvas_server-1]: started with pid [4275]
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/world_canvas_server/world_canvas_server", line 6, in <module>
    import world_canvas_server
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/world_canvas_server/__init__.py", line 1, in <module>
    from .annotations_server import *
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/world_canvas_server/annotations_server.py", line 40, in <module>
    import warehouse_ros as wr
ImportError: No module named warehouse_ros
[world_canvas_server-1] process has died [pid 4275, exit code 1, cmd /opt/ros/kinetic/lib/world_canvas_server/world_canvas_server true __name:=world_canvas_server __log:=/home/ruffsl/.ros/log/35a221f2-a7a7-11e6-82a1-2c56dc38be90/world_canvas_server-1.log].
log file: /home/ruffsl/.ros/log/35a221f2-a7a7-11e6-82a1-2c56dc38be90/world_canvas_server-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
@wassimhariri93
Copy link

I am having exactly the same issue, was this solved with you?

@wassimhariri93
Copy link

actually you need to download the package warehouse_ros from here https://github.com/ros-planning/warehouse_ros so that it can compile, but i am having now another error, instead of ImportError i am getting the following: AttributeError: 'module' object has no attribute 'MessageCollection'

@ruffsl
Copy link
Author

ruffsl commented Nov 20, 2016

Hmm. @wassimhariri93 , I'll give your suggestion a try.

@jimjarry
Copy link

I am having exactly the same issue, was this solved with you?

@Au-ChiKin
Copy link

I have the same issue, could you please share how you solved it?

@zhaokexue
Copy link

I have the same issue, could you please share how you solved it?@ruffsl @wassimhariri93 @Au-ChiKin @NOT-old-wang

@5730289021-NN
Copy link

I've fixed this problem by importing warehouse_ros_mongo instead of warehouse_ros

@zhaokexue
Copy link

I've fixed this problem by importing warehouse_ros_mongo instead of warehouse_ros

Thank you,i solved the problem.ref:https://blog.csdn.net/zhao_ke_xue/article/details/107081543

@zhujinwen0924
Copy link

I've fixed this problem by importing warehouse_ros_mongo instead of warehouse_ros

Thank you,i solved the problem.ref:https://blog.csdn.net/zhao_ke_xue/article/details/107081543

hello, i did the method as you said,but there is another problem:
process[world_canvas_server-1]: started with pid [7566]
Traceback (most recent call last):
File "/home/leoh/Desktop/tmp/src/world_canvas/world_canvas_server/scripts/world_canvas_server", line 6, in
import world_canvas_server
File "/home/leoh/Desktop/tmp/devel/lib/python2.7/dist-packages/world_canvas_server/init.py", line 35, in
exec(__fh.read())
File "", line 1, in
File "/home/leoh/Desktop/tmp/src/world_canvas/world_canvas_server/src/world_canvas_server/annotations_server.py", line 40, in
import warehouse_ros_mongo as wr
ImportError: No module named warehouse_ros_mongo
[world_canvas_server-1] process has died [pid 7566, exit code 1, cmd /home/leoh/Desktop/tmp/src/world_canvas/world_canvas_server/scripts/world_canvas_server true __name:=world_canvas_server __log:=/home/leoh/.ros/log/9c0ec688-c4ef-11eb-89b9-b42e99c7c3d1/world_canvas_server-1.log].
log file: /home/leoh/.ros/log/9c0ec688-c4ef-11eb-89b9-b42e99c7c3d1/world_canvas_server-1*.log

warehouse_ros_mongo can not be found,i don't know why,cao you help me ?thanks.

@l376571926
Copy link

用这个代替

https://github.com/TheBrewCrew/warehouse_ros_mongo.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants