[Bug 70578] dpkg: error processing python-constraint (--configure):

citizen pipe at iki.fi
Wed Dec 6 14:56:15 UTC 2006


Public bug reported:

Binary package hint: python-constraint

Error comes when installing package python-constrain in Kubuntu 6.10.

PROBLEM:
SyntaxError: from __future__ imports must occur at the beginning of the file
pycentral: pycentral pkginstall: error byte-compiling files (8)
pycentral pkginstall: error byte-compiling files (8)
dpkg: error processing python-constraint (--configure):

HOW TO REPAIR:
One line is in wrong place in file propagation.py:
line "from __future__ import generators"
should be moved little upwards above
line "__revision__ =..."

** Affects: constraint (Ubuntu)
     Importance: Undecided
     Assignee: MOTU
         Status: Confirmed

-- 
dpkg: error processing python-constraint (--configure):
https://launchpad.net/bugs/70578




More information about the universe-bugs mailing list