You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/venv/bin/aerich", line 8, in
sys.exit(main())
^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/cli.py", line 265, in main
cli()
File "/venv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/cli.py", line 31, in wrapper
loop.run_until_complete(f(*args, **kwargs))
File "/usr/local/python3.11/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/cli.py", line 86, in migrate
ret = await command.migrate(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/init.py", line 127, in migrate
return await Migrate.migrate(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/migrate.py", line 140, in migrate
cls.diff_models(cls._last_version_content, new_version_content)
File "/venv/lib/python3.11/site-packages/aerich/migrate.py", line 244, in diff_models
table = change[0][1].get("through")
^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
I have seen someone raise this issue since 2021. Is there a solution now
My aerial version is 0.7.2
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/venv/bin/aerich", line 8, in
sys.exit(main())
^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/cli.py", line 265, in main
cli()
File "/venv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/cli.py", line 31, in wrapper
loop.run_until_complete(f(*args, **kwargs))
File "/usr/local/python3.11/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/cli.py", line 86, in migrate
ret = await command.migrate(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/init.py", line 127, in migrate
return await Migrate.migrate(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/aerich/migrate.py", line 140, in migrate
cls.diff_models(cls._last_version_content, new_version_content)
File "/venv/lib/python3.11/site-packages/aerich/migrate.py", line 244, in diff_models
table = change[0][1].get("through")
^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
I have seen someone raise this issue since 2021. Is there a solution now
My aerial version is 0.7.2
The text was updated successfully, but these errors were encountered: