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 on 2011-04-07
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
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
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
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 (most recent call last):
   File "/usr/share/software-center/softwarecenter/", line 781, in on_menu_edit_activate
 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

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
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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center -

software-center ( natty; urgency=low

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

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

  [ Michael Vogt ]
  * softwarecenter/apt/
    - fix showing newly installed apps in the history (thanks to
      Geliy Sokolov) LP: #612183)
  * softwarecenter/db/
    - 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  Edit
Everyone can see this information.

Other bug subscribers