Bug 975896 - rosdep init fails
Summary: rosdep init fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-rospkg
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 926034
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-19 14:32 UTC by Mark Patton
Modified: 2013-09-09 23:59 UTC (History)
2 users (show)

Fixed In Version: python-rosdep-0.10.21-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-09 23:56:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mark Patton 2013-06-19 14:32:51 UTC
Description of problem:

When as root I try to run "rosdep init", it fails with an internal error.

Version-Release number of selected component (if applicable):

python-rospkg-1.0.20-1.20130318git0a4448e.fc19.noarch

How reproducible:

Every time

Steps to Reproduce:
1. sudo rosdep init

Actual results:

failed to load symbols, rosdep will not function properly
Cannot import rospkg, rosdep will not function properly
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
  File "/usr/lib/python2.7/site-packages/rosdep2/main.py", line 50, in <module>
    from .lookup import RosdepLookup, ResolutionError
  File "/usr/lib/python2.7/site-packages/rosdep2/lookup.py", line 41, in <module>
    from .rospkg_loader import RosPkgLoader
  File "/usr/lib/python2.7/site-packages/rosdep2/rospkg_loader.py", line 37, in <module>
    import catkin_pkg.package
ImportError: No module named catkin_pkg.package

Expected results:

Command success.

Additional info:

python-rospkg is instealled.

Comment 1 Rich Mattes 2013-06-19 17:26:49 UTC
Did you source /usr/share/ros/setup.sh before running rosdep?

Comment 2 Mark Patton 2013-06-19 18:02:19 UTC
No I did not, but trying again after sourcing as above results in exactly the same error.

Comment 3 Rich Mattes 2013-06-20 00:37:14 UTC
Ok, it looks like i accidentally pushed a version of rosdep that depends on catkin_pkg, which is still under review.  I'm going to add that review request as a blocker and try to get it into Fedora as soon as possible.  In the meantime you can try building the catkin_pkg rpm yourself.

Comment 4 Fedora Update System 2013-08-24 03:24:04 UTC
python-rosdep-0.10.21-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-rosdep-0.10.21-1.fc19

Comment 5 Fedora Update System 2013-08-24 03:24:44 UTC
python-rosdep-0.10.21-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-rosdep-0.10.21-1.fc18

Comment 6 Fedora Update System 2013-08-24 22:24:14 UTC
Package python-rosdep-0.10.21-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-rosdep-0.10.21-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15251/python-rosdep-0.10.21-1.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-09-09 23:56:08 UTC
python-rosdep-0.10.21-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-09-09 23:59:32 UTC
python-rosdep-0.10.21-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.