Advertisement
szabozoltan69

running docker error

Apr 20th, 2022
995
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.23 KB | None | 0 0
  1. Exception in thread django-main-thread:
  2. Traceback (most recent call last):
  3.   File "/usr/local/lib/python3.8/site-packages/django/utils/translation/trans_real.py", line 194, in _add_installed_apps_translations
  4.     app_configs = reversed(list(apps.get_app_configs()))
  5.   File "/usr/local/lib/python3.8/site-packages/django/apps/registry.py", line 145, in get_app_configs
  6.     self.check_apps_ready()
  7.   File "/usr/local/lib/python3.8/site-packages/django/apps/registry.py", line 136, in check_apps_ready
  8.     raise AppRegistryNotReady("Apps aren't loaded yet.")
  9. django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
  10.  
  11. During handling of the above exception, another exception occurred:
  12.  
  13. Traceback (most recent call last):
  14.  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  15.    self.run()
  16.  File "/usr/local/lib/python3.8/threading.py", line 870, in run
  17.    self._target(*self._args, **self._kwargs)
  18.  File "/usr/local/lib/python3.8/site-packages/django/utils/autoreload.py", line 64, in wrapper
  19.    fn(*args, **kwargs)
  20.  File "/usr/local/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 110, in inner_run
  21.    autoreload.raise_last_exception()
  22.  File "/usr/local/lib/python3.8/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
  23.    raise _exception[1]
  24.  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
  25.    autoreload.check_errors(django.setup)()
  26.  File "/usr/local/lib/python3.8/site-packages/django/utils/autoreload.py", line 64, in wrapper
  27.    fn(*args, **kwargs)
  28.  File "/usr/local/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
  29.    apps.populate(settings.INSTALLED_APPS)
  30.  File "/usr/local/lib/python3.8/site-packages/django/apps/registry.py", line 91, in populate
  31.    app_config = AppConfig.create(entry)
  32.  File "/usr/local/lib/python3.8/site-packages/django/apps/config.py", line 244, in create
  33.    app_module = import_module(app_name)
  34.  File "/usr/local/lib/python3.8/importlib/__init__.py", line 118, in import_module
  35.    if name.startswith('.'):
  36.  File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py", line 135, in __wrapper__
  37.    res = func(*self.__args, **self.__kw)
  38.  File "/usr/local/lib/python3.8/site-packages/django/utils/translation/__init__.py", line 94, in gettext
  39.    return _trans.gettext(message)
  40.  File "/usr/local/lib/python3.8/site-packages/django/utils/translation/trans_real.py", line 355, in gettext
  41.    _default = _default or translation(settings.LANGUAGE_CODE)
  42.  File "/usr/local/lib/python3.8/site-packages/django/utils/translation/trans_real.py", line 268, in translation
  43.    _translations[language] = DjangoTranslation(language)
  44.  File "/usr/local/lib/python3.8/site-packages/django/utils/translation/trans_real.py", line 155, in __init__
  45.    self._add_installed_apps_translations()
  46.  File "/usr/local/lib/python3.8/site-packages/django/utils/translation/trans_real.py", line 196, in _add_installed_apps_translations
  47.    raise AppRegistryNotReady(
  48. django.core.exceptions.AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready. Check that you don't make non-lazy gettext calls at import time.
  49.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement