[Debian-med-packaging] Bug#732945: Debian-Bug#732945: python-csb autopkg test always fails

Ivan Kalev ivan.kalev at gmail.com
Fri Dec 27 23:32:04 UTC 2013


Hi Andreas,

Nothing has really changed on our end. Is /your/path/to/CSB in $PYTHONPATH?
This error typically means that the package "csb" is not importable, i.e.
the python interpreter does not know where to find it. Here is an example:

$ hg clone https://hg.codeplex.com/csb ~/build
$ export PYTHONPATH=~/build:$PYTHONPATH
$ python ~/build/csb/test/app.py -g /tmp

Best regards,
Ivan
On Dec 27, 2013 11:18 PM, "Andreas Tille" <tille at debian.org> wrote:

> Hi Ivan,
>
> On Fri, Dec 27, 2013 at 11:07:57PM +0100, Ivan Kalev wrote:
> > Hi Andreas,
> >
> > Here is an alternative solution: in version 1.2.2 you can override the
> > default cache directory with -g:
> >
> >   $ python csb/test/app.py --generated-resources /tmp
> >
> > What do you think? Version 1.2.2 can be downloaded from PyPI or CodePlex
>
> In principle this sounds very good, but
>
> $ PYTHONWARNINGS=d python csb/test/app.py --generated-resources /tmp
>
> Traceback (most recent call last):
>   File "csb/test/app.py", line 5, in <module>
>     from csb.test import Console
> ImportError: No module named csb.test
>
>
> What new dependency is needed here to run the test successfully?
>
> Kind regards
>
>         Andreas.
>
> --
> http://fam-tille.de
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20131228/266c922b/attachment.html>


More information about the Debian-med-packaging mailing list