software-center crashed with IOError in _open(): [Errno 13] Permission denied: '/home/carcass/.cache/software-center/software-center.log'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
software-center crashed when attempting to install the google chrome .deb
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.24.4
ProcVersionSign
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
Date: Thu Mar 31 18:43:39 2011
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: software-center
Title: software-center crashed with IOError in _open(): [Errno 13] Permission denied: '/home/
UpgradeStatus: Upgraded to natty on 2011-04-01 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Actually, this appears to be a problem with software center itself...
"/usr/bin/ software- center" results in the following output and another software center crash:
WARNING:root:trying to fix not writable cache directory software- center/ softwarecenter/ paths.py" , line 59, in try_to_ fixup_root_ owned_dir_ via_remove rmdir(directory ) carcass/ .cache/ software- center' softwarecenter. fixme:logs to the root logger: '('/usr/ share/software- center/ softwarecenter/ log.py' , 96, '<module>')' fixme - WARNING - logs to the root logger: '('/usr/ share/software- center/ softwarecenter/ log.py' , 96, '<module>')' software- center/ softwarecenter/ log.py" , line 97, in <module> remove( logfile_ path) carcass/ .cache/ software- center/ software- center. log' softwarecenter. fixme:logs to the root logger: '('/usr/ share/software- center/ softwarecenter/ log.py' , 99, '<module>')' fixme - WARNING - logs to the root logger: '('/usr/ share/software- center/ softwarecenter/ log.py' , 99, '<module>')' software- center/ softwarecenter/ log.py" , line 97, in <module> remove( logfile_ path) carcass/ .cache/ software- center/ software- center. log' software- center" , line 47, in <module> software- center/ softwarecenter/ log.py" , line 103, in <module> python2. 7/logging/ handlers. py", line 118, in __init__ gHandler. __init_ _(self, filename, mode, encoding, delay) python2. 7/logging/ handlers. py", line 65, in __init__ FileHandler. __init_ _(self, filename, mode, encoding, delay) python2. 7/logging/ __init_ _.py", line 893, in __init__ er.__init_ _(self, self._open()) python2. 7/logging/ __init_ _.py", line 912, in _open baseFilename, self.mode) carcass/ .cache/ software- center/ software- center. log'
ERROR:root:failed to fix not writable cache directory
Traceback (most recent call last):
File "/usr/share/
os.
OSError: [Errno 39] Directory not empty: '/home/
WARNING:root:trying to fix non-writeable logfile
WARNING:
2011-03-31 18:59:07,387 - softwarecenter.
2011-03-31 18:59:07,387 - root - WARNING - trying to fix non-writeable logfile
ERROR:root:failed to fix non-writeable logfile
Traceback (most recent call last):
File "/usr/share/
os.
OSError: [Errno 13] Permission denied: '/home/
WARNING:
2011-03-31 18:59:07,387 - softwarecenter.
2011-03-31 18:59:07,387 - root - ERROR - failed to fix non-writeable logfile
Traceback (most recent call last):
File "/usr/share/
os.
OSError: [Errno 13] Permission denied: '/home/
Traceback (most recent call last):
File "/usr/bin/
import softwarecenter.log
File "/usr/share/
backupCount=5)
File "/usr/lib/
BaseRotatin
File "/usr/lib/
logging.
File "/usr/lib/
StreamHandl
File "/usr/lib/
stream = open(self.
IOError: [Errno 13] Permission denied: '/home/
------- ------- ------
running "sudo /usr/bin/ software- center" actually opens software center and this is terminal output:
2011-03-31 19:02:33,701 - softwarecenter. fixme - WARNING - logs to the root logger: '('/usr/ share/software- center/ softwarecenter/ db/database. py', 154, 'open')' .cache/ software- center/ software- center- agent.db' (No such file or directory) software- center/ softwarecenter/ app.py: 1119: Warning: g_object_set_qdata: assertion...
2011-03-31 19:02:33,701 - root - WARNING - failed to add sca db Couldn't stat '/root/
/usr/share/