[Python-modules-team] Bug#890183: TypeError: dumps() takes 1 positional argument but 2 were given

Edward Betts edward at 4angle.com
Sun Feb 11 16:00:57 UTC 2018


Package: python3-social-auth
Version: 1:0.2.21+dfsg-1
Severity: normal
Tags: upstream patch

Dear Maintainer,

When using python-social-auth (PSA) with flask and the latest version of
postgresql I get this error:

TypeError: dumps() takes 1 positional argument but 2 were given

The bug has been reported upstream.

https://github.com/python-social-auth/social-storage-sqlalchemy/issues/1

There is also a fix upstream.

https://github.com/python-social-auth/social-storage-sqlalchemy/commit/39d129c1718dfab6be33bec69b1c44853e66da86

The fix is in the new split version of PSA. I copied the new code to
/usr/lib/python3/dist-packages/social/storage/sqlalchemy_orm.py and it
fixed the bug.

Thanks,
-- 
Edward.



More information about the Python-modules-team mailing list