Hi, thanks for the tip !

I havent used or setup python3 yet and I was missing the em module indeed.
Yes I did install the ros-buildfarm package previously with :  sudo apt-get install python-ros-buildfarm
My prerelease tests are now running locally. I just need to find a way to script the release process with bloom and the prerelease tests...

Cheers !
--
AlexV

--
AlexV

2015-07-01 16:54 GMT+09:00 William Woodall <william@osrfoundation.org>:
Hi AlexV,

That's odd, I thought I had worked out the issues with the setup procedure. It looks as if you are missing empy from Python3, but I'll have to go back to my VM and see why I don't get this issue. Did you install the ros_buildfarm from apt-get?

A work around should be to install empy for Python3 until I have a chance to retrace my steps and find the first time setup problem:

$ sudo apt-get install python3-pip
$ sudo -H python3 -m pip install -U EmPy

That should do the trick.

On Wed, Jul 1, 2015 at 12:13 AM, Asmodehn Shade via ros-release <ros-release@lists.ros.org> wrote:
Hello,

Recently I tried the new prerelease test system, following http://wiki.ros.org/bloom/Tutorials/PrereleaseTest

Note : I am using indigo, and I followed http://wiki.ros.org/regression_tests#How_do_I_setup_my_system_to_run_a_prerelease.3F
But when running the prerelease.sh script, I get this error in build STEP 4 ( missing dependency ? python 2 / 3 conflict ? ) :

# BEGIN SECTION: Generate Dockerfile - devel tasks
+ export TZ=KST-00
+ export PYTHONPATH=/tmp/prerelease_job/ros_buildfarm:/opt/ros/indigo/lib/python2.7/dist-packages
+ python3 -u /tmp/prerelease_job/ros_buildfarm/scripts/devel/run_devel_job.py --rosdistro-index-url https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml indigo default prerelease ubuntu trusty amd64 --distribution-repository-urls http://54.183.65.232/ubuntu/testing --distribution-repository-key-files /tmp/prerelease_job/keys/0.key --dockerfile-dir /tmp/prerelease_job/docker_generating_dockers
Traceback (most recent call last):
  File "/tmp/prerelease_job/ros_buildfarm/scripts/devel/run_devel_job.py", line 20, in <module>
    from ros_buildfarm.templates import create_dockerfile
  File "/tmp/prerelease_job/ros_buildfarm/ros_buildfarm/templates/__init__.py", line 3, in <module>
    from em import Interpreter
ImportError: No module named 'em'

any idea where it comes from / where I can fix it ?
also :
$ sudo pip install em
Requirement already satisfied (use --upgrade to upgrade): em in /usr/local/lib/python2.7/dist-packages
Cleaning up...


I ll be happy to help testing this new prerelease test system, since I am trying to release a new package it makes complete sense :-) So please let me know if there are things I should try out.

Cheers,
--
AlexV

_______________________________________________
ros-release mailing list
ros-release@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-release




--
William Woodall
ROS Development Team