AttributeError in the Software Center's Python code

Bug #685954 reported by Kenny Strawn
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

kenny_strawn@kenny-AOA110:~$ sudo software-center
2010-12-06 04:39:18,057 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 96, 'open')'
2010-12-06 04:39:18,057 - root - WARNING - failed to add sca db Couldn't stat '/home/kenny_strawn/.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'
kenny_strawn@kenny-AOA110:~$

Apparently the "get_description()" function is undefined within the Query class.

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: Mon Dec 6 04:40:19 2010
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101205)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center

Revision history for this message
Kenny Strawn (realkstrawn93) wrote :
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi ks64! As I pointed out in response to your message yesterday, this bug is a duplicate of bug 684887.

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.