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:~$
Martin,
It's probably line 244 in LanguageSelecto r/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 python2. 7/gettext. py", line 49, in <module> python2. 7/dist- packages/ apport_ python_ hook.py" , line 58, in apport_excepthook python2. 7/tempfile. py", line 34, in <module> python2. 7/random. py", line 42, in <module>
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/
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/
import re, tempfile, traceback
File "/usr/lib/
from random import Random as _Random
File "/usr/lib/
from __future__ import division
ValueError: bad marshal data (unknown type code)
Original exception was: python2. 7/gettext. py", line 49, in <module> gunnar- oneiric: ~$
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
import locale, copy, os, re, struct, sys
ValueError: bad marshal data (unknown type code)
>>> quit()
gunnar@