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).
On Fri, 09 Dec 2011 13:45:44 -0000, Fathi Boudra <email address hidden> wrote: lava-android- test", line 9, in <module> point(' lava-android- test==0. 0.7', 'console_scripts', 'lava-android- test')( ) python2. 7/dist- packages/ pkg_resources. py", line 337, in load_entry_point n(dist) .load_entry_ point(group, name) python2. 7/dist- packages/ pkg_resources. py", line 2279, in load_entry_point python2. 7/dist- packages/ pkg_resources. py", line 1989, in load _(self. module_ name, globals( ),globals( ), ['__name__']) pymodules/ python2. 7/lava_ android_ test/main. py", line 17, in <module>
> Public bug reported:
>
> $ lava-android-test -h
> Traceback (most recent call last):
> File "/usr/bin/
> load_entry_
> File "/usr/lib/
> return get_distributio
> File "/usr/lib/
> return ep.load()
> File "/usr/lib/
> entry = __import_
> File "/usr/lib/
> 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