[Python-modules-team] Bug#586745: python-cssutils: Error byte-compiling files when python2.4 is present
Xavier Andrade
xavier at tddft.org
Tue Jun 22 07:00:43 UTC 2010
Package: python-cssutils
Version: 0.9.7~b2-1
Severity: important
When I try to install python-cssutils, it fails at the moment of
setting up the package with the following error message:
Setting up python-cssutils (0.9.7~b2-1) ...
Compiling /usr/lib/python2.4/site-packages/cssutils/sac.py ...
File "/usr/lib/python2.4/site-packages/cssutils/sac.py", line 133
u'%s ' % media if media else u'',
^
SyntaxError: invalid syntax
pycentral: pycentral pkginstall: error
byte-compiling files (52)
pycentral pkginstall: error byte-compiling files (52)
dpkg: error processing python-cssutils (--configure):
subprocess installed post-installation script returned error exit
status 1
After removing python2.4 and python2.4-minimal, the package was
installed correctly. My python2.4 version was 2.4.6-2.2.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-cssutils depends on:
ii python 2.6.5-4 An interactive high-level object-o
ii python-central 0.6.16 register and build utility for Pyt
ii python-encutils 0.9.7~b2-1 Encoding detection collection for
python-cssutils recommends no packages.
python-cssutils suggests no packages.
More information about the Python-modules-team
mailing list