software-center crashes with AttributeError: No constructor defined

Bug #687399 reported by Jean-Baptiste Lallement on 2010-12-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)

Bug Description

Binary package hint: software-center

software-center 3.1.4

software-center fails to launch in a fully updated Natty with the error
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/", line 209, in __init__
  File "/usr/share/software-center/softwarecenter/view/", line 97, in __init__
  File "/usr/share/software-center/softwarecenter/view/", line 108, in _build_ui
  File "/usr/share/software-center/softwarecenter/view/", line 244, in __init__
  File "/usr/share/software-center/softwarecenter/view/", line 489, in build
  File "/usr/share/software-center/softwarecenter/view/", line 315, in _build_homepage_view
  File "/usr/share/software-center/softwarecenter/view/", line 404, in _append_featured_and_new
  File "/usr/share/software-center/softwarecenter/view/", line 182, in __init__
  File "/usr/share/software-center/softwarecenter/view/", line 249, in _perform_search
    enquire.set_sort_by_key(LocaleSorter(self.db), reverse=False)
  File "/usr/share/software-center/softwarecenter/view/", line 594, in __init__
  File "/usr/lib/python2.6/dist-packages/xapian/", line 5620, in __init__
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
AttributeError: No constructor defined

Michael Vogt (mvo) on 2010-12-08
Changed in software-center (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

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

software-center (3.1.5) natty; urgency=low

  * softwarecenter/
    - on a invalid locale, reset the locale to "C" to avoid
      later crashes in the apthistory that uses strptime
      (lp: #630248)
  * softwarecenter/view/
    - fix crash with the latest python-xapian (LP: #687399)
 -- Michael Vogt <email address hidden> Wed, 08 Dec 2010 18:05:05 +0100

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