expunge-cache.py crashed with IOError in _cleanup_dir(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,multiget,,2442bcf345374a73360143bd52431ab5'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| software-center (Ubuntu) |
Medium
|
thembalihle khwatsha | ||
| Precise |
Medium
|
Unassigned |
Bug Description
TEST CASE:
- this is a race condition condition that is difficult to reproduce but is visilble on errors.ubuntu.com
REGRESSION RISK:
- tiny, its just catching a error when trying to delete a already deleted file
vbhv
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.14
ProcVersionSign
Uname: Linux 3.2.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Sun Apr 1 13:17:51 2012
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/share/
PythonArgs: ['/usr/
SourcePackage: software-center
Title: expunge-cache.py crashed with IOError in _cleanup_dir(): [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 on 2012-06-06
-
Diff: 36 lines (+14/-11)1 file modifiedsoftwarecenter/expunge.py (+14/-11)
- software-store-developers: Pending requested 2012-06-05
-
Diff: 104 lines (+28/-12) (has conflicts)4 files modifieddebian/changelog (+5/-1)
softwarecenter/expunge.py (+14/-11)
test/gtk3/test_catview.py (+8/-0)
test/test_package_info.py (+1/-0)
Alex281078 (alexlapshin) wrote : | #1 |
tags: | removed: need-duplicate-check |
security vulnerability: | yes → no |
security vulnerability: | yes → no |
visibility: | private → public |
visibility: | private → public |
FWIW, deleting a file related to the software center seemed to resolve the problem:
Dmesg output:
[36001.147151] Valid eCryptfs headers not found in file header region or xattr region, inode 26480627
[36001.147155] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO
nickfarr@Edwards:~$ find -inum 26480627
./.cache/
Removing the file fixed the problem...
Changed in software-center (Ubuntu): | |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in software-center (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in software-center (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Hello Alex281078, or anyone else affected,
Accepted software-center into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-
Further information regarding the verification process can be found at https:/
tags: | added: verification-needed |
Changed in software-center (Ubuntu): | |
status: | Fix Committed → Fix Released |
Gary Lasker (gary-lasker) wrote : | #5 |
I tested and have been unable to reproduce this error in software-center version 5.2.4 in precise-proposed.
Thanks!
tags: |
added: verification-done removed: verification-needed |
Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package software-center - 5.2.4
---------------
software-center (5.2.4) precise-proposed; urgency=low
[ Michael Vogt ]
* lp:~mvo/software-center/lp970627:
- fix intermittent crash when expunging the cache (LP: #970627)
* lp:~mvo/software-center/lp971776:
- fix crash when a downloaded image is invalid for whatever
reason (network issues, proxy issues, pay-wall in between)
(LP: #971776)
* lp:~mvo/software-center/lp967036-2:
- fix unicode error crash for people running with the
LANGUAGE=
* lp:~mvo/software-center/cookie-jar:
- fix paypal support in the purchases window (LP: #1018347)
[ Gary Lasker ]
* debian/control:
- update vcs link to point to the 5.2 branch
* lp:~gary-lasker/software-center/previous-purchase-sorting-lp873104:
- return correct results when sorting the list of previous
purchases (LP: #873104)
* lp:~gary-lasker/software-center/recommendations-string-change-lp986437-for-5.2:
- switch to the updated recommendations opt-in string now that the
corresponding language pack updates are released and available
(LP: #986437)
* lp:~gary-lasker/software-center/fix-lp920741:
- fix UnicodeDecodeError when a commercial app's title contains
a unicode character (LP: #920741)
[ Natalia Bidart ]
* lp:~nataliabidart/software-center/cant-stop-the-music:
- Stop the video if user navigates away from an app details page
(LP: #1003954).
-- Michael Vogt <email address hidden> Thu, 28 Jun 2012 10:35:55 +0200
Changed in software-center (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
Changed in software-center (Ubuntu): | |
assignee: | nobody → thembalihle khwatsha (tkhwatsha) |
Status changed to 'Confirmed' because the bug affects multiple users.