software-center crashed with AttributeError in on_menu_file_activate(): 'NoneType' object has no attribute 'get_view_widget'

Bug #846674 reported by Fabio Marconi
78
This bug affects 15 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Gary Lasker

Bug Description

Hello
Clicked on the software-center icon in the launcher with the dash opened.
Thanks
Fabio

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.22
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
Date: Sat Sep 10 23:53:34 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110910)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=it:en
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 LC_MESSAGES=it_IT.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in on_menu_file_activate(): 'NoneType' object has no attribute 'get_view_widget'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 608, in on_menu_file_activate
     self.active_pane = vm.get_view_widget(vm.get_active_view())
 AttributeError: 'NoneType' object has no attribute 'get_view_widget'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Esmaeil MIRZAEE (esmaeilmirzaee) wrote :

I think the same error happen "AttributeError in on_menu_file_active()" in bug 831679, Bug 824326, Bug 823241, Bug 839034, Bug 837524, Bug 823628.

Changed in software-center (Ubuntu):
status: New → Confirmed
Changed in software-center (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Gary Lasker (gary-lasker)
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 - 4.1.23.6

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

  [ Kiwinote ]
  * softwarecenter/db/update.py:
    - update the sc-agent db even if there are no apps available (LP: #857268)
  * softwarecenter/utils.py:
    - fix UnicodeDecodeError in get_icon_from_theme() (LP: #839391)
  * utils/submit_review_gtk3.py:
    - fix UnicodeDecodeError in _on_one_gwibber_account() (LP: #836911)

  [ Gary Lasker ]
  * softwarecenter/ui/gtk3/app.py:
    - fix intermittent startup crashes (LP: #846674, LP: #857989)

  [ Matthew McGowan ]
  * work around some oddness that seems to have broken
    Gdk.EventButton.copy().

  [ Michael Vogt ]
  * softwarecenter/ui/gtk3/app.py:
    - do not crash if there is no active pane
  * softwarecenter/backend/reviews.py:
    - be more robust against db corruption when writing out
      the bsddb for unity (LP: #858437)
  * softwarecenter/backend/login_sso.py:
    - port to the new SSO dbus API (LP: #857514)

  [ Didier Roche ]
  * lp:~didrocks/software-center/replace_logintext_by_helptext:
    - use help_text internally to be aligned with the new ubuntu SSO
      parameter name (LP: #857514)
 -- Michael Vogt <email address hidden> Mon, 26 Sep 2011 16:59:33 +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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.