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

Bug #725642 reported by ubby
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Medium
Gary Lasker

Bug Description

Binary package hint: software-center

I get this bug when testing Ubuntu 11.04 daily build from today in virtualbox.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.20
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Sat Feb 26 18:13:07 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110226)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANGUAGE=nl_NL:en
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with AttributeError in _on_allocate(): 'NoneType' object has no attribute 'set_width'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 176, in _on_allocate
     self.whatsnew_carousel.set_width(w)
 AttributeError: 'NoneType' object has no attribute 'set_width'
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
ubby (kostas-sytske) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Per-Inge (per-inge-hallin) wrote :

Software Center crashes every 5 second

Revision history for this message
Per-Inge (per-inge-hallin) wrote :

When Software Center is started a second time it works

Changed in software-center (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Gary Lasker (gary-lasker)
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Thanks very much all for taking the time to report this bug. The fix for this has been committed and will be available soon with the next development release of Software Center. Please continue to report any bugs or issue that you may encounter as you use Software Center. Your help is very much appreciated!

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):
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.