rqt xmlrpclib error [closed]

asked 2017-03-15 09:39:28 -0600

kylerlaird gravatar image

I'm starting to learn to use rqt. When I tried to launch the Process Monitor plugin, I got a traceback with "ImportError: No module named socket". The issue was "from xmlrpclib.socket import error" in /opt/ros/kinetic/lib/python2.7/dist-packages/rqt_top/node_info.py.

I replaced it with "import xmlrpclib" and "error = xmlrpclib.socket.error". That seems to work.

edit retag flag offensive reopen merge delete

Closed for the following reason Question does not follow our guidelines for questions. Please see: http://wiki.ros.org/Support for more details. by tfoote
close date 2017-03-15 15:05:16.303576

Comments

Without more information on how to reproduce the problem we cannot effectively help you.

tfoote gravatar image tfoote  ( 2017-03-15 15:05:09 -0600 )edit

$ echo "from xmlrpclib.socket import error" | python Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named socket

kylerlaird gravatar image kylerlaird  ( 2017-03-15 15:28:28 -0600 )edit

That looks like a bug, please file it here: https://github.com/ros-visualization/... or even better a pull request to fix it would help get it released sooner.

tfoote gravatar image tfoote  ( 2017-03-15 15:56:45 -0600 )edit

Done. Thank you.

kylerlaird gravatar image kylerlaird  ( 2017-03-15 16:33:35 -0600 )edit