Description
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.