it seems to be that you have an app in the project named order and it
should have a migration file named 0008_auto_20190301_1035.
0008_auto_20190301_1035 seems to be absent for some reasons.

You should check and confirm that.

Regards,
Chetan Ganji
+91-900-483-4183
ganji.che...@gmail.com
http://ryucoder.in


On Wed, May 17, 2023 at 6:21 PM sebasti...@gmail.com <
sebastian.ju...@gmail.com> wrote:

> I get on migration following error:
> Traceback (most recent call last):
>   File "manage.py", line 10, in <module>
>     execute_from_command_line(sys.argv)
>   File
> "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line
> 419, in execute_from_command_line
>     utility.execute()
>   File
> "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line
> 413, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python3.8/site-packages/django/core/management/base.py",
> line 354, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File "/usr/lib/python3.8/site-packages/django/core/management/base.py",
> line 398, in execute
>     output = self.handle(*args, **options)
>   File "/usr/lib/python3.8/site-packages/django/core/management/base.py",
> line 89, in wrapped
>     res = handle_func(*args, **kwargs)
>   File
> "/usr/lib/python3.8/site-packages/django/core/management/commands/migrate.py",
> line 92, in handle
>     executor = MigrationExecutor(connection,
> self.migration_progress_callback)
>   File
> "/usr/lib/python3.8/site-packages/django/db/migrations/executor.py", line
> 18, in __init__
>     self.loader = MigrationLoader(self.connection)
>   File "/usr/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 53, in __init__
>     self.build_graph()
>   File "/usr/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 259, in build_graph
>     self.graph.validate_consistency()
>   File "/usr/lib/python3.8/site-packages/django/db/migrations/graph.py",
> line 195, in validate_consistency
>     [n.raise_error() for n in self.node_map.values() if isinstance(n,
> DummyNode)]
>   File "/usr/lib/python3.8/site-packages/django/db/migrations/graph.py",
> line 195, in <listcomp>
>     [n.raise_error() for n in self.node_map.values() if isinstance(n,
> DummyNode)]
>   File "/usr/lib/python3.8/site-packages/django/db/migrations/graph.py",
> line 58, in raise_error
>     raise NodeNotFoundError(self.error_message, self.key,
> origin=self.origin)
> django.db.migrations.exceptions.NodeNotFoundError: Migration
> communication.0002_reset_table_names dependencies reference nonexistent
> parent node ('order', '0008_auto_20190301_1035')
>
>
> Now i grep after grep -r "0002_reset_table_names" . and nothing are find
> in my project dir or in venv. I look in django_migrations table and there
> aren't such a entity. I have feeling that is cached entry because in
> history i have such a venv with this file but i delete complete venv and
> load right venv where this file don't exists
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/38278863-2272-49ab-9b5f-38ea15a18d0fn%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/38278863-2272-49ab-9b5f-38ea15a18d0fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMKMUjtHBhkxVHc3kchJ8zn-wTgbPvaAv-KZGmgAsGMxxysryA%40mail.gmail.com.

Reply via email to