[Bug 843002] Re: Crashes when "For Purchase" apps have been installed
Rodney Dawes
843002 at bugs.launchpad.net
Wed Sep 14 19:45:07 UTC 2011
It seems like if python-apt is going to support users not being able to
read certain files, it should handle them gracefully instead of raising
an error and not letting the apt.Cache API be usable at all.
I'll work around this by adding a fallback in ubuntuone-installer, but
I'm also adding python-apt to this task, as it needs to handle this
gracefully.
** Also affects: python-apt
Importance: Undecided
Status: New
** Also affects: python-apt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/843002
Title:
Crashes when "For Purchase" apps have been installed
Status in Python-APT:
New
Status in Ubuntu One Installer:
New
Status in “python-apt” package in Ubuntu:
New
Status in “ubuntuone-installer” package in Ubuntu:
New
Bug description:
To test:
1) Install a For Purchase app from the software center
2) Enter a Guest Session
3) Run ubuntuone-installer
You will see something like the following:
guest-ywuCAB at tambo:~$ ubuntuone-installer
Traceback (most recent call last):
File "/usr/bin/ubuntuone-installer", line 31, in <module>
if is_installed('ubuntuone-control-panel-gtk'):
File "/usr/bin/ubuntuone-installer", line 26, in is_installed
cache = apt.Cache()
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 93, in __init__
self.open(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 140, in open
self._list.read_main_list()
SystemError: E:Opening /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_braid_ubuntu.list - ifstream::ifstream (13: Permission denied)
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-apt/+bug/843002/+subscriptions
More information about the foundations-bugs
mailing list