Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.83 KB | None | 0 0
  1. processing locale pl
  2. processing locale cpen
  3. CommandError: errors happened while running msgmerge
  4. /srv/caffeprint_api/locale/cpen/LC_MESSAGES/django.po:7058: duplicate message definition...
  5. /srv/caffeprint_api/locale/cpen/LC_MESSAGES/django.po:7053: ...this is the location of the first definition
  6. msgmerge: found 1 fatal error
  7. Starting to generate default translations for [pl].
  8. Generating default translations for [pl]... DONE
  9. Starting to convert .po files to .json files.
  10. Converting .po files to .json files... DONE
  11. processing file django.po in /srv/caffeprint_api/locale/cpde/LC_MESSAGES
  12. processing file django.po in /srv/caffeprint_api/locale/cpen/LC_MESSAGES
  13. CommandError: Execution of msgfmt failed: /srv/caffeprint_api/locale/cpen/LC_MESSAGES/django.po:7058: duplicate message definition...
  14. /srv/caffeprint_api/locale/cpen/LC_MESSAGES/django.po:7053: ...this is the location of the first definition
  15. msgfmt: found 1 fatal error
  16. Traceback (most recent call last):
  17.   File "/usr/local/lib/python3.5/dist-packages/channels/asgi.py", line 31, in make_backend
  18.     backend_class = import_string(self.configs[name]['BACKEND'])
  19.   File "/usr/local/lib/python3.5/dist-packages/django/utils/module_loading.py", line 20, in import_string
  20.     module = import_module(module_path)
  21.   File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
  22.     return _bootstrap._gcd_import(name[level:], package, level)
  23.   File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  24.   File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  25.   File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  26.   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  27.   File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  28.   File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  29.   File "/usr/local/lib/python3.5/dist-packages/asgi_redis/__init__.py", line 1, in <module>
  30.     from .core import RedisChannelLayer
  31.   File "/usr/local/lib/python3.5/dist-packages/asgi_redis/core.py", line 20, in <module>
  32.     from asgiref.base_layer import BaseChannelLayer
  33. ImportError: No module named 'asgiref.base_layer'
  34.  
  35. During handling of the above exception, another exception occurred:
  36.  
  37. Traceback (most recent call last):
  38.   File "/usr/local/bin/daphne", line 11, in <module>
  39.     sys.exit(CommandLineInterface.entrypoint())
  40.   File "/usr/local/lib/python3.5/dist-packages/daphne/cli.py", line 125, in entrypoint
  41.     cls().run(sys.argv[1:])
  42.   File "/usr/local/lib/python3.5/dist-packages/daphne/cli.py", line 155, in run
  43.     channel_layer = importlib.import_module(module_path)
  44.   File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
  45.     return _bootstrap._gcd_import(name[level:], package, level)
  46.   File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  47.   File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  48.   File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  49.   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  50.   File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  51.   File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  52.   File "./caffeprint/asgi.py", line 6, in <module>
  53.     channel_layer = get_channel_layer()
  54.   File "/usr/local/lib/python3.5/dist-packages/channels/asgi.py", line 101, in get_channel_layer
  55.     return channel_layers[alias].channel_layer
  56.   File "/usr/local/lib/python3.5/dist-packages/channels/asgi.py", line 53, in __getitem__
  57.     self.backends[key] = self.make_backend(key)
  58.   File "/usr/local/lib/python3.5/dist-packages/channels/asgi.py", line 36, in make_backend
  59.     "Cannot import BACKEND %r specified for %s" % (self.configs[name]['BACKEND'], name)
  60. channels.asgi.InvalidChannelLayerError: Cannot import BACKEND 'asgi_redis.RedisChannelLayer' specified for default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement