"Software sources" and "software center" fail to run

Bug #941011 reported by Tim Miller
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snowlinux
Fix Released
Medium
Lars Torben Kremer

Bug Description

"Software center" and "software center" are found under System>Administration. They are associated with "software-center" and "software-properties-gtk" in /usr/bin/. When I click on these I briefly get the spinning icon. The icon then disappears and the computer appears to be otherwise unaffected. I have these same problems on a new HP Pavilion and a 4-yr old Acer Aspire.

When I run "software-center" under root terminal I get the following messages.

root@hp_snowlinux:/usr/bin# software-center
librdf warning - Model does not support contexts
librdf warning - Model does not support contexts
librdf warning - Model does not support contexts
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/pygst.py", line 28, in <module>
    import sys
KeyError: 'pygst'
Traceback (most recent call last):
  File "/usr/bin/software-center", line 78, in <module>
    from softwarecenter.app import SoftwareCenterApp
  File "/usr/share/software-center/softwarecenter/app.py", line 42, in <module>
    from view.viewswitcher import ViewSwitcher, ViewSwitcherList
  File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 34, in <module>
    from softwarecenter.backend.channel import SoftwareChannel
  File "/usr/share/software-center/softwarecenter/backend/channel.py", line 22, in <module>
    from softwarecenter.distro import get_distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 104, in <module>
    distro_instance=_get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 93, in _get_distro
    module = __import__(distro_id, globals(), locals(), [], -1)
ImportError: No module named Snowlinux

When I run "software-properties-gtk" under root terminal I get the following messages

root@hp_snowlinux:/usr/bin# software-properties-gtk
/usr/lib/pymodules/python2.6/softwareproperties/SoftwareProperties.py:34: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=data_dir, options=options, file=file)
  File "/usr/lib/pymodules/python2.6/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 75, in __init__
    SoftwareProperties.__init__(self, options=options, datadir=datadir)
  File "/usr/lib/pymodules/python2.6/softwareproperties/SoftwareProperties.py", line 55, in __init__
    self.reload_sourceslist()
  File "/usr/lib/pymodules/python2.6/softwareproperties/SoftwareProperties.py", line 450, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template

Revision history for this message
Lars Torben Kremer (larstorbenkremer) wrote :

Hello!

A fix was already programmed but it is not available in the repository yet. In stable release it will be fixed.

Greetings,
Lars

Changed in snowlinux:
importance: Undecided → Medium
assignee: nobody → Lars Torben Kremer (larstorbenkremer)
status: New → Confirmed
Changed in snowlinux:
status: Confirmed → In Progress
Changed in snowlinux:
status: In Progress → Fix Released
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.