Part of gnome-app-install in ubuntu is a pickle data structure cache. If I create this pickle with python 2.4 and read it later with 2.5. I get the following error:
$ python2.5 -c 'import pickle; pickle.load(open("/var/cache/app-install/menu.p"))'
/usr/lib/python2.5/pickle.py:1124: DeprecationWarning: The sre module is deprecated, please import re.
__import__(module)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.5/pickle.py", line 1370, in load
return Unpickler(file).load()
File "/usr/lib/python2.5/pickle.py", line 858, in load
dispatch[key](self)
File "/usr/lib/python2.5/pickle.py", line 1090, in load_global
klass = self.find_class(module, name)
File "/usr/lib/python2.5/pickle.py", line 1126, in find_class
klass = getattr(mod, name)
AttributeError: 'module' object has no attribute '_compile'
With:
$ python2.4 -c 'import pickle; pickle.load(open("/var/cache/app-install/menu.p"))'
egon@top ~ $
It loads just fine.
The test pickle can be found here:
http://people.ubuntu.com/~mvo/gnome-app-install/menu.p.gz
Cheers,
Michael
|