Software center does not load any content

Bug #876941 reported by omichalek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) I open Software center
2) It does not load anything in the "all software" tab nor anything in the "installed" section
3) the "history" tab does load after a while

When opening from Terminal, this is the output:

2011-10-18 00:13:10,716 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
Traceback (most recent call last):
  File "/usr/share/software-center/update-software-center-agent", line 39, in <module>
    from softwarecenter.db.update import update_from_software_center_agent
  File "/usr/share/software-center/softwarecenter/db/update.py", line 89, in <module>
    cataloged_times = pickle.load(open(CF))
cPickle.UnpicklingError: invalid load key, '/'.
2011-10-18 00:13:11,182 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 1
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1193, in show_lobby
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 125, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 109, in init_view
    SoftwarePane.init_view(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 261, in init_view
    self.icons, self.show_ratings)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py", line 71, in __init__
    self.helper = AppPropertiesHelper(db, cache, icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 228, in __init__
    softwarecenter.paths.APP_INSTALL_PATH)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 111, in parse_applications_menu
    category = self._parse_menu_tag(child)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 267, in _parse_menu_tag
    l = self._parse_directory_tag(element)
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 142, in _parse_directory_tag
    from softwarecenter.db.update import DesktopConfigParser
  File "/usr/share/software-center/softwarecenter/db/update.py", line 89, in <module>
    cataloged_times = pickle.load(open(CF))
cPickle.UnpicklingError: invalid load key, '/'.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: software-center 5.0.1.4
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 17 23:46:37 2011
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: Upgraded to oneiric on 2011-10-16 (1 days ago)

Revision history for this message
omichalek (omichalek) wrote :
Revision history for this message
omichalek (omichalek) wrote :

please, what can I do? I tried reinstalling it in many ways and removing various other packages but my software-center still does not work

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi omichalek, and thank you for your bug report. This issue and its fix is being tracked over in bug 891499, so I will mark this one as a duplicate of that.

Per the other report, it appears that a local cache file that Software Center uses has become corrupted and that is causing this issue. First, so that we can take a look at the file to see exactly what went wrong, could you please attach the following file to bug 891499?:

   /var/lib/apt-xapian-index/cataloged_times.p

After you've done that, you can restore normal Software Center operation as follows. Please shut down Software Center (if it is running) and type the following command into a terminal window to delete the corrupted file:

  $ sudo rm /var/lib/apt-xapian-index/cataloged_times.p

After this, Software Center should start normally. Please let us know if it does not, or if have you any further problems.

Thank you again!

Revision history for this message
omichalek (omichalek) wrote :

You mean that bug is duplicate of mine, right? Just kidding, thank you for the note! I attached the file there already, but deleting it does not solve my problem...

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.