software-center crashed with AttributeError in on_menu_edit_activate(): 'PendingView' object has no attribute 'is_app_details_view_showing'

Bug #754153 reported by Raluca Elena Podiuc
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Gary Lasker

Bug Description

Binary package hint: software-center

I was installing sensors-applet and openshot was in the queue, but it had not started downloading.

Sensors-applet wanted to display a dialog asking me whether I wanted to start some monitoring daemon at startup. I'm not sure if the dialog was started before this error occurred or afterwards.

Note that software center did not actually crash: the interface was responsive and after installing sensors-applet it went on and installed openshot too.

To reproduce:

1. Start installing or removing a software item.
2. Click on the "In Progress" item in the left navigation pane to view the "In Progress" screen.
3. Activate the "Edit" menu.

The crash noted below will occur.

Note that this crash will also happen if the Edit menu is activated while viewing the History section.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.26
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri Apr 8 01:03:03 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110326)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in on_menu_edit_activate(): 'PendingView' object has no attribute 'is_app_details_view_showing'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/app.py", line 781, in on_menu_edit_activate
     self.active_pane.is_app_details_view_showing()):
 AttributeError: 'PendingView' object has no attribute 'is_app_details_view_showing'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Raluca Elena Podiuc (raluca-elena) wrote :
visibility: private → public
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Gary Lasker (gary-lasker)
description: updated
Changed in software-center (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi Raluca, thanks for your report! This one is now fixed and the fix will be available in the next development release of Software Center in Natty. Please be sure to report any other bugs or issues that you encounter.

Thanks again!

Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
software-center (3.1.26.1) natty; urgency=low

  [ Matthew McGowan ]
  * softwarecenter/view/appdetailsview_gtk.py,
    softwarecenter/view/widgets/reviews.py:
    - tweak color of review stars in details view and the
      review dialog to match listview color (LP: #753620)

  [ Gary Lasker ]
  * softwarecenter/view/basepane.py:
    - fix crash if the edit menu is activated while viewing
      the pending view or the history pane (LP: #754153)

  [ Michael Vogt ]
  * softwarecenter/apt/apthistory.py:
    - fix showing newly installed apps in the history (thanks to
      Geliy Sokolov) LP: #612183)
  * softwarecenter/db/reviews.py:
    - use a joinable queue in the multiprocessing code and ensure
      task_done/join is used (LP: #743020)
 -- Michael Vogt <email address hidden> Fri, 08 Apr 2011 13:13:49 +0200

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