software-center crash with 12.10 DatabaseOpeningError: Couldn't detect type of database

Bug #1043788 reported by Thomas Brunsfeld
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

hi community,
I am a rookie concerning ubuntu, so please have it in mind when you hopefully support me. I have just installed version 12.10, no upgrade or something else, brand new installation from a DVD. I cannot start software-center. The window pops up, but just for a seconde, then it is been closed automatically. I started the programm via console, please have a look at the log messages. Does anybody ḱnow how to solve that issue?

tbrunsfe@ubuntu:~$ software-center
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-ja-jp.conf", line 141: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/69-language-selector-zh-tw.conf", line 79: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 9: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 22: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 26: Having multiple <family> in <alias> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 31: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 40: Having multiple values in <test> isn't supported and may not works as expected
2012-08-30 13:29:29,931 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2012-08-30 13:29:29,952 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2012-08-30 13:29:30,102 - softwarecenter.ui.gtk3.app - INFO - building local database
2012-08-30 13:29:30,102 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2012-08-30 13:29:32,640 - softwarecenter.db.update - WARNING - Problem creating rebuild path '/var/cache/software-center/xapian_rb'.
2012-08-30 13:29:32,640 - softwarecenter.db.update - WARNING - Please check you have the relevant permissions.
2012-08-30 13:29:32,641 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True

(software-center:2629): Gtk-WARNING **: Theme parsing error: softwarecenter.css:34:20: Not using units is deprecated. Assuming 'px'.

(software-center:2629): Gtk-WARNING **: Theme parsing error: softwarecenter.css:34:22: Not using units is deprecated. Assuming 'px'.

(software-center:2629): Gtk-WARNING **: Theme parsing error: softwarecenter.css:56:20: Not using units is deprecated. Assuming 'px'.

(software-center:2629): Gtk-WARNING **: Theme parsing error: softwarecenter.css:56:22: Not using units is deprecated. Assuming 'px'.

(software-center:2629): Gtk-WARNING **: Theme parsing error: softwarecenter.css:60:20: Not using units is deprecated. Assuming 'px'.

(software-center:2629): Gtk-WARNING **: Theme parsing error: softwarecenter.css:60:22: Not using units is deprecated. Assuming 'px'.
2012-08-30 13:29:32,713 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
2012-08-30 13:29:32,943 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2012-08-30 13:29:32,956 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2012-08-30 13:29:32,956 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2012-08-30 13:29:33,075 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2012-08-30 13:29:33,078 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
  File "/usr/bin/software-center", line 184, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1416, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1354, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 151, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 142, in init_view
    SoftwarePane.init_view(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 140, in init_view
    self.icons, self.show_ratings)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py", line 70, in __init__
    self.helper = AppPropertiesHelper(db, cache, icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 110, in __init__
    softwarecenter.paths.APP_INSTALL_PATH)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 271, in parse_applications_menu
    category = self._parse_menu_tag(child)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 465, in _parse_menu_tag
    query = self._parse_include_tag(element)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 423, in _parse_include_tag
    xapian.Query.OP_AND)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 360, in _parse_and_or_not_tag
    operator_elem, xapian.Query(), xapian.Query.OP_OR)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 406, in _parse_and_or_not_tag
    q = self.db.xapian_parser.parse_query(s,
  File "/usr/share/software-center/softwarecenter/db/database.py", line 174, in xapian_parser
    xapian_parser = self._get_new_xapian_parser()
  File "/usr/share/software-center/softwarecenter/db/database.py", line 200, in _get_new_xapian_parser
    xapian_parser.set_database(self.xapiandb)
  File "/usr/share/software-center/softwarecenter/db/database.py", line 166, in xapiandb
    self._db_per_thread[thread_name] = self._get_new_xapiandb()
  File "/usr/share/software-center/softwarecenter/db/database.py", line 179, in _get_new_xapiandb
    xapiandb = xapian.Database(self._db_pathname)
  File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 3666, in __init__
    _xapian.Database_swiginit(self,_xapian.new_Database(*args))
xapian.DatabaseOpeningError: Couldn't detect type of database
tbrunsfe@ubuntu:~$

affects: linuxdcpp (Ubuntu) → software-center (Ubuntu)
Revision history for this message
Thomas Brunsfeld (tbrunsfeld) wrote :

Hello,
is anybody there who can support in that case?

kr
thomas

summary: - software-center crash with 12.10
+ software-center crash with 12.10 DatabaseOpeningError: Couldn't detect
+ type of database
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Benji (sandoval-alvarez) wrote :
Download full text (3.3 KiB)

I have the same problem, but I actually update the system and it when it happened

To me, terminal show

ben@ben-U31F:~$ software-center
2012-09-08 17:59:27,126 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2012-09-08 17:59:27,230 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True

(software-center:8107): Gtk-WARNING **: Theme parsing error: softwarecenter.css:34:20: Not using units is deprecated. Assuming 'px'.

(software-center:8107): Gtk-WARNING **: Theme parsing error: softwarecenter.css:34:22: Not using units is deprecated. Assuming 'px'.

(software-center:8107): Gtk-WARNING **: Theme parsing error: softwarecenter.css:56:20: Not using units is deprecated. Assuming 'px'.

(software-center:8107): Gtk-WARNING **: Theme parsing error: softwarecenter.css:56:22: Not using units is deprecated. Assuming 'px'.

(software-center:8107): Gtk-WARNING **: Theme parsing error: softwarecenter.css:60:20: Not using units is deprecated. Assuming 'px'.

(software-center:8107): Gtk-WARNING **: Theme parsing error: softwarecenter.css:60:22: Not using units is deprecated. Assuming 'px'.
2012-09-08 17:59:27,827 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
2012-09-08 17:59:29,434 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2012-09-08 17:59:29,486 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2012-09-08 17:59:29,486 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2012-09-08 17:59:29,607 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2012-09-08 17:59:29,660 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
  File "/usr/bin/software-center", line 185, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1418, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1356, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 151, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 142, in init_view
    SoftwarePane.init_view(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 156, in init_view
    from softwarecenter.ui.gtk3.views.appdetailsview import (
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 57, in <module>
    from softwarecenter.ui.gtk3.widgets.labels import HardwareRequirementsBox
  File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/labels.py", line 25, in <module>
    class HardwareRequirementsLabel(Gtk.HBox):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/widgets/labels.py", line 34, in HardwareRequire...

Read more...

Revision history for this message
Thomas Brunsfeld (tbrunsfeld) wrote :

I have just made an update, and software-center works fine now. I mean, it starts and does not crash. So far so good, I guess that my request can be closed now.

kr
thomas

Revision history for this message
Benji (sandoval-alvarez) wrote :

Yeah, me to, the software-center works fine now (I update ubuntu today 11 sept -Mexico-).
Gracias.

Revision history for this message
Rikard (flygruntvarlden-trean) wrote :

Software center not working for me, just updated from 12.04 to 12.10.

Revision history for this message
Hibou57 (Yannick Duchêne) (yannick-duchene) wrote :

The same with Ubuntu 12.04. I re‑installed apt‑xapian‑index, but still the same.

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.