lava-android-test package missing dependency

Bug #902161 reported by Fathi Boudra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Android Test
Fix Released
Medium
Fathi Boudra

Bug Description

$ lava-android-test -h
Traceback (most recent call last):
  File "/usr/bin/lava-android-test", line 9, in <module>
    load_entry_point('lava-android-test==0.0.7', 'console_scripts', 'lava-android-test')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/pymodules/python2.7/lava_android_test/main.py", line 17, in <module>
    import pexpect
ImportError: No module named pexpect

The package should depend on python-pexpect package.

Related branches

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 902161] [NEW] lava-android-test package missing dependency

On Fri, 09 Dec 2011 13:45:44 -0000, Fathi Boudra <email address hidden> wrote:
> Public bug reported:
>
> $ lava-android-test -h
> Traceback (most recent call last):
> File "/usr/bin/lava-android-test", line 9, in <module>
> load_entry_point('lava-android-test==0.0.7', 'console_scripts', 'lava-android-test')()
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
> return ep.load()
> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
> entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> File "/usr/lib/pymodules/python2.7/lava_android_test/main.py", line 17, in <module>
> import pexpect
> ImportError: No module named pexpect
>
> The package should depend on python-pexpect package.

Or not use it -- I don't think it actually uses any of the fanciness
that pexpect provides (it uses the timeout support, which is handy, but
can probably be done other ways).

Cheers,
mwh

Fathi Boudra (fboudra)
Changed in lava-android-test:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Fathi Boudra (fboudra)
milestone: none → 2011.12
Revision history for this message
Fathi Boudra (fboudra) wrote :

Merged into lp:lava-android-test at revision 122

Changed in lava-android-test:
status: Triaged → Fix Committed
Fathi Boudra (fboudra)
Changed in lava-android-test:
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.