software-center crashed with AttributeError in get_description()

Bug #685556 reported by Eliah Kagan
This bug report is a duplicate of:  Bug #684887: software-center didn't launch. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: software-center

On an i386 natty system, software-center (package version 3.1.3) quits immediately when run, printing the following to the console:

2010-12-05 11:07:57,277 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 96, 'open')'
2010-12-05 11:07:57,277 - root - WARNING - failed to add sca db Couldn't stat '/home/ek/.cache/software-center/software-center-agent.db' (No such file or directory)
Traceback (most recent call last):
  File "/usr/bin/software-center", line 109, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/app.py", line 209, in __init__
    self.navhistory_forward_action)
  File "/usr/share/software-center/softwarecenter/view/availablepane.py", line 100, in __init__
    self._build_ui()
  File "/usr/share/software-center/softwarecenter/view/availablepane.py", line 111, in _build_ui
    self.apps_filter)
  File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 256, in __init__
    self.build(desktopdir)
  File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 497, in build
    self._build_homepage_view()
  File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 327, in _build_homepage_view
    self._append_featured_and_new()
  File "/usr/share/software-center/softwarecenter/view/catview_gtk.py", line 412, in _append_featured_and_new
    nonapps_visible=AppStore.NONAPPS_ALWAYS_VISIBLE)
  File "/usr/share/software-center/softwarecenter/view/appview.py", line 180, in __init__
    q.get_description() for q in search_query])):
AttributeError: 'Query' object has no attribute 'get_description'

This crash did not cause Apport to run automatically. If there are steps I can take to provide more information, please let me know.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.3
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
Date: Sun Dec 5 11:24:35 2010
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: software-center

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi Eliah! Thanks for your bug report. The bug you describe is being tracked over at bug 684887, so I will mark this bug as a duplicate of the other one. Please continue to report any bugs you may find in software-center. Thanks again for your help!

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.