Package fails to install when python2.4 is installed

Bug #391451 reported by Andrew Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-configglue (Ubuntu)
Fix Released
Medium
Andrew Mitchell

Bug Description

Binary package hint: python-configglue

root@augustine:/home/ajmitch/debian/pbuilder/results# dpkg --configure -a
Setting up python-configglue (0.2dev-0ubuntu1) ...
INFO: using unknown version '/usr/bin/python3.0' (debian_defaults not up-to-date?)
Compiling /usr/lib/python2.4/site-packages/configglue/__init__.py ...
  File "/usr/lib/python2.4/site-packages/configglue/__init__.py", line 57
    from .typed import TypedConfigParser
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.4/site-packages/configglue/glue.py ...
  File "/usr/lib/python2.4/site-packages/configglue/glue.py", line 10
    from .typed import TypedConfigParser
         ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.4/site-packages/configglue/typed.py ...
  File "/usr/lib/python2.4/site-packages/configglue/typed.py", line 11
    from . import parsers
         ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (15)
pycentral pkginstall: error byte-compiling files (15)
dpkg: error processing python-configglue (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-configglue

This appears to be due to use of Python 2.5+ specific features. Changing the XS-Python-Version to >= 2.5 in debian/control fixes the installation problem.

Changed in python-configglue (Ubuntu):
assignee: nobody → Andrew Mitchell (ajmitch)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

waiting for it ... or should i download the source then build it from source?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-configglue - 0.2dev-0ubuntu2

---------------
python-configglue (0.2dev-0ubuntu2) karmic; urgency=low

  * debian/control:
    + XS-Python-Version changed to >= 2.5 because of absolute imports
      (LP: #391451)

 -- Andrew Mitchell <email address hidden> Wed, 24 Jun 2009 14:35:22 +1200

Changed in python-configglue (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.