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

Server crashes when trying to [GET] occupency grip from /map topic #182

Open
AvinashSinghNido opened this issue Feb 23, 2021 · 0 comments
Open

Comments

@AvinashSinghNido
Copy link

Hello,
My system :

  • ros melodic

I am trying to setup rostful with a lot of topics and services but the server seems to die when trying to get /map of type OccupancyGrid.

The error when server crashes -
[INFO] [1614066456.186250, 530.663000]: /rostful Pyros.ros : Adding subscriber interface /map <class 'nav_msgs.msg._OccupancyGrid.OccupancyGrid'> Exception on /ros/map [GET] Traceback (most recent call last): File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask_restful/__init__.py", line 468, in wrapper resp = resource(*args, **kwargs) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask/views.py", line 89, in view return self.dispatch_request(*args, **kwargs) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask_restful/__init__.py", line 583, in dispatch_request resp = meth(*args, **kwargs) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/rostful/api_0_1/flask_views.py", line 174, in get msg = self.node_client.topic_extract(path) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/pyros/client/client.py", line 140, in topic_extract six.reraise(PyrosServiceTimeout("Pyros Service call timed out."), None, sys.exc_info()[2]) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/pyros/client/client.py", line 138, in topic_extract res = self.topic_svc.call(args=(topic_name, None,)) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/pyzmp/service.py", line 148, in call raise ServiceCallTimeout("Did not receive response through ZMQ socket.") PyrosServiceTimeout: An Exception PyrosServiceTimeout('Pyros Service call timed out.',) was thrown in Pyros process 28409 ERROR:rostful:Exception on /ros/map [GET] Traceback (most recent call last): File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask_restful/__init__.py", line 468, in wrapper resp = resource(*args, **kwargs) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask/views.py", line 89, in view return self.dispatch_request(*args, **kwargs) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/flask_restful/__init__.py", line 583, in dispatch_request resp = meth(*args, **kwargs) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/rostful/api_0_1/flask_views.py", line 174, in get msg = self.node_client.topic_extract(path) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/pyros/client/client.py", line 140, in topic_extract six.reraise(PyrosServiceTimeout("Pyros Service call timed out."), None, sys.exc_info()[2]) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/pyros/client/client.py", line 138, in topic_extract res = self.topic_svc.call(args=(topic_name, None,)) File "/home/avinash/.virtualenvs/rest_api/local/lib/python2.7/site-packages/pyzmp/service.py", line 148, in call raise ServiceCallTimeout("Did not receive response through ZMQ socket.") PyrosServiceTimeout: An Exception PyrosServiceTimeout('Pyros Service call timed out.',) was thrown in Pyros process 28409 ERROR:tornado.access:500 GET /ros/map (::1) 5092.51ms
Please someone help me with this error. Thanks.

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

1 participant