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

Cannot login to users created in test data step, #2

Open
ngtrphuong opened this issue Nov 26, 2019 · 6 comments
Open

Cannot login to users created in test data step, #2

ngtrphuong opened this issue Nov 26, 2019 · 6 comments
Assignees

Comments

@ngtrphuong
Copy link

Hi nad2000,

Have you tried deploying this Web app on Python 3.7 and the latest pip?
After deployed successful, we cannot login to this tool with any created users. The web page through the 500 Internal Server Error as long as we tried logging in and tried creating new users.

@nad2000
Copy link
Owner

nad2000 commented Nov 26, 2019

hi @ngtrphuong, I haven't touched the project for years.
If can port it to 3.7 it would be great. Cheers!

@nad2000
Copy link
Owner

nad2000 commented Nov 26, 2019

I traced down the issue. It turns out that Flask-Security hasn't been maintained and since peewee with the version 3.x broke backward compatibility... well, here you have it: pallets-eco/flask-security-3.0#463

I will override get_user and see how it goes...

@nad2000
Copy link
Owner

nad2000 commented Nov 26, 2019

ehhhh... peewee has broken quite a lot :( login now works. TODO: need to fix UI part
However, the core functionality is broken...

@nad2000
Copy link
Owner

nad2000 commented Nov 26, 2019

btw, I checked it works with Python 3.7

@nad2000 nad2000 self-assigned this Nov 26, 2019
@ngtrphuong
Copy link
Author

Thanks a lot nad2000!
BTW, after cloning your code to my Debian box: same problem still happens,
My box is using Python 3.7 as well,

@andy47
Copy link

andy47 commented Mar 17, 2020

Same problem here, just wanted to kick the tires but can't log in. Are you open to PR's if I fix any issues?

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

No branches or pull requests

3 participants