Robotics StackExchange | Archived questions

rqt xmlrpclib error

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/rqttop/nodeinfo.py.

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

Asked by kylerlaird on 2017-03-15 09:39:28 UTC

Comments

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

Asked by tfoote on 2017-03-15 15:05:09 UTC

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

Asked by kylerlaird on 2017-03-15 15:28:28 UTC

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

Asked by tfoote on 2017-03-15 15:56:45 UTC

Done. Thank you.

Asked by kylerlaird on 2017-03-15 16:33:35 UTC

Answers