Hi,
I noticed there was a change in the Odoo Transifex module (v16), and ever since this I have an error when trying to translate my email templates.
It seems like the config file that was updated didn't come through correctly. Any idea how I could fix that?
I'm on Odoo.sh
Error:
Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup r = d[key] File "", line 2, in __getitem__ File "/home/odoo/src/odoo/odoo/tools/func.py", line 87, in locked return func(inst, *args, **kwargs) File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__ a = self.d[obj] KeyError: ('transifex.translation', ) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/http.py", line 1583, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "/home/odoo/src/odoo/odoo/service/model.py", line 134, in retrying result = func() File "/home/odoo/src/odoo/odoo/http.py", line 1612, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "/home/odoo/src/odoo/odoo/http.py", line 1810, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 149, in _dispatch result = endpoint(**request.params) File "/home/odoo/src/odoo/odoo/http.py", line 698, in route_wrapper result = endpoint(self, *args, **params_ok) File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 42, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/odoo/src/user/printnode_base/controllers/main.py", line 65, in _call_kw result = super(DataSetProxy, self)._call_kw(model, method, args, kwargs) File "/home/odoo/src/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 461, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 448, in _call_kw_multi result = method(recs, *args, **kwargs) File "/home/odoo/src/odoo/addons/transifex/models/models.py", line 30, in get_field_translations self.env['transifex.translation']._update_transifex_url(translations) File "/home/odoo/src/odoo/addons/transifex/models/transifex_translation.py", line 61, in _update_transifex_url projects = self._get_transifex_projects() File "", line 2, in _get_transifex_projects File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/odoo/src/odoo/addons/transifex/models/transifex_translation.py", line 38, in _get_transifex_projects _, _, _, tx_project, _, tx_mod = sec.split(':') ValueError: not enough values to unpack (expected 6, got 1)