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'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
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
ProcVersionSign
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/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/share/
ProcEnviron:
LANGUAGE=ru_UA:ru
LANG=ru_UA.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-center
Title: expunge-cache.py crashed with IOError in clean(): [Errno 2] No such file or directory: '/home/
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
Related branches
- Gary Lasker (community): Approve
-
Diff: 255 lines (+147/-45)4 files modifiedsoftwarecenter/expunge.py (+79/-0)
softwarecenter/utils.py (+17/-0)
test/test_utils.py (+28/-3)
utils/expunge-cache.py (+23/-42)
tags: | removed: need-duplicate-check |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
assignee: | nobody → Michael Vogt (mvo) |
Thanks for your bugreport.
This is a race condition when multiple "expunge-cache.py" processes run. I added per-directory locking now.