mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-25 00:25:49 +03:00
[GH-ISSUE #270] 'LocalStack' object has no attribute '__ident_func__' error on launch #82
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @robintw on GitHub (Apr 27, 2022).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/270
After installing sandman2 in a clean environment, I ran it as follows:
(using the chinook sample database from here).
I get the following error:
After some Googling, I found that it might be a version issue with the latest version of werkzeug and the pinned version of flask-sqlalchemy (which was 2.4.0). Upgrading to the latest flask-sqlalchemy (2.5.1 currently) seems to fix it.
Shall I submit a PR to update setup.py to use the latest flask-sqlalchemy, or might be there be more to this that I'm missing?
@EloWork commented on GitHub (Jan 25, 2023):
Any updates here? I still see 2.4 in the code and I think I have the same issue. Only difference is for me it is a _FakeStack object missing that attribute.
AttributeError: '_FakeStack' object has no attribute '__ident_func__'@ArchiLantern commented on GitHub (Jun 6, 2023):
update Flask-SQLAlchemy works for me. ( the solution I looked at StackOverFlow)
pip install Flask-SQLAlchemy==2.5.1