package python-gadfly 1.0.0-13ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 (uses keyword "as", illegal from Python 2.6)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gadfly (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jaunty |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: gadfly
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
Needs to be patched to not use "as" as a variable name, since it's a keyword from Python 2.6 onwards.
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelMo
Package: python-gadfly 1.0.0-13ubuntu1
PackageArchitec
SourcePackage: gadfly
Title: package python-gadfly 1.0.0-13ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-9-generic x86_64
From my upgrade test:
Setting up python-gadfly (1.0.0-13ubuntu1) ... python2. 5/site- packages/ gadfly/ bindings. py:64: Warning: 'as' will become a reserved keyword in Python 2.6 python2. 5/site- packages/ gadfly/ bindings. py:291: Warning: 'as' will become a reserved keyword in Python 2.6 python2. 5/site- packages/ gadfly/ bindings. py:295: Warning: 'as' will become a reserved keyword in Python 2.6 python2. 5/site- packages/ gadfly/ bindings. py:549: Warning: 'as' will become a reserved keyword in Python 2.6 python2. 6/dist- packages/ gadfly/ bindings. py ... lib/python2. 6/dist- packages/ gadfly/ bindings. py', 64, 37, ' [create, view, name, namelist, as, selection] = l\n'))
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
Compiling /usr/lib/
SyntaxError: ('invalid syntax', ('/usr/
pycentral: pycentral pkginstall: error byte-compiling files (24)
pycentral pkginstall: error byte-compiling files (24)
dpkg: error processing python-gadfly (--configure):
subprocess post-installation script returned error exit status 1