Advertisement
szabozoltan69

SectorTags14

Aug 23rd, 2021
985
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.37 KB | None | 0 0
  1.   Applying deployments.0038_auto_20210820_0733...Traceback (most recent call last):
  2.   File "./manage.py", line 22, in <module>
  3.     execute_from_command_line(sys.argv)
  4.   File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
  5.     utility.execute()
  6.   File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
  7.     self.fetch_command(subcommand).run_from_argv(self.argv)
  8.   File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
  9.     self.execute(*args, **cmd_options)
  10.   File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
  11.     output = self.handle(*args, **options)
  12.   File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
  13.     res = handle_func(*args, **kwargs)
  14.   File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle
  15.     fake_initial=fake_initial,
  16.   File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
  17.     state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  18.   File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
  19.     state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  20.   File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
  21.     state = migration.apply(state, schema_editor)
  22.   File "/usr/local/lib/python3.6/site-packages/django/db/migrations/migration.py", line 124, in apply
  23.     operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  24.   File "/usr/local/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
  25.     self.code(from_state.apps, schema_editor)
  26.   File "/home/ifrc/go-api/deployments/migrations/0038_auto_20210820_0733.py", line 18, in remove_rcce_tag
  27.     for project in projects:
  28.   File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 274, in __iter__
  29.     self._fetch_all()
  30.   File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all
  31.     self._result_cache = list(self._iterable_class(self))
  32.   File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 72, in __iter__
  33.     for row in compiler.results_iter(results):
  34.   File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1086, in apply_converters
  35.     value = converter(value, expression, connection)
  36.   File "/usr/local/lib/python3.6/site-packages/django/contrib/postgres/fields/array.py", line 118, in _from_db_value
  37.     for item in value
  38.   File "/usr/local/lib/python3.6/site-packages/django/contrib/postgres/fields/array.py", line 118, in <listcomp>
  39.     for item in value
  40.   File "/usr/local/lib/python3.6/site-packages/enumfields/fields.py", line 73, in from_db_value
  41.     return self.to_python(value)
  42.   File "/usr/local/lib/python3.6/site-packages/enumfields/fields.py", line 63, in to_python
  43.     raise ValidationError('%s is not a valid value for enum %s' % (value, self.enum), code="invalid_enum_value")
  44. django.core.exceptions.ValidationError: ["14 is not a valid value for enum <enum 'SectorTags'>"]
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement