Skip to content

trying to run gives error about a missing plugin in SQLAlchemy #116

Description

@LiEnby

Traceback (most recent call last):
File "/home/gamesrv/Documents/houdini/bootstrap.py", line 141, in
asyncio.run(factory_instance.start())
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
File "/home/gamesrv/Documents/houdini/houdini/houdini.py", line 130, in start
await self.db.set_bind('postgresql://{}:{}@{}/{}'.format(
...<2 lines>...
self.config.database_name))
File "/home/gamesrv/.local/lib/python3.13/site-packages/gino/api.py", line 417, in set_bind
bind = await create_engine(bind, loop=loop, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gamesrv/.local/lib/python3.13/site-packages/gino/strategies.py", line 33, in create
dialect_cls = u.get_dialect()
File "/home/gamesrv/.local/lib/python3.13/site-packages/sqlalchemy/engine/url.py", line 189, in get_dialect
entrypoint = self._get_entrypoint()
File "/home/gamesrv/.local/lib/python3.13/site-packages/sqlalchemy/engine/url.py", line 172, in _get_entrypoint
cls = registry.load(name)
File "/home/gamesrv/.local/lib/python3.13/site-packages/sqlalchemy/util/langhelpers.py", line 277, in load
raise exc.NoSuchModuleError(
"Can't load plugin: %s:%s" % (self.group, name)
)
sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgresql.asyncpg

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions