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
         Status: Unconfirmed

** Description changed:

  Binary package hint: python-constraint
  
- Error comes when installing package 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__ =..."

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to