update-apt-xapian-index crashed with ValueError in /usr/share/software-center/softwarecenter/utils.py: bad marshal data (unknown type code)

Bug #1010077 reported by Matthias Andree
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
apt-xapian-index (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This happened after installing security and other updates

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: apt-xapian-index 0.44ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
CrashCounter: 1
Date: Thu Jun 7 15:31:59 2012
ExecutablePath: /usr/sbin/update-apt-xapian-index
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/update-apt-xapian-index -q -u
ProcEnviron:
 LANGUAGE=de:en
 TERM=linux
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/sh
PythonArgs: ['/usr/sbin/update-apt-xapian-index', '-q', '-u']
SourcePackage: apt-xapian-index
Title: update-apt-xapian-index crashed with ValueError in /usr/share/software-center/softwarecenter/utils.py: bad marshal data (unknown type code)
UpgradeStatus: Upgraded to precise on 2012-05-13 (24 days ago)
UserGroups:

Revision history for this message
Matthias Andree (matthias-andree) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-xapian-index (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Carter (pauleg-carter) wrote :

Here's a candidate fix for anyone suffering with this or similar.

I've just resolved this on my installation, by removing all the *.pyc files in /usr/share/software-center/softwarecenter/db.

cd /usr/share/software-center/softwarecenter/db
sudo rm *.pyc

Seems to indicate an incorrect compile of the python *.py to *.pyc files or even a local corruption.

Running the software center recompiled the *.pyc files.

I'm glad that's sorted; took most of the day to get here.

Changed in apt-xapian-index (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.