ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ImportError: No module named yaml with run_chroot_local (jenkins-script) fails

asked 2013-10-14 13:15:04 -0500

130s gravatar image

Trying out run_chroot_local, I get the following error (full log):

$ run_chroot_local precise amd64 /home/rospasta/catkinws prerelease groovy openhrp3
  - ubuntu distro:  precise
  - architecture:   amd64
  - script:         prerelease
  - workspace:      /home/rospasta/catkinws
  - script args:    groovy openhrp3
:
vvvvvvvvvvvvvvvvvvv  pbuilder-env.sh vvvvvvvvvvvvvvvvvvvvvv
+ export CCACHE_DIR=/var/cache/pbuilder/ccache
+ CCACHE_DIR=/var/cache/pbuilder/ccache
+ export PATH=/usr/lib/ccache:/home/rospasta/catkinws/devel/bin:/opt/ros/groovy/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
+ PATH=/usr/lib/ccache:/home/rospasta/catkinws/devel/bin:/opt/ros/groovy/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
:
============================================================
+ /home/rospasta/catkinws/jenkins_scripts/prerelease groovy openhrp3
Traceback (most recent call last):
  File "/home/rospasta/catkinws/jenkins_scripts/prerelease", line 2, in <module>
    from test_repositories import *
  File "/home/rospasta/catkinws/jenkins_scripts/test_repositories.py", line 6, in <module>
    import yaml
ImportError: No module named yaml

I first suspected that python's path wasn't set right, but other modules seem to be previously imported without an issue. Looking at this thread I now feel like looking into pbuilder but does anyone already have any idea? Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-15 08:00:02 -0500

tfoote gravatar image

updated 2013-10-15 08:00:38 -0500

You have errors above. It looks like you are missing some dependencies on your local machine. Potentially apt-show-versions

 /usr/bin/chroot_create.sh: line 32: apt-show-versions: command not found
    + REPOSTAMP=
    + /bin/echo 'Repo stamp is '
    Repo stamp is
    + '[' 0 '!=' ']'
    /usr/bin/chroot_create.sh: line 36: [: 0: unary operator expected
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-10-14 13:15:04 -0500

Seen: 474 times

Last updated: Oct 15 '13