Package: libpython2.7-minimal
Version: 2.7.4~rc1-3
Severity: normal
Users can work around this by defining MAXREPEAT in sre_constants.py and
commenting out the import in sre_parse.py and sre_compile.py (in
/usr/lib/python2.7). Searching around, seems this problem has existed for
quite a while. That it breaks reportbug may explain the lack of reports...
An example traceback:
ejr@qNaN:~$ reportbug libpython2.7-minimal
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 563, in <module>
main()
File "/usr/lib/python2.7/site.py", line 545, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 237, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python2.7/sysconfig.py", line 578, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python2.7/sysconfig.py", line 505, in get_config_vars
import re
File "/usr/lib/python2.7/re.py", line 105, in <module>
import sre_compile
File "/usr/lib/python2.7/sre_compile.py", line 14, in <module>
import sre_parse
File "/usr/lib/python2.7/sre_parse.py", line 17, in <module>
from sre_constants import *
File "/usr/lib/python2.7/sre_constants.py", line 18, in <module>
from _sre import MAXREPEAT
ImportError: cannot import name MAXREPEAT
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (600, 'experimental'), (500,
'lenny')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8.0-wl-ejr3+ (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/dash
libpython2.7-minimal depends on no packages.
Versions of packages libpython2.7-minimal recommends:
ii libpython2.7-stdlib 2.7.4~rc1-3
libpython2.7-minimal suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/lib/python2.7/sre_compile.py (from
libpython2.7-minimal:amd64 package)
debsums: changed file /usr/lib/python2.7/sre_constants.py (from
libpython2.7-minimal:amd64 package)
debsums: changed file /usr/lib/python2.7/sre_parse.py (from
libpython2.7-minimal:amd64 package)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]