software-center-gtk3 crashed with AttributeError in _append_new(): 'NoneType' object has no attribute 'query'

Bug #835129 reported by cgarre on 2011-08-26
290
This bug affects 54 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
High
Gary Lasker
Oneiric
High
Gary Lasker

Bug Description

Updated to latest 11.10 (daily updates), and then when i wanted to install skype, i opened the deb in usc and then it crashed. I dont remember using USC recently, but after that i am not able to open USC at all.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.20
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
Date: Fri Aug 26 15:42:44 2011
ExecutablePath: /usr/share/software-center/software-center-gtk3
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center-gtk3
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center-gtk3']
SourcePackage: software-center
Title: software-center-gtk3 crashed with AttributeError in _append_new(): 'NoneType' object has no attribute 'query'
UpgradeStatus: Upgraded to oneiric on 2011-08-26 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

cgarre (cgarre) wrote :
tags: removed: need-duplicate-check
Changed in software-center (Ubuntu):
status: New → Confirmed
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.

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

visibility: private → public
tags: added: iso-testing
Changed in software-center (Ubuntu Oneiric):
importance: Undecided → High
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Martin Pitt (pitti) on 2011-08-29
Changed in software-center (Ubuntu Oneiric):
assignee: Canonical Desktop Team (canonical-desktop-team) → Gary Lasker (gary-lasker)
tags: added: bugpattern-needed
Syukri_Lajin (ginger-boy92) wrote :

crashed after opening software centre on first run after install. nothing appeared on the windows except the top bar (where search are located). its fine after the second run.

tags: removed: bugpattern-needed
gackthugo (gackthugo) wrote :

USC crashed simply after opening the app... Ubuntu 11.10 beta1.

Iain Hamilton (iain-foom) wrote :

USC Crashes and a crash report is generated, however the application continues to run. Only the installer section causes a crash. The other sections do not produce any errors.

Changed in software-center (Ubuntu Oneiric):
status: Confirmed → Triaged
tags: added: bugpattern-written
tags: added: rks-mgr-o-tracking
Changed in software-center (Ubuntu Oneiric):
status: Triaged → In Progress
Gary Lasker (gary-lasker) wrote :

A fix for this one is now committed and will be available with the next development release of software-center, currently planned for tomorrow mid-morning EST.

Thanks all!

Changed in software-center (Ubuntu Oneiric):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (5.6 KiB)

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

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

  [ Gary Lasker ]
  * data/ubuntu-software-center.desktop.in,
    debian/rules,
    setup.py,
    software-center,
    software-center-gtk2,
    softwarecenter/toolkit.py:
    - launch the new UI using 'software-center', add script
      to launch the old version if feeling nostalgic (LP: #839257)
  * softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - fix incorrect ellipsize for title and summary in the
      details view (LP: #842271)
  * softwarecenter/ui/gtk3/panes/availablepane.py,
    softwarecenter/ui/gtk3/session/viewmanager.py:
    - hide the search field when in the purchase
      view (LP: #844883)
  * softwarecenter/ui/gtk3/views/catview_gtk.py:
    - don't create the what's new panel if we don't have the
      corresponding category (LP: #835129)
  * softwarecenter/ui/gtk3/panes/installedpane.py:
    - fix crash in rebuild_categorised_view while viewing
      installed items (LP: #834260)
  * test/gtk3/test_catview.py,
    test/gtk3/test_panes.py,
    test/test_addons.py,
    test/test_package_info.py:
    - fix unit tests
  * setup.py:
    - fix build error when merging authors list
  * merged lp:~gary-lasker/software-center/pyflakes-fixes, no
    user visible changes, only code cleanup
  * po/software-center.pot:
    - refresh .pot file

  [ Matthew McGowan ]
  * data/ui/gtk3/css/softwarecenter.css,
    softwarecenter/ui/gtk3/views/appdetailsview_gtk.py:
    - fix grey addon label, only pkgname should be grey
      (LP: #838607)
  * softwarecenter/ui/gtk3/widgets/description.py,
    softwarecenter/utils.py,
    test/test_description_norm.py:
    - description formatting improvements, update unit test
  * data/ui/gtk3/css/softwarecenter.css,
    softwarecenter/ui/gtk3/widgets/cellrenderers.py:
    - use css to set border-radius of cellrenderer button
  * softwarecenter/ui/gtk3/views/appview.py:
    - disable appcount display at the bottom of list views
      for now to allow keyboard scrolling to work (LP: #830258)
  * lp:~mmcg069/software-center/lobby-tweaks:
    - restore tile borders but disable the checkerboard
      rendering, color tweaks and other improvements to the
      title area visuals
  * merge lp:~mmcg069/software-center/image-data-cleanup:
    - cleanup unused image files (LP: #839736)
  * softwarecenter/ui/gtk3/panes/softwarepane.py:
    - fix doubled search results (LP: #840235)
  * softwarecenter/ui/gtk3/app.py:
    - fix "Copy Web Link" feature (LP: #830291)

  [ Andrea Cimitan ]
  * softwarecenter/ui/gtk3/widgets/symbolic_icons.py:
    - Fix blurriness of toolbar icons, reduce shadow alpha level

  [ Gabor Kelemen ]
  * po/POTFILES.in:
    - additional i18n fixes (LP: #836346)

  [ Kiwinote ]
  * remove the old webkit ui
  * remove the need for dummy-screenshot-ubuntu.png (LP: #837223)
  * data/ui/gtk3/SoftwareCenter.ui,
    softwarecenter/ui/gtk3/app.py:
    - make all the accelerators work again (LP: #640426, LP: #660050,
      LP: #828233, LP: #830238, LP: #834988, LP: #843682)
      also fixes (LP: #823094, LP: #837062)
  * softwarecenter/db/appfilter.py,
    softwarecenter/ui/...

Read more...

Changed in software-center (Ubuntu Oneiric):
status: Fix Committed → Fix Released
0vermind (mike-lierman) wrote :

This bug is definitely not fixed. Recently installed 11.10 beta 1, and immediately updated and updated everything, as that's my usual course of action when installing Ubuntu. I run apt-get update, apt-get upgrade, and apt-get dist-upgrade, nothing new to be updated or upgraded. My Ubuntu Software Center version is 4.1.22, and it just crashed and Firefox opened and took me to this page.

I'd be more than willing to provide any additional information, but just wanted to let whoever made the last commit and close this bug report, that it is infact, NOT fixed.

Mike

Gary Lasker (gary-lasker) wrote :

Hi Mike, thanks very much for reporting back on this. This one is a little bit mysterious because I believe it should no longer be possible to get this error stacktrace after the change that was made if software-center 4.1.22 for this fix. If you don't mind, could you please attach your software-center log file to this bug as it will hopefully contain the information we need to figure out exactly what's happening. The log file can be found at:

  ~/.cache/software-center/software-center.log

We'll get to the bottom if this. Thanks again, your help is much appreciated!

Gary

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers