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

Bug #746984 reported by varun kumar on 2011-04-01
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Low
Michael Terry

Bug Description

Binary package hint: software-center

software center crashed after updating..

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.24.4
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Fri Apr 1 10:28:38 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/software-center sylpheed/Sylpheed
ProcEnviron:
 SHELL=/bin/bash
 LC_MESSAGES=en_IN.UTF-8
 LANGUAGE=en_IN:en
 LANG=en_IN
PythonArgs: ['/usr/bin/software-center', 'sylpheed/Sylpheed']
SourcePackage: software-center
Title: software-center crashed with AttributeError in init_view(): 'NoneType' object has no attribute 'set_cursor'
UpgradeStatus: Upgraded to natty on 2011-03-26 (5 days ago)
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin plugdev sambashare tape video

varun kumar (varunkumar-eie) wrote :
tags: removed: need-duplicate-check
Robert Roth (evfool) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

visibility: private → public
Michael Terry (mterry) wrote :

I'm guessing that this patch will fix this. Realizing a Gtk.Widget will create it's Gdk.Window.

Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Michael Terry (mterry)
Gary Lasker (gary-lasker) wrote :

Many thanks, Mike! Your patch is in trunk now.

Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
tags: added: patch
Launchpad Janitor (janitor) wrote :

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

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

  [ Michael Vogt ]
  * merged lp:~alexeftimie/software-center/backend-refactor,
    many thanks
  * merged lp:~mmcg069/software-center/search-aid-improvments,
    many thanks
  * add generic "use_cache" to SimpleFileDownloader
  * softwarecenter/ui/gtk3/widgets/exhibits.py:
    - add basic ExhibitBanner widget
  * merged lp:~roignac/software-center/bug-805969,
    many thanks to Vadim Rutkovsky (LP: #805969)
  * merged lp:~aaronp/software-center/more-top-rated, many thanks
    to Aaron Peachey
  * add top rated carousel

  [ Gary Lasker ]
  * softwarecenter/ui/gtk/app.py,
    softwarecenter/ui/gtk/availablepane.py,
    softwarecenter/ui/gtk/catview_gtk.py,
    softwarecenter/ui/gtk/softwarepane.py:
    - improvement for a local debian package install, display a
      "loading" spinner while the package loads and do not show
      the main categories view momentarily
  * softwarecenter/backend/reviews.py:
    - fix crash on an undefined histogram value (LP: #812923)
  * softwarecenter/ui/gtk/historypane.py,
    softwarecenter/ui/gtk3/panes/historypane.py:
    - apply patch from Michael Terry to fix a crash when
      initializing the history pane, many thanks! (LP: #746984)
  * softwarecenter/db/debfile.py,
    softwarecenter/ui/gtk/appdetailsview_gtk.py,
    softwarecenter/ui/gtk/availablepane.py:
    - reduce startup time when installing a deb file by ~50%
 -- Michael Vogt <email address hidden> Fri, 22 Jul 2011 15:43:43 +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.

Duplicates of this bug

Other bug subscribers

Patches