Undocumented dependency on python-testtools

Bug #898700 reported by Michael Opdenacker
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Fix Released
Medium
Unassigned

Bug Description

I'm using Ubuntu Oneiric 11.10

I ran into the below issue when I tried to use the 11.11 Linaro Android release for Panda...

sudo ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --boot boot.tar.bz2 --userdata userdata.tar.bz2
[sudo] password for mike:
Traceback (most recent call last):
  File "./linaro-image-tools/linaro-android-media-create", line 43, in <module>
    from linaro_image_tools.utils import ensure_command, is_arm_host
  File "/home/mike/work/linaro/2011.11-android-panda/linaro-image-tools/linaro_image_tools/utils.py", line 28, in <module>
    from testtools import try_import
ImportError: No module named testtools

This error was solved by running:
sudo apt-get install python-testtools

However, novice users may be clueless when they face such an error.

It would be useful if l-a-m-c could complain in a more polite way that this package is missing.

Another solution would be to document it properly in the release instructions (such as http://releases.linaro.org/11.11/android/leb-panda/).

Related branches

Revision history for this message
Fathi Boudra (fboudra) wrote :

It's a known issue. Next release doesn't depends on python-testtools package anymore.

Changed in linaro-image-tools:
milestone: none → 2011.12
status: New → Fix Committed
importance: Undecided → Medium
Fathi Boudra (fboudra)
Changed in linaro-image-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.