Zipfile.BadZipFile Ошибка после обновления до Python 3.10 и Django 4

Я только что обновил версию python с 3.9.13 до 3.10.6, а также обновил версию Django с 3.2.2 до 4.0. После устранения всех деплоев и других проблем Django, у меня все еще есть странная ошибка, для которой я не могу найти никакой реальной информации

Running migrations:
2022-08-23T09:36:36.225293524Z   Applying reversion.0002_add_index_on_version_for_content_type_and_db... OK
2022-08-23T09:36:40.152930290Z Installed 233 object(s) from 3 fixture(s)
2022-08-23T09:36:43.581769579Z Traceback (most recent call last):
2022-08-23T09:36:43.581849467Z   File "/srv/odineapps/./manage.py", line 16, in <module>
2022-08-23T09:36:43.583754285Z     execute_from_command_line(sys.argv)
2022-08-23T09:36:43.584229050Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 425, in execute_from_command_line
2022-08-23T09:36:43.585537332Z     utility.execute()
2022-08-23T09:36:43.585596062Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute
2022-08-23T09:36:43.586523094Z     self.fetch_command(subcommand).run_from_argv(self.argv)
2022-08-23T09:36:43.586621110Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 373, in run_from_argv
2022-08-23T09:36:43.587530652Z     self.execute(*args, **cmd_options)
2022-08-23T09:36:43.587625632Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 417, in execute
2022-08-23T09:36:43.588570591Z     output = self.handle(*args, **options)
2022-08-23T09:36:43.588673880Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 78, in handle
2022-08-23T09:36:43.590102502Z     self.loaddata(fixture_labels)
2022-08-23T09:36:43.590219905Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 138, in loaddata
2022-08-23T09:36:43.590233030Z     self.load_label(fixture_label)
2022-08-23T09:36:43.590237066Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 199, in load_label
2022-08-23T09:36:43.590240760Z     fixture = open_method(fixture_file, mode)
2022-08-23T09:36:43.590243971Z   File "/usr/local/lib/python3.10/site-packages/django/core/management/commands/loaddata.py", line 375, in __init__
2022-08-23T09:36:43.590247263Z     super().__init__(*args, **kwargs)
2022-08-23T09:36:43.590250333Z   File "/usr/local/lib/python3.10/zipfile.py", line 1267, in __init__
2022-08-23T09:36:43.590302006Z     self._RealGetContents()
2022-08-23T09:36:43.590312696Z   File "/usr/local/lib/python3.10/zipfile.py", line 1334, in _RealGetContents
2022-08-23T09:36:43.590593207Z     raise BadZipFile("File is not a zip file")
2022-08-23T09:36:43.590608228Z zipfile.BadZipFile: File is not a zip file
2022-08-23T09:36:48.035918647Z Installed 5 object(s) from 1 fixture(s)
2022-08-23T09:36:48.590917293Z 

Есть идеи, что это может быть?

Вернуться на верх