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

create post install hook for the debian to init the database #31

Open
tfoote opened this issue Nov 13, 2012 · 9 comments
Open

create post install hook for the debian to init the database #31

tfoote opened this issue Nov 13, 2012 · 9 comments

Comments

@tfoote
Copy link
Member

tfoote commented Nov 13, 2012

This will help people avoid tracebacks

@ahendrix
Copy link

I just ran into this as well.
+1

@ahendrix
Copy link

ahendrix commented Dec 2, 2012

This lack of an install hook is causing ROS startup problems on the PR2:

[narrow_stereo_left-17] process has died [pid 14176, exit code -6, cmd /opt/ros/groovy/stacks/wge100_driver/wge100_camera/bin/wge100_camera_node /diagnostics:=/diagnostics /diagnostics_agg:=/diagnostics_agg camera:=narrow_stereo/left camera_alternate:=narrow_stereo_textured/left __name:=narrow_stereo_left _log:=/u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/narrow_stereo_left-17.log].
log file: /u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/narrow_stereo_left-17
.log
respawning...
[wide_stereo_left-13] restarting process
process[wide_stereo_left-13]: started with pid [14830]
[narrow_stereo_right-16] restarting process
process[narrow_stereo_right-16]: started with pid [14834]
[narrow_stereo_left-17] restarting process
process[narrow_stereo_left-17]: started with pid [14840]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[librospack]: error while executing command
terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
what(): rospack could not find the image_transport package containing image_transport::PublisherPlugin
[prosilica_driver-10] process has died [pid 14546, exit code -6, cmd /opt/ros/groovy/stacks/prosilica_driver/prosilica_camera/bin/prosilica_node /diagnostics:=/diagnostics /diagnostics_agg:=/diagnostics_agg camera:=prosilica __name:=prosilica_driver _log:=/u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/prosilica_driver-10.log].
log file: /u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/prosilica_driver-10
.log
respawning...
[prosilica_driver-10] restarting process
process[prosilica_driver-10]: started with pid [15194]
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[librospack]: error while executing command
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[librospack]: error while executing command
terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
what(): rospack could not find the image_transport package containing image_transport::PublisherPlugin
terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
what(): rospack could not find the image_transport package containing image_transport::PublisherPlugin

@tfoote
Copy link
Member Author

tfoote commented Dec 2, 2012

You're going to need to work around this on the pr2 in the short term. The
post install can do the init, but not the update as the update is specific
to the user.

On Sun, Dec 2, 2012 at 12:56 AM, Austin Hendrix [email protected]:

This lack of an install hook is causing ROS startup problems on the PR2:

[narrow_stereo_left-17] process has died [pid 14176, exit code -6, cmd
/opt/ros/groovy/stacks/wge100_driver/wge100_camera/bin/wge100_camera_node
/diagnostics:=/diagnostics /diagnostics_agg:=/diagnostics_agg
camera:=narrow_stereo/left camera_alternate:=narrow_stereo_textured/left _name:=narrow_stereo_left
_log:=/u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/narrow_stereo_left-17.log].
log file:
/u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/narrow_stereo_left-17
.log
respawning...
[wide_stereo_left-13] restarting process
process[wide_stereo_left-13]: started with pid [14830]
[narrow_stereo_right-16] restarting process
process[narrow_stereo_right-16]: started with pid [14834]
[narrow_stereo_left-17] restarting process
process[narrow_stereo_left-17]: started with pid [14840]
Exception AttributeError: AttributeError("'_DummyThread' object has no
attribute '_Thread_block'",) in ignored
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and
'rosdep update'
[librospack]: error while executing command
terminate called after throwing an instance of
'pluginlib::LibraryLoadException'
what(): rospack could not find the image_transport package containing
image_transport::PublisherPlugin
[prosilica_driver-10] process has died [pid 14546, exit code -6, cmd
/opt/ros/groovy/stacks/prosilica_driver/prosilica_camera/bin/prosilica_node
/diagnostics:=/diagnostics /diagnostics_agg:=/diagnostics_agg
camera:=prosilica __name:=prosilica_driver
_log:=/u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/prosilica_driver-10.log].
log file:
/u/ahendrix/.ros/log/4df6bb56-3c5c-11e2-929a-001517c017d5/prosilica_driver-10
.log
respawning...
[prosilica_driver-10] restarting process
process[prosilica_driver-10]: started with pid [15194]
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and
'rosdep update'
[librospack]: error while executing command
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and
'rosdep update'
[librospack]: error while executing command
terminate called after throwing an instance of
'pluginlib::LibraryLoadException'
what(): rospack could not find the image_transport package containing
image_transport::PublisherPlugin
terminate called after throwing an instance of
'pluginlib::LibraryLoadException'
what(): rospack could not find the image_transport package containing
image_transport::PublisherPlugin


Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-10927499.

Tully Foote
[email protected]
(650) 475-2827

@jon-weisz
Copy link

+1 -- also shouldn't rosdep allow alternate locations for sources.list? It appears to ignore ROS_ETC_DIR, which is a little misleading.

@wjwwood
Copy link
Contributor

wjwwood commented May 17, 2013

astraw/stdeb#50

@mikepurvis
Copy link

Just want to +1 this as well.

@wjwwood
Copy link
Contributor

wjwwood commented Sep 25, 2013

Short of me taking partial maintenance of stdeb, I don't see this happening anytime soon.

@NikolausDemmel
Copy link
Contributor

Just for future reference, once #46 is realized, the post-install hook can also update, not only init. @tfoote details how this should probably work here: #50 (comment) . And more discussion about this an related issues: https://groups.google.com/forum/#!topic/ros-sig-buildsystem/BsUsgGPbubQ.

@trainman419
Copy link

I'm proposing to fix this in #312 . Please review and comment there.

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

No branches or pull requests

7 participants