Comment 1 for bug 902161

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