TypeError: authenticate() takes exactly 0 arguments (3 given)
Hi,
after migrating from a PIP install to Debian Backports packages, I get the following error:
The whole config of mailman3-suite:
Regards Bjoern
Hi,
after migrating from a PIP install to Debian Backports packages, I get the following error:
The whole config of mailman3-suite:
https://pastebin.com/nzJufYBN This sounds like you have incompatible versions of some libraries installed. Can you tell us what versions you have installed? Specifically django and django-allauth? Also when posting django settings be careful because it contains secrets
On 03/21/2018 11:20 PM, Bjoern Franke wrote: that you should change now:
- SECRET_KEY
- Mailman credentials
- Database credentials
What I find a little strange is that all your middleware classes are commented out in the settings you sent. That doesn't look right...
Hi,
This sounds like you have incompatible versions of some libraries installed. Can you tell us what versions you have installed? Specifically django and django-allauth?
Thanks for the hint, this caused the issue:
python-django-allauth/stretch-backports,now 0.35.0-1~bpo9+2 all [installed,automatic] python-django/stable,now 1:1.10.7-2 all [installed,automatic]
With python-django from backports the issue does not appear.
Also when posting django settings be careful because it contains secrets that you should change now:
- SECRET_KEY
- Mailman credentials
- Database credentials
Oh, I just cared of the database credentials while pasting it, changed.
What I find a little strange is that all your middleware classes are commented out in the settings you sent. That doesn't look right...
This was just a test if it would fix something.
Kind regards Bjoern Franke
Hi,
This sounds like you have incompatible versions of some libraries installed. Can you tell us what versions you have installed? Specifically django and django-allauth? Thanks for the hint, this caused the issue:
python-django-allauth/stretch-backports,now 0.35.0-1~bpo9+2 all [installed,automatic] python-django/stable,now 1:1.10.7-2 all [installed,automatic]
With python-django from backports the issue does not appear. Not sure how debian handles dependencies, but it sounds like the allauth
On 03/22/2018 10:55 AM, Bjoern Franke wrote: package doesn't correctly depend on a minimum django version. Might be worth a bug report, but then again I'm in archlinux where you update all or update nothing :D
Hi,
Not sure how debian handles dependencies, but it sounds like the allauth package doesn't correctly depend on a minimum django version. Might be worth a bug report, but then again I'm in archlinux where you update all or update nothing :D
Yep, I've created a bugreport for mailman3-suite and the maintainer says he thought he had set the dependency on python-django from backports, but he fixed it now.
No idea if it's also a bug for python-django-allauth, as an Arch user I have no clue about the Debian package workflow :D
Regards Bjoern
participants (2)
-
Bjoern Franke
-
Simon Hanna