Upload is Well, but it's print locale error

스크린샷 2020-04-04 오후 1.08.40|690x361
it’s my setting for project.

2020-04-04T04:00:34.788689+00:00 app[worker.1]: [2020-04-04 04:00:34,787: ERROR/ForkPoolWorker-1] Task pontoon.sync.tasks.sync_project[882fdb19-9ebf-414a-8cae-c5f5e1612c65] raised unexpected: DoesNotExist('Locale matching query does not exist.')!

and heroku’s error message. so idk i give a {locale_code} in the download path, but pontoon is not recognized.

Hi @readingsnail,

The right download prefix is this:
https://raw.githubusercontent.com/readingsnail/stellaris/master/locale/{locale_code}

Thanks, but it’s not working :frowning:

2020-04-04T08:56:09.247489+00:00 app[worker.1]: [2020-04-04 08:56:09,246: ERROR/ForkPoolWorker-6] Task pontoon.sync.tasks.sync_project[bfaedc22-b300-471d-ad54-c40db8199628] raised unexpected: DoesNotExist(‘Locale matching query does not exist.’)
2020-04-04T08:56:09.247498+00:00 app[worker.1]: Traceback (most recent call last):
2020-04-04T08:56:09.247499+00:00 app[worker.1]: File “/app/.heroku/python/lib/python3.7/site-packages/celery/app/trace.py”, line 385, in trace_task
2020-04-04T08:56:09.247499+00:00 app[worker.1]: R = retval = fun(*args, **kwargs)
2020-04-04T08:56:09.247500+00:00 app[worker.1]: File “/app/.heroku/python/lib/python3.7/site-packages/newrelic/hooks/application_celery.py”, line 84, in wrapper
2020-04-04T08:56:09.247500+00:00 app[worker.1]: return wrapped(*args, **kwargs)
2020-04-04T08:56:09.247501+00:00 app[worker.1]: File “/app/.heroku/python/lib/python3.7/site-packages/celery/app/trace.py”, line 648, in protected_call
2020-04-04T08:56:09.247501+00:00 app[worker.1]: return self.run(*args, **kwargs)
2020-04-04T08:56:09.247501+00:00 app[worker.1]: File “/app/pontoon/sync/core.py”, line 69, in wrapped_func
2020-04-04T08:56:09.247502+00:00 app[worker.1]: return func(self, *args, **kwargs)
2020-04-04T08:56:09.247503+00:00 app[worker.1]: File “/app/pontoon/sync/tasks.py”, line 105, in sync_project
2020-04-04T08:56:09.247503+00:00 app[worker.1]: source_changes = sync_sources(db_project, now, force, no_pull)
2020-04-04T08:56:09.247504+00:00 app[worker.1]: File “/app/pontoon/sync/tasks.py”, line 148, in sync_sources
2020-04-04T08:56:09.247504+00:00 app[worker.1]: db_project, now, full_scan=force
2020-04-04T08:56:09.247505+00:00 app[worker.1]: File “/app/pontoon/sync/core.py”, line 33, in update_originals
2020-04-04T08:56:09.247506+00:00 app[worker.1]: db_project, vcs_project
2020-04-04T08:56:09.247506+00:00 app[worker.1]: File “/app/pontoon/sync/core.py”, line 130, in update_resources
2020-04-04T08:56:09.247506+00:00 app[worker.1]: for relative_path, vcs_resource in vcs_project.resources.items():
2020-04-04T08:56:09.247507+00:00 app[worker.1]: File “/app/.heroku/python/lib/python3.7/site-packages/django/utils/functional.py”, line 80, in get
2020-04-04T08:56:09.247507+00:00 app[worker.1]: res = instance.dict[self.name] = self.func(instance)
2020-04-04T08:56:09.247508+00:00 app[worker.1]: File “/app/pontoon/sync/vcs/models.py”, line 378, in resources
2020-04-04T08:56:09.247508+00:00 app[worker.1]: resources[path] = VCSResource(self, path, locales=locales)
2020-04-04T08:56:09.247508+00:00 app[worker.1]: File “/app/pontoon/sync/vcs/models.py”, line 639, in init
2020-04-04T08:56:09.247509+00:00 app[worker.1]: source_resource_path, locale=Locale.objects.get(code=“en-US”)
2020-04-04T08:56:09.247509+00:00 app[worker.1]: File “/app/.heroku/python/lib/python3.7/site-packages/django/db/models/manager.py”, line 82, in manager_method
2020-04-04T08:56:09.247510+00:00 app[worker.1]: return getattr(self.get_queryset(), name)(*args, **kwargs)
2020-04-04T08:56:09.247510+00:00 app[worker.1]: File “/app/.heroku/python/lib/python3.7/site-packages/django/db/models/query.py”, line 408, in get
2020-04-04T08:56:09.247511+00:00 app[worker.1]: self.model._meta.object_name
2020-04-04T08:56:09.247511+00:00 app[worker.1]: pontoon.base.models.Locale.DoesNotExist: Locale matching query does not exist.

Already SSH is connect before Deployed. + only remain en / ko.

hmmm, thanks for advise, i solved(not deleted django’s language), but it’s not syncd