← Back to team overview

desktop-packages team mailing list archive

[Bug 875364] Re: Software Center cannot open update.py

 

This was fixed recently.

** Changed in: software-center (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/875364

Title:
  Software Center cannot open update.py

Status in “software-center” package in Ubuntu:
  Fix Released

Bug description:
  Since the upgrade to 11.10, ubuntu software center wont stop to load
  (the circle circulates, even if i wait for hours).

  When starting it in a terminal, the output is as follows:

      dominik@dominik-desktop:~$ software-center
      2011-10-16 00:06:29,908 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21
      2011-10-16 00:06:30,866 - softwarecenter.ui.gtk3.app - WARNING - database format '5' expected, but got '2'
      2011-10-16 00:06:31,166 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
      2011-10-16 00:06:31,264 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for radiance 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))
      ValueError: could not convert string to float
      2011-10-16 00:06:31,796 - 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))
      ValueError: could not convert string to float

  I tried to reinstall all python-packages i found in synaptic, didnt
  help.

  When i try to un- and reinstall the software center, i get the
  following messages at the end of the installation:

      Traceback (most recent call last):
        File "/usr/sbin/update-software-center", line 38, in <module>
          from softwarecenter.db.update import rebuild_database
        File "/usr/share/software-center/softwarecenter/db/update.py", line 89, in <module>
          cataloged_times = pickle.load(open(CF))
      ValueError: could not convert string to float

  So it seems there is a Problem with a command in update.py.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/875364/+subscriptions