Skip to content

ROS service exit with timeout #184

@michaelblindnology

Description

@michaelblindnology

Hi,
I'm using ROS1 melodic, branch gopher-devel.
I'm using rostful for ROS service.
My service takes 2-3 seconds.
The ROS service returns successfully, but rostful returns with 500.

An exception occurred! => 500 
{'traceback': {'tb_frame': {'f_code': {'co_name': 'post', 'co_filename': 'rostful/api_0_1/flask_views.py'}, 'f_globals': {'__name__': 'rostful.api_0_1.flask_views', '__file__': 'rostful/api_0_1/flask_views.pyc'}}, 'tb_next': None, 'tb_lineno': 355}, 'exc_type': "<type 'exceptions.NameError'>", 'exc_value': "global name 'PyrosServiceTimeout' is not defined"}
ERROR:rostful:An exception occurred! => 500 
{'traceback': {'tb_frame': {'f_code': {'co_name': 'post', 'co_filename': 'rostful/api_0_1/flask_views.py'}, 'f_globals': {'__name__': 'rostful.api_0_1.flask_views', '__file__': 'rostful/api_0_1/flask_views.pyc'}}, 'tb_next': None, 'tb_lineno': 355}, 'exc_type': "<type 'exceptions.NameError'>", 'exc_value': "global name 'PyrosServiceTimeout' is not defined"}

If I not call my service, but return true, everything is working.
Could please assist,

Thanks Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions