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

Flask-Session >= 0.4 required in requirements.txt #48

Open
pspiteri opened this issue May 17, 2023 · 0 comments
Open

Flask-Session >= 0.4 required in requirements.txt #48

pspiteri opened this issue May 17, 2023 · 0 comments

Comments

@pspiteri
Copy link

pspiteri commented May 17, 2023

UPDATE: Sorry - just read the README.md in the app. Please feel free to delete my issue as I see you have raised that you've had issues with Flask-Session.

Hi. Running this app and the starter app results in the error "'Flask' object has no attribute 'session_cookie_name'". Details of the issue and the solution can be found at https://stackoverflow.com/questions/76139355/flask-object-has-no-attribute-session-cookie-name - I have implemented this solution and it works. In short, the issue is Flask >= 2.3.1 removed those names and a solution can either be to wind back the version of Flask or update the version of Flash-Session. Personally I prefer the latter - as of the date of raising this issue, this app's requirements.txt fixes the Flask-Session at 0.3.2 but does not set a fixed Flask version. So Flask is bang up to date but Flask-Session is not, causing the issue.

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

1 participant