← Back to team overview

dx-packages team mailing list archive

[Bug 1349813] Re: [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized] While trying to change a ringtone

 

Backported a fix from upstream which allows us to write to
accountsservice over ssh. previously it was desktop-centric.

** Also affects: accountsservice (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: accountsservice (Ubuntu)
     Assignee: (unassigned) => Omer Akram (om26er)

** Changed in: accountsservice (Ubuntu)
       Status: New => In Progress

** Patch added: "debdiff.patch"
   https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1349813/+attachment/4165783/+files/debdiff.patch

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1349813

Title:
  [org.freedesktop.Accounts.Error.PermissionDenied: Not authorized]
  While trying to change a ringtone

Status in “accountsservice” package in Ubuntu:
  In Progress
Status in “ubuntu-system-settings” package in Ubuntu:
  Won't Fix

Bug description:
  On my Ubuntu phone, I am trying to write an integration test which
  involves backing up the old ringtone value and then restoring it. The
  backup works fine but when I try to write the value it gives:

  phablet@ubuntu-phablet:~$ ./accounts_service_issue.py 
  Current ringtone: Ubuntu.ogg 
  Trying to set to: Supreme.ogg
  Traceback (most recent call last):
    File "./accounts_service_issue.py", line 47, in <module>
      set_ringtone()
    File "./accounts_service_issue.py", line 23, in set_ringtone
      new_ringtone)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
    File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.PermissionDenied: Not authorized

  Not really sure whats happening there, any help is appreciated.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: ubuntu-system-settings 0.3+14.10.20140714-0ubuntu2
  ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
  Uname: Linux 3.15.0-6-generic x86_64
  ApportVersion: 2.14.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jul 29 17:19:22 2014
  InstallationDate: Installed on 2014-06-14 (44 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140610.1)
  SourcePackage: ubuntu-system-settings
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1349813/+subscriptions