[Python-modules-team] Bug#571498: myghty: FTBFS with Python 2.6 as default

Jakub Wilk jwilk at debian.org
Thu Feb 25 18:37:49 UTC 2010


Source: myghty
Version: 1.1-4
Severity: important
User: debian-python at lists.debian.org
Usertags: python2.6

Hello,

When rebuilt in an environment with Python 2.6 as the default version, 
your package failed to build from source. Here are the relevant parts of 
the build log:

| debian/rules build
| cd doc; python ./genhtml.py
| ../lib/myghty/util.py:20: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
|   import weakref, inspect, sha, string, os, UserDict, copy, sys, imp, re, stat, types, time
| ../lib/myghty/resolver.py:614: SyntaxWarning: assertion is always true, perhaps remove parentheses?
|   assert(False, "enableDhandler loop failed")
| ../lib/myghty/resolver.py:673: SyntaxWarning: assertion is always true, perhaps remove parentheses?
|   assert(False, "UpwardsResolve loop failed")
| Traceback (most recent call last):
|   File "./genhtml.py", line 13, in <module>
|     import documentgen
|   File "./lib/documentgen.py", line 2, in <module>
|     import myghty.interp
|   File "../lib/myghty/interp.py", line 22, in <module>
|     import myghty.request
|   File "../lib/myghty/importer.py", line 54, in import_module
|     return builtin_importer(name, globals, locals, fromlist)
|   File "../lib/myghty/request.py", line 22, in <module>
|     from myghty.container import CreationAbortedError
|   File "../lib/myghty/importer.py", line 54, in import_module
|     return builtin_importer(name, globals, locals, fromlist)
|   File "../lib/myghty/container.py", line 15, in <module>
|     import cPickle
|   File "../lib/myghty/importer.py", line 54, in import_module
|     return builtin_importer(name, globals, locals, fromlist)
| TypeError: import_module() takes at most 4 arguments (5 given)
| make: *** [build-indep] Error 1
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

If you need help with fixing this bug, don't hesitate to ask on 
#debian-python or debian-python at lists.debian.org.

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100225/61b4f2b4/attachment-0001.pgp>


More information about the Python-modules-team mailing list