Public bug reported:
Binary package hint: python-kid
doing "import kid" brings you this traceback:
Traceback (most recent call last):
File "webPlayer.py", line 1, in <module>
import cherrypy,kid,xmlrpclib
File "/var/lib/python-support/python2.5/kid/__init__.py", line 27, in <module>
from kid.pull import ElementStream, Element, SubElement, Fragment, \
File "/var/lib/python-support/python2.5/kid/pull.py", line 9
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
a patch to /var/lib/python-support/python2.5/kid/pull.py that solves the
problem:
2a3
> from __future__ import generators
9d9
< from __future__ import generators
** Affects: kid (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
Python-kid package breaks on import
https://launchpad.net/bugs/87372
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs