Topic: Software-center aka gnome-app-install

Any way to get it work on statler?

I endup with "ImportError: No module named CrunchBang"

Re: Software-center aka gnome-app-install

Strange, it is in the repos.

Re: Software-center aka gnome-app-install

And i posted my error when i install it smile

Re: Software-center aka gnome-app-install

Viz wrote:

And i posted my error when i install it smile

I apologize, it was late.

Re: Software-center aka gnome-app-install

So when do we get gnome-app-install/software-center for crunchbang fixed?

****@****:~$ software-center
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 CrunchBang
****@****:~$

Since it's in the repos I'd expect it to work sooner or later. This thread is already somewhat old.

Installing it also breaks synaptic when you can't edit repositories with the GUI anymore.

/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

Last edited by Viz (2010-11-04 21:19:09)

Re: Software-center aka gnome-app-install

@Viz - See this post:

http://crunchbanglinux.org/forums/post/88408/#p88408

You can also try updating, maybe a fix was released recently.

sudo apt-get dist-upgrade
Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Software-center aka gnome-app-install

anonymous wrote:
sudo apt-get dist-upgrade

That's something i wouldn't like to do randomly. Not til i backup all of my custom configs >_>

Re: Software-center aka gnome-app-install

Its just for updating; it will not upgrade you to a different OS or anything.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.