Public bug reported:

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)

** Affects: ubuntu-system-settings (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages utopic

** Attachment added: "accounts_service_issue.py"
   
https://bugs.launchpad.net/bugs/1349813/+attachment/4165070/+files/accounts_service_issue.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1349813

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to