software-center crashed with ImportError in _create_scagent_if_needed(): No module named backend.scagent

Bug #805969 reported by FrankX
58
This bug affects 6 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Vadim Rutkovsky
Oneiric
Fix Released
High
Vadim Rutkovsky

Bug Description

following dist upgrade to 11.10, i was adding software i needed, the software-center crashed when i chose to reinstall previous purchases.

TEST CASE:
1. Launch Software-Center
2. Select the menu 'File / Reinstall Previous Purchases ...'

Result:
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk/app.py", line 724, in on_menuitem_reinstall_purchases_activate
    self._create_scagent_if_needed()
  File "/usr/share/software-center/softwarecenter/ui/gtk/app.py", line 718, in _create_scagent_if_needed
    from backend.scagent import SoftwareCenterAgent
ImportError: No module named backend.scagent

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.8
ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
Uname: Linux 3.0-3-generic i686
Architecture: i386
Date: Tue Jul 5 15:02:56 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with ImportError in _create_scagent_if_needed(): No module named backend.scagent
UpgradeStatus: Upgraded to oneiric on 2011-07-05 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
FrankX (frankx-190875) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. Easily reproducible. Setting to triaged.

visibility: private → public
Changed in software-center (Ubuntu):
importance: Undecided → High
status: New → Triaged
description: updated
Changed in software-center (Ubuntu Oneiric):
assignee: nobody → Vadim Rutkovsky (roignac)
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (4.1.10) oneiric; urgency=low

  [ Michael Vogt ]
  * merged lp:~alexeftimie/software-center/backend-refactor,
    many thanks
  * merged lp:~mmcg069/software-center/search-aid-improvments,
    many thanks
  * add generic "use_cache" to SimpleFileDownloader
  * softwarecenter/ui/gtk3/widgets/exhibits.py:
    - add basic ExhibitBanner widget
  * merged lp:~roignac/software-center/bug-805969,
    many thanks to Vadim Rutkovsky (LP: #805969)
  * merged lp:~aaronp/software-center/more-top-rated, many thanks
    to Aaron Peachey
  * add top rated carousel

  [ Gary Lasker ]
  * softwarecenter/ui/gtk/app.py,
    softwarecenter/ui/gtk/availablepane.py,
    softwarecenter/ui/gtk/catview_gtk.py,
    softwarecenter/ui/gtk/softwarepane.py:
    - improvement for a local debian package install, display a
      "loading" spinner while the package loads and do not show
      the main categories view momentarily
  * softwarecenter/backend/reviews.py:
    - fix crash on an undefined histogram value (LP: #812923)
  * softwarecenter/ui/gtk/historypane.py,
    softwarecenter/ui/gtk3/panes/historypane.py:
    - apply patch from Michael Terry to fix a crash when
      initializing the history pane, many thanks! (LP: #746984)
  * softwarecenter/db/debfile.py,
    softwarecenter/ui/gtk/appdetailsview_gtk.py,
    softwarecenter/ui/gtk/availablepane.py:
    - reduce startup time when installing a deb file by ~50%
 -- Michael Vogt <email address hidden> Fri, 22 Jul 2011 15:43:43 +0200

Changed in software-center (Ubuntu Oneiric):
status: Fix Committed → Fix Released
tags: added: testcase
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.