Opened 9 years ago

Closed 9 years ago

#5344 closed defect (fixed)

OAuth "not implemented" error

Reported by: ayleph Owned by:
Priority: major Milestone:
Component: programming Keywords: api, oauth
Cc: tsyesika Parent Tickets:


Now that #5340 has been fixed, I've pulled the latest code onto my dev instance. jankusanagi authorized an account with Dianara and tried to retrieve the profile but got an error. I see this in the server logs.

2015-08-20 23:18:42,575 DEBUG   [] endpoint: mediagoblin.oauth.authorize view_func: mediagoblin.oauth.views:authorize
/path/to/mediagoblin/lib/python2.7/site-packages/SQLAlchemy-0.8.7-py2.7-linux-x86_64.egg/sqlalchemy/engine/ SAWarning: Unicode type received non-unicode bind param value.
2015-08-20 23:18:44,085 DEBUG   [] endpoint: media.api.user view_func: <function user_endpoint at 0x7f04aec75668>
Error - <type 'exceptions.NotImplementedError'>: Subclasses must implement this function.
File '/path/to/mediagoblin/lib/python2.7/site-packages/Paste-', line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File '/path/to/mediagoblin/mediagoblin/', line 342 in __call__
  return self.call_backend(environ, start_response)
File '/path/to/mediagoblin/lib/python2.7/site-packages/Werkzeug-0.9.6-py2.7.egg/werkzeug/', line 588 in __call__
  return, start_response)
File '/path/to/mediagoblin/mediagoblin/', line 276 in call_backend
  return self._finish_call_backend(request, environ, start_response)
File '/path/to/mediagoblin/mediagoblin/', line 318 in _finish_call_backend
  response = controller(request)
File '/path/to/mediagoblin/mediagoblin/', line 413 in wrapper
File 'build/bdist.linux-x86_64/egg/oauthlib/oauth1/rfc5849/endpoints/', line 115 in validate_protected_resource_request
File 'build/bdist.linux-x86_64/egg/oauthlib/oauth1/rfc5849/', line 254 in dummy_access_token
NotImplementedError: Subclasses must implement this function.

Change History (1)

comment:1 by Jessica Tallon, 9 years ago

Resolution: fixed
Status: newclosed

This has been fixed as of e9bb587, please re-open if you find that the problem still exists.

Note: See TracTickets for help on using tickets.