You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's what version 1.1.0 crashes with in Python 3.9. I believe it is because encodestring has been deprecated.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2088, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/usr/local/lib/python3.9/site-packages/flask_cors/decorator.py", line 128, in wrapped_function
resp = make_response(f(*args, **kwargs))
File "/usr/src/app/server/app.py", line 161, in login
return do_auth(backend)
File "/usr/local/lib/python3.9/site-packages/social_core/actions.py", line 29, in do_auth
return backend.start()
File "/usr/local/lib/python3.9/site-packages/social_core/backends/base.py", line 35, in start
return self.strategy.redirect(self.auth_url())
File "/usr/local/lib/python3.9/site-packages/social_core/backends/oauth.py", line 324, in auth_url
params = self.auth_params(state)
File "/usr/local/lib/python3.9/site-packages/social_core/backends/open_id_connect.py", line 98, in auth_params
params['nonce'] = self.get_and_store_nonce(
File "/usr/local/lib/python3.9/site-packages/social_core/backends/open_id_connect.py", line 108, in get_and_store_nonce
self.strategy.storage.association.store(url, association)
File "/usr/local/lib/python3.9/site-packages/social_sqlalchemy/storage.py", line 218, in store
assoc.secret = base64.encodestring(association.secret).decode()
AttributeError: module 'base64' has no attribute 'encodestring'
The text was updated successfully, but these errors were encountered:
palewire
changed the title
New release necessary to ship out base64 upgrade and safetly support Python 3.9
New release necessary to ship out base64 upgrade and safely support Python 3.9
Jun 14, 2022
Here's what version 1.1.0 crashes with in Python 3.9. I believe it is because encodestring has been deprecated.
The text was updated successfully, but these errors were encountered: