Comment 7 for bug 827176

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Martin,

It's probably line 244 in LanguageSelector/LocaleInfo.py that suddenly stopped working yesterday. I haven't been able to figure out why yet, partly because python suddenly does not want to import gettext for me:

gunnar@gunnar-oneiric:~$ python
Python 2.7.2+ (default, Aug 16 2011, 07:24:41)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gettext
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/gettext.py", line 49, in <module>
    import locale, copy, os, re, struct, sys
ValueError: bad marshal data (unknown type code)
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 58, in apport_excepthook
    import re, tempfile, traceback
  File "/usr/lib/python2.7/tempfile.py", line 34, in <module>
    from random import Random as _Random
  File "/usr/lib/python2.7/random.py", line 42, in <module>
    from __future__ import division
ValueError: bad marshal data (unknown type code)

Original exception was:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/gettext.py", line 49, in <module>
    import locale, copy, os, re, struct, sys
ValueError: bad marshal data (unknown type code)
>>> quit()
gunnar@gunnar-oneiric:~$