Hello shaquille, and thank you for your report. From the stacktrace that
you've attached, it appears that the log file for Software Center was
somehow corrupted or otherwise not readable. You've identified a
workaround and that should do the trick. If you have tried the
workaround, has the solved the problem for you then? Please let us know
if it has recurred.

Many thanks for your help!

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

-- 
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/1030843

Title:
  Ubuntu Update Causes Software Center To Crash

Status in “software-center” package in Ubuntu:
  Incomplete

Bug description:
  I downloaded Ubuntu 12.04LTS of ubuntu on July 29th, i installed it on
  my laptop and than ran update manager and installed all updates. After
  running updates the software center will not open.

  It gave the following error:

  
  <!--
  File "/usr/bin/software-center", line 40, in <module>
      import softwarecenter.log
    File "/usr/share/software-center/softwarecenter/log.py", line 119, in 
<module>
      logfile_path, maxBytes=100 * 1000, backupCount=5)
    File "/usr/lib/python2.7/logging/handlers.py", line 118, in __init__
      BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
    File "/usr/lib/python2.7/logging/handlers.py", line 65, in __init__
      logging.FileHandler.__init__(self, filename, mode, encoding, delay)
    File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
      StreamHandler.__init__(self, self._open())
    File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
      stream = open(self.baseFilename, self.mode)
  IOError: [Errno 5] Input/output error: 
'/home/shaq/.cache/software-center/software-center.log'
  -->

  To fix this issue

  I  Rename that log file
  from
  *.log to *.log.invalid
  then run software center again
  if that works then you can delete the old log file, if it doesn't then change 
the name back

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to