Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After login: not enough arguments for format string #288

Closed
vpistis opened this issue Sep 17, 2020 · 3 comments · May be fixed by #308
Closed

After login: not enough arguments for format string #288

vpistis opened this issue Sep 17, 2020 · 3 comments · May be fixed by #308

Comments

@vpistis
Copy link

vpistis commented Sep 17, 2020

Hi,

this is the error after I send data to the login page:

Screenshot 2020-09-17 at 19 37 43

There is a way to solve it?

Thank you!

@GrahamTheCoder
Copy link

Hi, I faced the same issue. It's because you're using python 3.8. The error shown is actually an error in formatting an error message. The root cause is actually an issue in defusedxml (which I could tell in debug mode locally with the full trace). I have successfully worked around this issue by updating defusedxml package from 0.5.0 to 0.6.0 in requirements.txt and then running

virtualenv --python=python3 ./env
./env/bin/pip install -r requirements.txt

Would be good to get this PRed, but obviously further testing may be required.

@vpistis
Copy link
Author

vpistis commented Sep 23, 2020

wow!
you are right, changing defusedxml version to 0.6.0 solves the error!

thank you!

vpistis added a commit to vpistis/GetTogether that referenced this issue Sep 23, 2020
dukebody added a commit to PyCampES/GetTogether that referenced this issue Apr 16, 2022
@dukebody
Copy link
Contributor

The PR above fixes this issue, if you want to merge it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants