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
{{ message }}
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
Line 149: the_parts = json.loads(assigned.decode('utf-8'))
Running python 3.7, this raise an exception for me. Strings in py3 are automatically unicode, so the .decode('utf-8') call is not valid and raises an attribute exception. Naturally this depends on how you are implementing your datastore though - I'm not using postgres so I don't know if there is something funky going on with strings in the sqlalchemy engine.
I worked around the issue by overriding AccountStoreRealm to init a custom PermissionVerifier. The custom version is identical to the default one except that the .decode('utf-8') call is removed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Line 149:
the_parts = json.loads(assigned.decode('utf-8'))
Running python 3.7, this raise an exception for me. Strings in py3 are automatically unicode, so the
.decode('utf-8')
call is not valid and raises an attribute exception. Naturally this depends on how you are implementing your datastore though - I'm not using postgres so I don't know if there is something funky going on with strings in the sqlalchemy engine.I worked around the issue by overriding
AccountStoreRealm
to init a customPermissionVerifier
. The custom version is identical to the default one except that the.decode('utf-8')
call is removed.The text was updated successfully, but these errors were encountered: