Testing package imports locally

James Westby jw+debian at jameswestby.net
Wed Feb 17 20:35:06 GMT 2010


On Wed, 17 Feb 2010 11:30:45 -0600, John Arbash Meinel <john at arbash-meinel.com> wrote:
> When I tried it on 'gnome-panel' it had this error:
> 54.204  Traceback (most recent call last):
>   File "./import_package.py", line 769, in main
>     assert len(versions.plist) > 0
>   File "./import_package.py", line 211, in get_versions
>     publications = icommon.lp_call(icommon.call_with_limited_size,
>   File "./import_package.py", line 172, in get_debian_versions
>     output, errout = proc.communicate()
>   File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory

I don't like this error, not helpful at all for working out what is
wrong, leading me to want to wrap this every time I use it.

> Looking at the code, it seems we also depend on 'madison-lite' being
> installed. Also, I ran into some bugs wrt not installing
> 'trace.enable_default_logging()' which meant it wasn't able to tell me
> what was failing when a plugin failed to load.

I don't follow, but I'll understand when I see the merge proposal.

> I'll submit some small patches that should help this a little bit at least.

Thanks.


James



More information about the ubuntu-distributed-devel mailing list