software-center doesn't start

Asked by Luca Olioso

Binary package hint: software-center

I installed some software (keepass, Truekrypt) in my Lucid installation, and after this, ubuntu software-center doesn't start.
I launch the software via menu, the process start (I see it using the top command), but after few seconds it disappear.
On the screen I don't see anything else that the waiting cursor.
I tried to uninstall and then install the software-center more times but the software did not start.
Please help me.
Thanks
Luca

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #598056.

Revision history for this message
Omer Akram (om26er) said :
#1

please reboot. then start software-center from terminal and when the crash happens paste the logs here

Revision history for this message
Luca Olioso (luca-olioso) said :
#2

Hi, this is the crash log.
Thanks in advance.
Luca

Traceback (most recent call last):
  File "/usr/bin/software-center", line 80, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
  File "/usr/share/software-center/softwarecenter/app.py", line 221, in __init__
    self.config = get_config()
  File "/usr/share/software-center/softwarecenter/backend/config.py", line 43, in get_config
    _software_center_config = SoftwareCenterConfig(SOFTWARE_CENTER_CONFIG_FILE)
  File "/usr/share/software-center/softwarecenter/backend/config.py", line 30, in __init__
    self.read(self.configfile)
  File "/usr/lib/python2.6/ConfigParser.py", line 286, in read
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /home/lucaolioso/.config/softwarecenter/softwarecenter.cfg, line: 1
'\x1f\x8b\x08\x00\x00\x00\x00\x00\x02\xff\xb5\xbd\xe9z\xdb\xc6\xb2(\xfa\xdfO!!^4`B\x14)\x0fI\x08\xb5\xf8\xd9\xb2l+\x1ec9#\xa5\xf8k\x0c$!\x81\x83\x00P#y\x9e\xe7\xbc\xc7y\xb1[U=\xa0\x01\x82\x92\xb3\xf6\xbe+\xcb"\xd0\xe8\xb9\xab'

Revision history for this message
michael wentzell (mikewentz22) said :
#3

Make sure all the files are in the correct directories and can you please supply a little more information?

Revision history for this message
michael wentzell (mikewentz22) said :
#4

Didnt provide correct information to be a bug thus is a question.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Gary Lasker (gary-lasker) said :
#6

Hi Luca, I'm sorry that I did not see this question earlier. The problem you are seeing appears to be caused by a corrupted config file that is used by Software Center to store simple UI preferences such as window size, maximized state, etc. It's perfectly safe to just delete that file. In a terminal, type the following:

       rm ~/.config/softwarecenter/softwarecenter.cfg

After this, Software Center should start normally.

Please let me know if this does not fix the problem. Thanks!

Revision history for this message
Luca Olioso (luca-olioso) said :
#7

Tank you very much Gary. Now Software Center works fine. Best Regards.
Luca Olioso

2010/7/30, Gary Lasker <email address hidden>:
> Your question #116825 on software-center in ubuntu changed:
> https://answers.edge.launchpad.net/ubuntu/+source/software-center/+question/116825
>
> Gary Lasker posted a new comment:
> Hi Luca, I'm sorry that I did not see this question earlier. The
> problem you are seeing appears to be caused by a corrupted config file
> that is used by Software Center to store simple UI preferences such as
> window size, maximized state, etc. It's perfectly safe to just delete
> that file. In a terminal, type the following:
>
> rm ~/.config/softwarecenter/softwarecenter.cfg
>
> After this, Software Center should start normally.
>
> Please let me know if this does not fix the problem. Thanks!
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

--
Inviato dal mio dispositivo mobile

Revision history for this message
Gary Lasker (gary-lasker) said :
#8

Thanks Luca, I'm glad to hear it worked!

Best regards,
Gary

Revision history for this message
nikos (nikos-8) said :
#9

Hi all,
I have a similar problem but USC doesn't start even if I remove softwarecenter.cfg.
Here is what I obtain in command line:
nikos@ubuntu-desktop:~/.config/softwarecenter$ /usr/bin/software-center
Traceback (most recent call last):
  File "/usr/bin/software-center", line 111, in <module>
    from softwarecenter.app import SoftwareCenterApp
  File "/usr/share/software-center/softwarecenter/app.py", line 53, in <module>
    from view.installedpane import InstalledPane
  File "/usr/share/software-center/softwarecenter/view/installedpane.py", line 35, in <module>
    from softwarepane import SoftwarePane
  File "/usr/share/software-center/softwarecenter/view/softwarepane.py", line 54, in <module>
    from appdetailsview_gtk import AppDetailsViewGtk as AppDetailsView
  File "/usr/share/software-center/softwarecenter/view/appdetailsview_gtk.py", line 45, in <module>
    from softwarecenter.backend.zeitgeist_simple import zeitgeist_singleton
  File "/usr/share/software-center/softwarecenter/backend/zeitgeist_simple.py", line 25, in <module>
    from zeitgeist.client import ZeitgeistClient
  File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 36, in <module>
    from zeitgeist.datamodel import (Event, Subject, TimeRange, StorageState,
ValueError: bad marshal data (unknown type code)

Can you help with this problem?

Provide an answer of your own, or ask Luca Olioso for more information if necessary.

To post a message you must log in.