Comment 3 for bug 584272

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: boa-constructor fails compilation during upgrade from Hardy to Lucid

All the failures are follow up of that one:
Setting up python (2.6.5-0ubuntu1) ...
running python rtupdate hooks for python2.6...
Compiling /usr/share/boa-constructor/ZopeLib/zoa/metatypes.py ...
SyntaxError: ("'return' outside function", ('/usr/share/boa-constructor/ZopeLib/zoa/metatypes.py', 13, None, 'return obj.objectMap()\n'))
[...]
Compiling /usr/share/boa-constructor/ZopeLib/zoa/version.py ...
SyntaxError: ("'return' outside function", ('/usr/share/boa-constructor/ZopeLib/zoa/version.py', 10, None, 'return context.zoa_version\n'))

pycentral: pycentral updatedefault: error byte-compiling files (290)
pycentral updatedefault: error byte-compiling files (290)
error running python rtupdate hook pycentral
dpkg: error processing python (--configure):
 subprocess installed post-installation script returned error exit status 4

Since python failed to configure correctly subsequent packages needing python failed too.
Could you please attach the files in /var/log/dist-upgrade/ in case something happened during the release upgrade ?
Thanks.