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

Bug #721704 reported by Vladimir Scherbaev
162
This bug affects 22 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Gary Lasker
Natty
Fix Released
High
Gary Lasker

Bug Description

Binary package hint: software-center

Description: Ubuntu natty (development branch)
Release: 11.04
software-center:
  Установлен: 3.1.19
  Кандидат: 3.1.19
  Таблица версий:
 *** 3.1.19 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.19
ProcVersionSignature: Ubuntu 2.6.38-4.31-generic 2.6.38-rc5
Uname: Linux 2.6.38-4-generic i686
Architecture: i386
Date: Sat Feb 19 11:44:49 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=ru_RU:ru:en_GB:en
 LANG=ru_RU.UTF-8
 LC_MESSAGES=ru_RU.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in _on_expose(): 'NoneType' object has no attribute 'allocation'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 215, in _on_expose
     a = self.whatsnew_carousel.allocation
 AttributeError: 'NoneType' object has no attribute 'allocation'
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Vladimir Scherbaev (zemik) wrote :
tags: removed: need-duplicate-check
Changed in software-center (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in software-center (Ubuntu Natty):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
visibility: private → public
Martin Pitt (pitti)
Changed in software-center (Ubuntu Natty):
assignee: Canonical Desktop Team (canonical-desktop-team) → Gary Lasker (gary-lasker)
tags: added: bugpattern-needed
Matt Zimmerman (mdz)
tags: removed: bugpattern-needed
tags: added: bugpattern-written
Changed in software-center (Ubuntu Natty):
status: Triaged → In Progress
Changed in software-center (Ubuntu Natty):
status: In Progress → Fix Committed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hello Vladimir and everyone. Thank you very much for taking the time to report this bug. The fix for this has been committed and will be available soon in the next development release of Software Center. Please continue to report any other problems or issues that you may encounter as you use Software Center. Your help is very much appreciated!

Thanks again,
Gary

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Fix released with version 3.1.23 of software-center:

software-center (3.1.23) natty; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/appdetailsview_gtk.py:
    - fix broken downloadable icon code, improve error checking
    - update Unity launcher integration code per recent detailsview
      changes
  * softwarecenter/view/widgets/backforward.py:
    - remove the additional border space in the navigation bar
      (LP: #729053)
  * softwarecenter/view/catview_gtk.py:
    - for subclasses of CategoriesViewGtk, connect events only after
      the UI has been fully created (LP: #721704, LP: #725642)

  [ Aaron Peachey ]
    * softwarecenter/db/update.py:
      - fix missing log handler when run by update-software-center
        (LP: #728896)

  [ Michael Vogt ]
  * merged lp:~mmcg069/software-center/small-catview-cleanup that
    fixes problems in the subcategies display
  * merged lp:~weblive-dev/software-center/software-center-use-module,
    many thanks to Stephane Graber. This will use the upstream weblive
    python module where possible
  * softwarecenter/db/application.py:
    - ensure appname is unicode to fix review stats lookup (e.g. for
      deja-dup)

 -- Michael Vogt <email address hidden> Mon, 07 Mar 2011 19:25:17 +0100

Changed in software-center (Ubuntu Natty):
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.