mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-25 00:25:49 +03:00
[GH-ISSUE #374] Import Error in SQLAlchemy #89
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#89
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 @sattwikb13 on GitHub (Apr 22, 2024).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/374
Running sandman2ctl command for MS SQL is throwing the following error:
Traceback (most recent call last):
File "C:\Users\sattwikb\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Users\sattwikb\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\sattwikb\Projects\SandmanPOC\sandman_env\Scripts\sandman2ctl.exe_main.py", line 4, in
File "c:\users\sattwikb\projects\sandmanpoc\sandman_env\lib\site-packages\sandman2_init.py", line 2, in
from sandman2.app import get_app, db, AutomapModel
File "c:\users\sattwikb\projects\sandmanpoc\sandman_env\lib\site-packages\sandman2\app.py", line 18, in
from sandman2.service import Service
File "c:\users\sattwikb\projects\sandmanpoc\sandman_env\lib\site-packages\sandman2\service.py", line 12, in
from sandman2.model import db
File "c:\users\sattwikb\projects\sandmanpoc\sandman_env\lib\site-packages\sandman2\model.py", line 13, in
db = SQLAlchemy()
File "c:\users\sattwikb\projects\sandmanpoc\sandman_env\lib\site-packages\flask_sqlalchemy_init_.py", line 715, in init
self.session = self.create_scoped_session(session_options)
File "c:\users\sattwikb\projects\sandmanpoc\sandman_env\lib\site-packages\flask_sqlalchemy_init_.py", line 748, in create_scoped_session
scopefunc = options.pop('scopefunc', _app_ctx_stack.ident_func)
AttributeError: '_FakeStack' object has no attribute 'ident_func'
The filename, directory name, or volume label syntax is incorrect.