Closed Bug 1703748 Opened 7 months ago Closed 1 month ago

[sync] Sync breaks with TypeError: 'builtin_function_or_method' object is not subscriptable

Categories

(Webtools Graveyard :: Pontoon, defect, P1)

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

Attachments

(1 file)

Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.8/site-packages/celery/app/trace.py", line 385, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.8/site-packages/newrelic/hooks/application_celery.py", line 84, in wrapper
    return wrapped(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.8/site-packages/celery/app/trace.py", line 648, in __protected_call__
    return self.run(*args, **kwargs)
  File "/app/pontoon/sync/core.py", line 68, in wrapped_func
    return func(self, *args, **kwargs)
  File "/app/pontoon/sync/tasks.py", line 101, in sync_project
    sync_translations(
  File "/app/pontoon/sync/tasks.py", line 336, in sync_translations
    new_locales.append[locale.pk]
TypeError: 'builtin_function_or_method' object is not subscriptable
*This bug has been moved to GitHub.*

*Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.