Package: autokey-common
Severity: serious
Version: 0.82.2-1
User: [email protected]
Usertags: python2.5-incompatible
If python2.5 is installed in a squeeze chroot, upgrading autokey-common
to the unstable version fails:
| # apt-get install -qq -t squeeze autokey-common/unstable
| debconf: delaying package configuration, since apt-utils is not installed
| Selecting previously deselected package python-simplejson.
| (Reading database ... 13697 files and directories currently installed.)
| Unpacking python-simplejson (from .../python-simplejson_2.1.1-1_i386.deb) ...
| Selecting previously deselected package python-pyinotify.
| Unpacking python-pyinotify (from .../python-pyinotify_0.8.9-1_all.deb) ...
| Preparing to replace autokey-common 0.71.0-1 (using
.../autokey-common_0.82.2-1_all.deb) ...
| invoke-rc.d: policy-rc.d denied execution of stop.
| Unpacking replacement autokey-common ...
| Setting up python-simplejson (2.1.1-1) ...
| Setting up python-pyinotify (0.8.9-1) ...
| Setting up autokey-common (0.82.2-1) ...
| Installing new version of config file /etc/init.d/autokey ...
| /usr/lib/python2.5/site-packages/autokey/configmanager.py:365: Warning:
'with' will become a reserved keyword in Python 2.6
| Compiling /usr/lib/python2.5/site-packages/autokey/configmanager.py ...
| File "/usr/lib/python2.5/site-packages/autokey/configmanager.py", line 365
| with open(CONFIG_FILE, 'r') as pFile:
| ^
| SyntaxError: invalid syntax
|
| /usr/lib/python2.5/site-packages/autokey/macro.py:155: Warning: 'with' will
become a reserved keyword in Python 2.6
| Compiling /usr/lib/python2.5/site-packages/autokey/macro.py ...
| File "/usr/lib/python2.5/site-packages/autokey/macro.py", line 155
| with open(name, "r") as inputFile:
| ^
| SyntaxError: invalid syntax
|
| /usr/lib/python2.5/site-packages/autokey/model.py:372: Warning: 'with' will
become a reserved keyword in Python 2.6
| Compiling /usr/lib/python2.5/site-packages/autokey/model.py ...
| File "/usr/lib/python2.5/site-packages/autokey/model.py", line 372
| with open(self.path + "/.folder.json", 'w') as outFile:
| ^
| SyntaxError: invalid syntax
|
| pycentral: pycentral pkginstall: error byte-compiling files (14)
| pycentral pkginstall: error byte-compiling files (14)
| dpkg: error processing autokey-common (--configure):
| subprocess installed post-installation script returned error exit status 1
| Processing triggers for python-support ...
| configured to not write apport reports
| Errors were encountered while
processing:
| E: Sub-process /usr/bin/dpkg returned an error code (1)
You should either bump XS-Python-Version to >= 2.6 or make the code
compatible with Python 2.5.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]