software-center crashed with IOError in _open(): [Errno 13] Permission denied: '/home/ryan/.cache/software-center/software-center.log'

Bug #738341 reported by Ryan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: software-center

Bug report/crash occurs when software center tries to load:

Software-Center version:
ii software-center 3.1.23.3 Utility for browsing, installing, and removing applications

lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.23.3
ProcVersionSignature: Ubuntu 2.6.38-7.36-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Mar 19 12:58:02 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/software-center fusion-icon/Compiz\ Fusion\ Icon
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/software-center', 'fusion-icon/Compiz Fusion Icon']
SourcePackage: software-center
Title: software-center crashed with IOError in _open(): [Errno 13] Permission denied: '/home/ryan/.cache/software-center/software-center.log'
UpgradeStatus: Upgraded to natty on 2011-03-13 (5 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Ryan (murdock304) wrote :
Revision history for this message
Ryan (murdock304) wrote :

re-install attempt provides the following output:
sudo apt-get install --reinstall software-center
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 459 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main software-center amd64 3.1.23.3 [459 kB]
Fetched 459 kB in 2s (209 kB/s)
(Reading database ... 158886 files and directories currently installed.)
Preparing to replace software-center 3.1.23.3 (using .../software-center_3.1.23.3_amd64.deb) ...
Unpacking replacement software-center ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for python-support ...
Setting up software-center (3.1.23.3) ...
Updating software catalog...this may take a moment.
2011-03-19 13:03:51,913 - softwarecenter.db.update - WARNING - The file: '/usr/share/app-install/desktop/gnome-do.desktop' could not be read correctly. The application associated with this file will not be included in the software catalog. Please consider raising a bug report for this issue with the maintainer of that application
Software catalog update was successful.
Processing triggers for python-central ...

Revision history for this message
Ryan (murdock304) wrote :

Somehow files under my home directory (specifically the software-manager log) were owned by root, corrected the issue corrected by issuing the following command:
ryan@ryan:/home$ sudo chown -R ryan:ryan ryan
chown: cannot access `ryan/.gvfs': Permission denied

Though I do receive the following output upon manually launching (though it does now launch successfully):

ryan@ryan:/home$ /usr/bin/python /usr/bin/software-center
2011-03-19 13:11:14,236 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 154, 'open')'
2011-03-19 13:11:14,236 - root - WARNING - failed to add sca db Couldn't stat '/home/ryan/.cache/software-center/software-center-agent.db' (No such file or directory)
/usr/share/software-center/softwarecenter/app.py:1114: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.window_main.show_all()
/usr/share/software-center/softwarecenter/SimpleGtkbuilderApp.py:50: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
2011-03-19 13:11:18,533 - softwarecenter.app - INFO - software-center-agent finished with status 1

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #688682, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.