software-center-dbus crashed with IOError in _rescan(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/apthistory.p'

Bug #1044650 reported by Alin Andrei
94
This bug affects 22 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

This error shows up as soon as I login to my Ubuntu Quantal laptop.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: software-center 5.3.10
ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
Uname: Linux 3.5.0-13-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.5.1-0ubuntu4
Architecture: i386
CrashCounter: 1
Date: Sat Sep 1 10:49:45 2012
ExecutablePath: /usr/share/software-center/software-center-dbus
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120830)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/software-center/software-center-dbus
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/share/software-center/software-center-dbus']
SourcePackage: software-center
Title: software-center-dbus crashed with IOError in _rescan(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/apthistory.p'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/db/history_impl/apthistory.py", line 129, in _rescan
     pickle.dump(self._transactions, open(p, "w"))
 IOError: [Errno 2] No such file or directory: '/home/username/.cache/software-center/apthistory.p'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Alin Andrei (nilarimogard) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in software-center (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
sojourner (itsmealso2) wrote :

still happens on install (amd64) from 09-06 daily

Revision history for this message
kmb42vt (tbeposts) wrote :

Confirm comment #3 ("sojourner")

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

I got this crash almost as soon as I started checking out the new Unity Previews feature on my installed apps in the Dash.

Revision history for this message
Luis Alvarado (luisalvarado) wrote :

Got the error when 12.10 Beta 1 finished loading the Desktop from a Pen Drive.

Revision history for this message
Ghislain Vaillant (ghisvail) wrote :

Happened to me when checking out Unity Previews

Revision history for this message
Ghislain Vaillant (ghisvail) wrote :

IOError: [Errno 2] No such file or directory: '/home/username/.cache/software-center/apthistory.p'

What is this file supposed to be ?

Revision history for this message
batcilla (batcilla) wrote :

this is folder for a cache, software-center suppose to create it, if missing.
anyway, you can work-around issue by
mkdir -p ~/.cache/software-center/apthistory.p

Revision history for this message
dino99 (9d9) wrote :

That version is no more maintained

Changed in software-center (Ubuntu):
status: Confirmed → Invalid
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.