← Back to team overview

linaro-release team mailing list archive

[Bug 894644] Re: "ImportError: No module named testtools " when trying linaro-android-media-create

 

Ah now I see that it wasn't even installed. Not the same error that was
caused by broken python-testtools then.

** Changed in: linaro-image-tools
       Status: New => Invalid

-- 
You received this bug notification because you are a member of linaro-
infrastructure-drivers, which is the registrant for Linaro Image Tools.
https://bugs.launchpad.net/bugs/894644

Title:
  "ImportError: No module named testtools " when trying linaro-android-
  media-create

Status in Linaro Image Tools:
  Invalid

Bug description:
  Description:
  Trying linaro-image tools to create android image on sd card. 
  When running command "linaro-android-media-create --mmc /dev/sdb --dev snowball_sd --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2" I'm getting error:
  ImportError: No module named testtools

  Steps to reproduce:
  For:  "https://android-build.linaro.org/builds/~linaro-android/staging-snowball-11.12-release/#build=1";

  1. Download linaro image tools  - 
  #:~/Downloads/11.11/staging-snowball/staging-snowball-11.12-release-build1$ bzr branch lp:linaro-image-tools
  Branched 469 revision(s).       

  2. Run l-a-m-c 
  #~/Downloads/11.11/staging-snowball/staging-snowball-11.12-release-build1$ ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdb --dev snowball_sd --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2
  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/user1/Downloads/11.11/staging-snowball/staging-snowball-11.12-release-build1/linaro-image-tools/linaro_image_tools/utils.py", line 28, in <module>
      from testtools import try_import
  ImportError: No module named testtools

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/894644/+subscriptions


References