[Bug 1021474] Re: update-apt-xapian-index crashes with Unpickling Error in init() invalid load key
Dennis Baurichter
1021474 at bugs.launchpad.net
Sat Jul 7 12:38:18 UTC 2012
The file contains non-printable / corrupted characters in the entry for
'libcommons-javaflow-java-doc':
$ grep -vEC 1 '^[[:print:]]*$' SickofSociety_cataloged_times.p
p20573
�1336418�58.2340701
sS'l�bcommon�-javafl�w-java-doc'
p20574
$ grep -C 1 'common.*-java.*java-doc' /var/lib/apt-xapian-index/cataloged_times.p # example for valid entry
F1336421894.408062
sS'libcommons-javaflow-java-doc'
p20179
Try deleting the file and then running update-apt-xapian-index again:
$ sudo rm /var/lib/apt-xapian-index/cataloged_times.p
$ sudo update-apt-xapian-index --verbose --force
Note: Because of '--verbose' there will be more messages than usual.
Please show us the commands' output.
** Changed in: apt-xapian-index (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-xapian-index in Ubuntu.
https://bugs.launchpad.net/bugs/1021474
Title:
update-apt-xapian-index crashes with Unpickling Error in init()
invalid load key
Status in “apt-xapian-index” package in Ubuntu:
Confirmed
Bug description:
Daily crashes of update-apt-xapian-index
Everytime with Unpickling Error in init() : invalid load key.
If i type sudo update-apt-xapian-index it crashes immediatly.
Terminal gives back:
No handlers could be found for logger "softwarecenter.db.update"
Reading .desktop files from /usr/share/app-install/desktop/: done.
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 513, in setupIndexing
addon.obj.init(dict(values=self.values), self.progress)
File "/usr/share/apt-xapian-index/plugins/cataloged_time.py", line 72, in init
self._package_cataloged_time = cPickle.load(open(self._packages_cataloged_file))
cPickle.UnpicklingError: invalid load key, '�'.
My Sytem:
Xubuntu 12.04 with all updates
AMD Phenom II X4 955BE
16 Gig Corsair RAM
ASUS M5A97Pro Mainboard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1021474/+subscriptions
More information about the foundations-bugs
mailing list