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

Setup issue #22

Open
theghall opened this issue Apr 30, 2023 · 0 comments
Open

Setup issue #22

theghall opened this issue Apr 30, 2023 · 0 comments

Comments

@theghall
Copy link
Collaborator

Getting this when trying to run the backend. My poetry version is 1.4.2.

`$ poetry run start

Traceback (most recent call last):
File "", line 1, in
File "/usr/local/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users//SoftwareProjects/warwomb/warwomb/main.py", line 16, in
from .database import engine
File "/Users/
/SoftwareProjects/warwomb/warwomb/database.py", line 8, in
engine = create_engine(os.getenv("DATABASE_URL"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users//Library/Caches/pypoetry/virtualenvs/warwomb--x_3pF4I-py3.11/lib/python3.11/site-packages/sqlmodel/engine/create.py", line 139, in create_engine
return _create_engine(url, current_kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 2, in create_engine
File "/Users//Library/Caches/pypoetry/virtualenvs/warwomb--x_3pF4I-py3.11/lib/python3.11/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
return fn(args, kwargs)
^^^^^^^^^^^^^^^^^^^
File "/Users/
*/Library/Caches/pypoetry/virtualenvs/warwomb--x_3pF4I-py3.11/lib/python3.11/site-packages/sqlalchemy/engine/create.py", line 520, in create_engine
u, plugins, kwargs = u._instantiate_plugins(kwargs)
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute '_instantiate_plugins'
`

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