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

install script works but service dies after start #68

Open
mzahana opened this issue Jun 8, 2018 · 0 comments
Open

install script works but service dies after start #68

mzahana opened this issue Jun 8, 2018 · 0 comments

Comments

@mzahana
Copy link

mzahana commented Jun 8, 2018

Hi,

I am trying to use robot_upstart to run mavros/launch/px4/launch after boot.

  • I did rosrun robot_upstart install --logdir /home/drone/upstart_log/ mavros/launch/px4.launch and the shows successful installation
  • I reboot but I don't see the service running. the content of the master.log file is below.

What could be the problem?

  • I am using ROS Kinetic

Thanks.

[rosmaster.threadpool][ERROR] 2018-06-08 11:21:14,847: Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/threadpool.py", line 218, in run
    result = cmd(*args)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/master_api.py", line 210, in publisher_update_task
    ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
    raise Fault(**self._stack[0])
Fault: <Fault -1: 'publisherUpdate: unknown method name'>

[rosmaster.master][INFO] 2018-06-08 11:21:14,848: publisherUpdate[/tf_static] -> http://odroid:57497/ []
[rosmaster.master][INFO] 2018-06-08 11:21:14,851: publisherUpdate[/tf_static] -> http://odroid:57497/ []: sec=0.00, exception=<Fault -1: 'publisherUpdate: unknown method $
[rosmaster.threadpool][ERROR] 2018-06-08 11:21:14,852: Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/threadpool.py", line 218, in run
    result = cmd(*args)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosmaster/master_api.py", line 210, in publisher_update_task
    ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
    return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
    raise Fault(**self._stack[0])
Fault: <Fault -1: 'publisherUpdate: unknown method name'>

[rosmaster.master][INFO] 2018-06-08 11:21:15,237: -PUB [/rosout_agg] /rosout http://odroid:38839/
[rosmaster.master][INFO] 2018-06-08 11:21:15,242: -SUB [/rosout] /rosout http://odroid:38839/
[rosmaster.master][INFO] 2018-06-08 11:21:15,246: -SERVICE [/rosout/get_loggers] /rosout rosrpc://odroid:36693
[rosmaster.master][INFO] 2018-06-08 11:21:15,250: -SERVICE [/rosout/set_logger_level] /rosout rosrpc://odroid:36693
[rosmaster.main][INFO] 2018-06-08 11:21:15,364: keyboard interrupt, will exit
[rosmaster.main][INFO] 2018-06-08 11:21:15,365: stopping master...
[rospy.core][INFO] 2018-06-08 11:21:15,365: signal_shutdown [atexit]
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