expunge-cache.py crashed with IOError in clean(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,ubuntu-user-issue-012,,a78c8373e62c7c06cecac7dedbb62489'

Bug #962580 reported by Alexandr on 2012-03-22
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Medium
Michael Vogt

Bug Description

Crash of the software center when installing opera deb package for amd64 system

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.13.1
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
Date: Thu Mar 22 23:45:47 2012
ExecutablePath: /usr/share/software-center/expunge-cache.py
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/software-center/expunge-cache.py --by-unsuccessful-http-states /home/username/.cache/software-center
ProcEnviron:
 LANGUAGE=ru_UA:ru
 LANG=ru_UA.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/software-center/expunge-cache.py', '--by-unsuccessful-http-states', '/home/username/.cache/software-center']
SourcePackage: software-center
Title: expunge-cache.py crashed with IOError in clean(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,ubuntu-user-issue-012,,a78c8373e62c7c06cecac7dedbb62489'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Alexandr (funstep1) wrote :
tags: removed: need-duplicate-check
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is a race condition when multiple "expunge-cache.py" processes run. I added per-directory locking now.

Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
visibility: private → public
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
assignee: nobody → Michael Vogt (mvo)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 5.1.14

---------------
software-center (5.1.14) precise; urgency=low

  [ Michael Vogt ]
  * lp:~mvo/software-center/lp962580:
    - add locking to the expunge helper process to fix bugs that are triggered
      if multiple expunge cache processes are run (LP: #962580)
  * lp:~mvo/software-center/cache-refresh-glitch:
    - ensure that we get a full refresh if a pkg was not available before
      show_app is called
  * lp:~mvo/software-center/lp940482:
    - fix crash if the debfile does not return proper utf8 for the
      description (LP: #940482)
  * lp:~mvo/software-center/lp966514:
    - properly handle network disconnect conditions with the Ubuntu
      SSO dialog (LP: #966514)
  * lp:~mvo/software-center/lp966879:
    - fix for crashes in the installed view treeview (LP: #966879,
      LP: #950899)
  * lp:~mvo/software-center/lp846204:
    - fix ValueError crashes in get_iter due to invalid tree paths
      (LP: #846204)
  * lp:~mvo/software-center/lp964433:
    - disconnect the model from the view before calling set_from_matches
      (LP: #964433)
  * lp:~mvo/software-center/treeview-keep-state-on-db-cache-change:
   - restore the state of the installed view treeview when the
     the db or cache changes, such as on an app install or remove
  * lp:~mvo/software-center/946393:
   - fix installing multiple apps when in a custom list view (LP: #946393)
  * lp:~mvo/software-center/lp969050:
   - disconnect the view when the model is cleared to avoid a furry of
     cursor_changed signals as the rows get removed (LP: #969050)

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/installed-pane-refresh:
    - avoid rebuilding the treeview in the installedpane if its not
      required (LP: #828887)
  * lp:~gary-lasker/software-center/fix-crash-lp967036:
    - Small branch to fix a crash due to a UnicodeDecodeError when accessing
      the short description for H/W requirements (LP: #967036)
  * lp:~gary-lasker/software-center/fix-crash-lp935930:
    - fix a crash due to a UnicodeDecodeError (LP: #935930)
 -- Michael Vogt <email address hidden> Fri, 30 Mar 2012 18:00:50 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers