Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Local testserver regularly dies with locale problem #14

Open
bhaettasch opened this issue Oct 28, 2018 · 0 comments
Open

Local testserver regularly dies with locale problem #14

bhaettasch opened this issue Oct 28, 2018 · 0 comments
Labels

Comments

@bhaettasch
Copy link
Member

See stacktrace below -- why does django try to load an aserbaijani locale?!

Traceback (most recent call last):
  File "/mnt/d/repo/kifplan/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 61, in execute
    super(Command, self).execute(*args, **options)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 100, in handle
    self.run(**options)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 109, in run
    autoreload.main(self.inner_run, None, options)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/utils/autoreload.py", line 341, in main
    reloader(wrapped_main_func, args, kwargs)
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/utils/autoreload.py", line 307, in python_reloader
    reloader_thread()
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/utils/autoreload.py", line 277, in reloader_thread
[28/Oct/2018 13:06:24] "GET /admin/oplan/roomavailability/ HTTP/1.1" 200 9291
    change = fn()
  File "/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/utils/autoreload.py", line 207, in code_changed
    stat = os.stat(filename)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/d/repo/kifplan/venv/lib/python3.6/site-packages/django/conf/locale/az/LC_MESSAGES/django.mo'
@bhaettasch bhaettasch added the bug label Oct 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant