avatar of williamfu williamfu
집중하다 사신
0
집중하다
3
수행원

fmz_extend_api_demo 설정 질문

만든 날짜: 2021-11-11 09:14:43, 업데이트 날짜:
comments   1
hits   827

오늘 공식적인 fmz_extend_api_demo를 시도했는데, 파이썬 app.py를 마지막으로 실행했을 때 다음과 같은 오류가 발생했습니다. /usr/lib/python2.7/site-packages/flask_sqlalchemy/init.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning. ‘SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and ’ Traceback (most recent call last): File “app.py”, line 152, in db.create_all() File “/usr/lib/python2.7/site-packages/flask_sqlalchemy/init.py”, line 963, in create_all self._execute_for_all_tables(app, bind, ‘create_all’) File “/usr/lib/python2.7/site-packages/flask_sqlalchemy/init.py”, line 955, in _execute_for_all_tables op(bind=self.get_engine(app, bind), extra) File “/usr/lib/python2.7/site-packages/flask_sqlalchemy/init.py”, line 896, in get_engine return connector.get_engine() File “/usr/lib/python2.7/site-packages/flask_sqlalchemy/init.py”, line 556, in get_engine self._sa.apply_driver_hacks(self._app, info, options) File “/usr/lib/python2.7/site-packages/flask_sqlalchemy/init**.py”, line 861, in apply_driver_hacks info.database = os.path.join(app.root_path, info.database) AttributeError: can’t set attribute 이 글은 한 해 동안 한 번씩 쓰여졌습니다.