u1oauthrequest using deprecated ubuntu_sso APIs

Bug #878307 reported by Stuart Langridge
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
desktopcouch
Won't Fix
Undecided
Unassigned
ubuntuone-couch
Fix Released
High
Natalia Bidart

Bug Description

$ u1oauthrequest https://one.ubuntu.com/api/account/
Traceback (most recent call last):
  File "/usr/bin/u1oauthrequest", line 44, in <module>
    consumer_secret=OPTIONS.consumer_secret)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-couch/ubuntuone/couch/auth.py", line 121, in request
    credentials = get_oauth_credentials()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-couch/ubuntuone/couch/auth.py", line 75, in get_oauth_credentials
    proxy.find_credentials(APP_NAME).iteritems())
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "find_credentials" with signature "s" on interface "(null)" doesn't exist

Related branches

Changed in ubuntuone-couch:
status: New → In Progress
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → High
Changed in ubuntuone-couch:
status: In Progress → Fix Committed
Revision history for this message
dobey (dobey) wrote :

This is also affecting desktopcouch. Why is there no branch linked to this bug? That seems quite odd, given that it was automatically set to Fix Committed.

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Rodney,

where is this affecting desktopcouch?

Thanks.

Revision history for this message
dobey (dobey) wrote :
Revision history for this message
dobey (dobey) wrote :

However, I think the "fix" for desktop couch at this point, is to remove the ubuntuone connectivity pieces, as we will not be supporting it any further on new versions of Ubuntu.

Changed in ubuntuone-couch:
status: Fix Committed → Fix Released
Changed in desktopcouch:
status: New → Won't Fix
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.