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

rqt_moveit: exception occurs upon rospy.has_param #23

Closed
130s opened this issue Apr 25, 2013 · 1 comment
Closed

rqt_moveit: exception occurs upon rospy.has_param #23

130s opened this issue Apr 25, 2013 · 1 comment
Labels
Milestone

Comments

@130s
Copy link
Member

130s commented Apr 25, 2013

rospy.has_param fails to catch an exception that occurs from /usr/lib/python2.7/httplib.py. But since I've only seen so far this issue with very specific situation using rqt_moveit, i'm reporting it as rqt_moveit issue for now.

Stacktrace:

[INFO] [WallTime: 1366848119.366552] PluginContainerWidget; 
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/user/catkin_ws/src/rqt_robot_plugins/rqt_moveit/src/rqt_moveit/moveit_widget.py", line 228, in _check_params_alive
    has_param = rospy.has_param(param)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rospy/client.py", line 536, in has_param
    return param_name in _param_server #MasterProxy does all the magic for us
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rospy/msproxy.py", line 184, in __contains__
    code, msg, value = self.target.hasParam(rospy.names.get_caller_id(), rospy.names.resolve_name(key))
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1294, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1022, in getresponse
    raise ResponseNotReady()
ResponseNotReady

Reproduction steps:

  1. Run Moveit! on PR2 (here I don't describ how to do so)
  2. Run rqt_moveit on your machine
  3. Once it starts showing the monitored topics, toggle monitor some of the topics, then expand the tree for some of them. Repeat this until you see the error.

has_param throws ROSException, which is handled like this.

rqt_robot_plugins SHA 7604936

@ghost ghost assigned 130s Apr 25, 2013
@130s 130s removed their assignment Jun 2, 2014
@ablasdel ablasdel changed the title rqt_moveit) exception occurs upon rospy.has_param rqt_moveit: exception occurs upon rospy.has_param Nov 21, 2014
@dirk-thomas
Copy link
Contributor

This issue was moved to ros-visualization/rqt_moveit#2

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

No branches or pull requests

2 participants