Package: software-center
Version: 2.0.7debian7
Severity: important
Tags: squeeze

I guess it could be with even higher severity since it makes software-center
useless on a fresh squeeze installation

We have installed software-center as a part of d-i preseed/late_command for 
NeuroDebian VM and as a result, software-center fails to start (see below).  
this issue is known to "upstream" and was fixed (iirc) in the version we have 
in experimental.

Workaround for it is to run update-software-center (with su privileges), but 
ideally squeeze-proposed-updates should carry fixed-up version

Here is the crash and the status
WARNING:root:ubuntu-almost-fixed-height-mode extension not available
Traceback (most recent call last):
  File "/usr/bin/software-center", line 80, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
  File "/usr/share/software-center/softwarecenter/app.py", line 170, in __init__
    self.icons, datadir)
  File "/usr/share/software-center/softwarecenter/view/availablepane.py", line 
79, in __init__
    self._build_ui()
  File "/usr/share/software-center/softwarecenter/view/availablepane.py", line 
85, in _build_ui
    self.icons)
  File "/usr/share/software-center/softwarecenter/view/catview.py", line 89, in 
__init__
    self.categories = self.parse_applications_menu(desktopdir)
  File "/usr/share/software-center/softwarecenter/view/catview.py", line 356, 
in parse_applications_menu
    category = self._parse_menu_tag(child)
  File "/usr/share/software-center/softwarecenter/view/catview.py", line 317, 
in _parse_menu_tag
    query = self._parse_include_tag(element)
  File "/usr/share/software-center/softwarecenter/view/catview.py", line 280, 
in _parse_include_tag
    return self._parse_and_or_not_tag(include, query, xapian.Query.OP_OR)
  File "/usr/share/software-center/softwarecenter/view/catview.py", line 270, 
in _parse_and_or_not_tag
    q = self.db.xapian_parser.parse_query(s, xapian.QueryParser.FLAG_WILDCARD)
AttributeError: 'StoreDatabase' object has no attribute 'xapian_parser'


Content of directories:
brain@neurodebian:~$ ls -l /var/cache/software-center
total 4
drwxr-xr-x 2 root root 4096 Feb  7 22:11 xapian
brain@neurodebian:~$ ls -l /var/cache/software-center/xapian/
total 28
-rw-r--r-- 1 root root  0 Feb  7 22:10 flintlock
-rw-r--r-- 1 root root 28 Feb  7 22:10 iamchert
-rw-r--r-- 1 root root 13 Feb  7 22:10 postlist.baseA
-rw-r--r-- 1 root root 43 Feb  7 22:10 postlist.baseB
-rw-r--r-- 1 root root 13 Feb  7 22:10 record.baseA
-rw-r--r-- 1 root root 15 Feb  7 22:10 record.baseB
-rw-r--r-- 1 root root 13 Feb  7 22:10 termlist.baseA
-rw-r--r-- 1 root root 40 Feb  7 22:10 termlist.baseB

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages software-center depends on:
ii  app-install-data        2010.11.17       Application Installer Data Files
ii  aptdaemon               0.31+bzr413-1.1  transaction based package manageme
ii  gnome-icon-theme        2.30.3-2         GNOME Desktop icon theme
ii  gnome-menus             2.30.3-1         an implementation of the freedeskt
ii  lsb-release             3.2-23.2squeeze1 Linux Standard Base version report
ii  policykit-1             0.96-4           framework for managing administrat
ii  policykit-1-gnome       0.96-3           GNOME authentication agent for Pol
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-apt              0.7.100.1        Python interface to libapt-pkg
ii  python-aptdaemon        0.31+bzr413-1.1  Python module for the server and c
ii  python-aptdaemon-gtk    0.31+bzr413-1.1  Python GTK+ widgets to run an aptd
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  python-dbus             0.83.1-1         simple interprocess messaging syst
ii  python-gconf            2.28.1-1         Python bindings for the GConf conf
ii  python-gtk2             2.17.0-4         Python bindings for the GTK+ widge
ii  python-webkit           1.1.7-1+b1       WebKit/Gtk Python bindings
ii  python-xapian           1.2.3-3          Xapian search engine interface for
ii  python-xdg              0.19-2           Python library to access freedeskt

Versions of packages software-center recommends:
ii  apt-xapian-index           0.41          maintenance and search tools for a
ii  software-properties-gtk    0.60.debian-3 manage the repositories that you i
ii  update-notifier            0.99.3debian8 Daemon which notifies about packag

software-center suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to