expunge-cache.py crashed with OSError in _rm(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,gimp-openraster,,4f28efd8092478f12f0c179896b50ff5'

Bug #960742 reported by Sergey "Shnatsel" Davidoff on 2012-03-21
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Low
Gary Lasker

Bug Description

Got this crash on installing a local package

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.13
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
Uname: Linux 3.2.0-19-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Wed Mar 21 04:03:20 2012
ExecutablePath: /usr/share/software-center/expunge-cache.py
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
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:
 LANG=ru_RU.UTF-8
 SHELL=/usr/bin/fish
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 OSError in _rm(): [Errno 2] No such file or directory: '/home/username/.cache/software-center/piston-helper/rec.ubuntu.com,api,1.0,recommend_app,gimp-openraster,,4f28efd8092478f12f0c179896b50ff5'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

tags: removed: need-duplicate-check
visibility: private → public
Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Gary Lasker (gary-lasker)
Gary Lasker (gary-lasker) wrote :

Hi Sergey! Thank you very much for your report. I'm working on this one now.

Best regards,
Gary

Brian Smith (brian-smith-i) wrote :

Also affects installation of google earth

Changed in software-center (Ubuntu):
status: In Progress → Fix Committed

I got this crash while I was running the update manager to get a new set of updates and the ubuntu software center at the same time to look for software.

Launchpad Janitor (janitor) wrote :

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

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

  [ kiwinote ]
  * looks like the latest gtk causes us to receive less style-updated
    signals, call init_sc_css_provider explicitly so we don't loose our
    custom theming (LP: #961102)

  [ Paolo Rotolo ]
  * data/ui/gtk3/SoftwareCenter.ui:
     - fix string from "Terms of Service" to "Terms of Use" (LP: #963309).

  [ Gary Lasker ]
  * lp:~gary-lasker/software-center/tos-urls-lp961538:
    - use a different url for the inline ToS dialog (LP: #961538)
  * lp:~gary-lasker/software-center/fix-crash-lp960742:
    - do not crash if file can not be unlinked (LP: #960742)
  * lp:~gary-lasker/software-center/tos_buy_button_fix_lp961216:
    - This branch fixes bug LP: #961216, where the "Buy" button on the
      details page and listview stays insensitive after declining the
      ToS dialog
  * lp:~gary-lasker/software-center/fix-crash-lp961198:
    - make recommendations menu available once the available pane is
      ready (LP: #961198)

  [ Michael Vogt ]
  * lp:~mvo/software-center/builder_get_cleanup:
    - cleaner way to get menuitems
  * lp:~mvo/software-center/lp-955346:
    - draw stars with 1px border to get crisper stars (LP: #955346)
  * lp:~mvo/software-center/fix-purchase-accept-crash:
    - fixes crash when accepting tos on system without s-c config file
  * lp:~mvo/software-center/lp962927:
    - fix race condition on creating cache dir (LP: #962927)
  * lp:~mvo/software-center/lp964918:
    - do not raise an exception in the case of multiple origins,
      instead log a warning and do the right thing in the UI
      (LP: #964918)

  [ Dave Morley ]
  * lp:~davmor2/software-center/lp965222:
    - add ldtp based statup time helper
 -- Michael Vogt <email address hidden> Mon, 26 Mar 2012 19:02:24 +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