[Bug 852003] Re: USC fails to launch in non-admin user account if there's a private PPA

Stefano Bagnatica thepisu at gmail.com
Mon Dec 19 21:17:10 UTC 2011


I also had this issue, inside the non-admin user. If can be useful, this
is my trace:

ubuntuone-control-panel-gtk 
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/gtk/gui.py", line 1573, in on_show_management_panel
    self.management.load()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/gtk/gui.py", line 1502, in load
    self.services.load()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/logger.py", line 82, in inner
    res = f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/gtk/gui.py", line 1173, in load
    logger.info('load: has_desktopcouch? %r', self.has_desktopcouch)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/gtk/gui.py", line 1145, in has_desktopcouch
    return self.package_manager.is_installed(DESKTOPCOUCH_PKG)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/gtk/package_manager.py", line 49, 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:Apertura di /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_fullcircle-issue-50_ubuntu.list - ifstream::ifstream (13: Permesso negato)

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

Title:
  USC fails to launch in non-admin user account if there's a private PPA

Status in “python-apt” package in Ubuntu:
  Confirmed
Status in “software-center” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu Software Center 4.1.23.2, Ubuntu 11.10 beta 1

  1. Create an admin user account, and a non-admin user account, in addition to the account you're using now.
  2. Subscribe to a private PPA. (For example, purchase some software.)
  3. Switch to the admin user account, and launch Ubuntu Software Center.
  4. Switch to the non-admin user account, and launch Ubuntu Software Center.

  What happens:
  3. USC launches.
  4. USC fails to launch, with this traceback:
  ------------
  Traceback (most recent call last):
    File "/usr/bin/software-center", line 151, in <module>
      app = SoftwareCenterAppGtk3(datadir, xapian_base_path, options, args)
    File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 206, in __init__
      self.cache.open()
    File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 209, in open
      self._cache = apt.Cache(GtkMainIterationProgress())
    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_whatever_ubuntu.list - ifstream::ifstream (13: Permission denied)
  ------------

  What should happen:
  4. USC should launch, just not showing the contents of the private PPA.

  Bug 746625 (currently marked Invalid) is the equivalent bug in apt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/852003/+subscriptions




More information about the foundations-bugs mailing list