cannot start software center

Bug #671054 reported by Martin Lee
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: software-center

After do latest upgrade today suddenly my software center is can't start without any notification or crash report. I try to reinstalling the software center but it didn't success

Best Regards,

Martin Lee

Revision history for this message
Kiwinote (kiwinote) wrote :

Hi Martin! Thanks for your bug report. There are many possible reasons why software-center may fail to start, so we're going to need a little more info from you. Could you please open a terminal (applications > accessories) and then type 'software-center' followed by an enter and then add any output to a new comment on this bug? Thanks in advance!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Lee (hellnest) wrote :

shyntax@unix-ubu:~$ software-center
WARNING:root:trying to fix not writable cache directory
ERROR:root:failed to fix not writable cache directory
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/paths.py", line 31, in try_to_fixup_root_owned_dir_via_remove
    os.rmdir(directory)
OSError: [Errno 39] Directory not empty: '/home/shyntax/.cache/software-center'
Traceback (most recent call last):
  File "/usr/bin/software-center", line 38, in <module>
    import softwarecenter.log
  File "/usr/share/software-center/softwarecenter/log.py", line 94, in <module>
    backupCount=5)
  File "/usr/lib/python2.6/logging/handlers.py", line 112, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.6/logging/handlers.py", line 64, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.6/logging/__init__.py", line 827, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.6/logging/__init__.py", line 846, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/shyntax/.cache/software-center/software-center.log'

That's the result ")

Revision history for this message
Kiwinote (kiwinote) wrote :

Hi Martin! Thanks for that additional info. This was a temporary issue in one of the development releases of software-center - the easiest way to solve this is to delete the /home/shyntax/.cache/software-center folder and its contents. You can locate this folder by opening nautilus (the file browser) in your home directory, pressing ctrl + h to make the hidden folders visible, and navigating to and deleting the folder. You may or may not get an error saying that you don't have permissions to delete the folder and its content - in that case you can use 'gksudo nautilus' from the terminal and then follow the process described above. Hope it helps!

Revision history for this message
Martin Lee (hellnest) wrote :

thanks it's worked :)

Changed in software-center (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Closing this one per Kiwinote's comment #3 where he points out that this was a temporary condition in a development release and Martin's confirmation that Kiwinote's workaround was successful.

Thanks both of you!

Changed in software-center (Ubuntu):
status: Confirmed → Invalid
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.