[Python-modules-team] Bug#738058: fedmsg: FTBFS: ImportError: No module named core.error

Andreas Moog andreas.moog at warperbbs.de
Fri Feb 7 16:06:40 UTC 2014


Package: fedmsg
Version: 0.7.1-1
Severity: serious

Hi there,

your package fails to build in a clean sbuild chroot:

> ======================================================================
> ERROR: Failure: ImportError (No module named core.error)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 413, in loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "/«PKGBUILDDIR»/fedmsg/tests/test_commands.py", line 16, in <module>
>     from fedmsg.commands.relay import RelayCommand
>   File "/«PKGBUILDDIR»/fedmsg/commands/relay.py", line 23, in <module>
>     import zmq.core.error
> ImportError: No module named core.error
> -------------------- >> begin captured logging << --------------------
> moksha.hub: WARNING: Cannot find qpid python module. Make sure you have python-qpid installed.
> --------------------- >> end captured logging << ---------------------
> 
> ----------------------------------------------------------------------
> Ran 86 tests in 15.075s
> 
> FAILED (errors=1, skipped=38)
> make[1]: *** [override_dh_auto_test] Error 1
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20140207-1655

Adding python-qpid to the Build-Depends removes the moksha.hub warning,
but the build still fails due to the ImportError above.

Full buildlog attached.

-- 
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fedmsg_0.7.1-1_amd64.build.gz
Type: application/gzip
Size: 14457 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140207/0fec1983/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140207/0fec1983/attachment.sig>


More information about the Python-modules-team mailing list