Media card readers tests fail for missing heuristics.udev

Bug #1064220 reported by Jeffrey Chang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Critical
Sylvain Pineau

Bug Description

Steps to reproduce:

1) Run sd/insert
2) Click Test

Run from terminal "removable_storage_watcher --memorycard insert sdio usb scsi"
Traceback (most recent call last):
  File "/usr/lib/checkbox/bin/removable_storage_watcher", line 15, in <module>
    from checkbox.heuristics.udev import is_virtual_device
ImportError: No module named heuristics.udev

modern911@modern911-Inspiron-7520:~$ python3
Python 3.2.3 (default, May 3 2012, 15:51:42)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from checkbox.heuristics.udev import is_virtual_device
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named heuristics.udev

Checkbox 0.14.6+bzr1743+201210080931~precise1

Related branches

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

the python module is missing in setup.py

Changed in checkbox:
importance: Undecided → Critical
assignee: nobody → Sylvain Pineau (sylvain-pineau)
status: New → In Progress
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

we should add a test for that !

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Or even better change the setup.py design to avoid to maintain this list of packages

Zygmunt Krynicki (zyga)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
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.