Server error - translation is not valid - 0

Hello!

I started getting this error everytime I try to install an app. I can’t find any information concerning this. It hasn’t appeared on any other installation I have of FLECTRA, so not sure what is causing the issue. My only solution was to do a reinstall and then document everything I do inside the system to see if it happens again and then I can pinpoint the issue. Or… if someone else has had a similiar issue and solution that would be great!

Regards,
Robbie

When running an INSPECT element in Google, I get the following errors.

ajax.js:25 Server application error
Error code: 200
Error message: Flectra Server Error
Error data message:
Translation is not valid:
o
None
Error data debug:
Traceback (most recent call last):
File “/opt/flectra/flectra/flectra/http.py”, line 658, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File “/opt/flectra/flectra/flectra/http.py”, line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File “/opt/flectra/flectra/flectra/tools/pycompat.py”, line 87, in reraise
raise value
File “/opt/flectra/flectra/flectra/http.py”, line 700, in dispatch
result = self._call_function(**self.params)
File “/opt/flectra/flectra/flectra/http.py”, line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File “/opt/flectra/flectra/flectra/service/model.py”, line 97, in wrapper
return f(dbname, *args, **kwargs)
File “/opt/flectra/flectra/flectra/http.py”, line 339, in checked_call
result = self.endpoint(*a, **kw)
File “/opt/flectra/flectra/flectra/http.py”, line 944, in call
return self.method(*args, **kw)
File “/opt/flectra/flectra/flectra/http.py”, line 522, in response_wrap
response = f(*args, **kw)
File “/opt/flectra/flectra/addons/web/controllers/main.py”, line 1094, in call_button
action = self._call_kw(model, method, args, {})
File “/opt/flectra/flectra/addons/web/controllers/main.py”, line 1082, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File “/opt/flectra/flectra/flectra/api.py”, line 699, in call_kw
return call_kw_multi(method, model, args, kwargs)
File “/opt/flectra/flectra/flectra/api.py”, line 690, in call_kw_multi
result = method(recs, *args, **kwargs)
File “/opt/flectra/flectra/addons/website/models/module.py”, line 24, in button_immediate_install
return super(IrModuleModule, self).button_immediate_install()
File “”, line 2, in button_immediate_install
File “/opt/flectra/flectra/flectra/addons/base/module/module.py”, line 74, in check_and_log
return method(self, *args, **kwargs)
File “/opt/flectra/flectra/flectra/addons/base/module/module.py”, line 468, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File “/opt/flectra/flectra/flectra/addons/base/module/module.py”, line 570, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File “/opt/flectra/flectra/flectra/modules/registry.py”, line 85, in new
flectra.modules.load_modules(registry._db, force_demo, status, update_module)
File “/opt/flectra/flectra/flectra/modules/loading.py”, line 414, in load_modules
env[‘ir.model.data’]._process_end(processed_modules)
File “/opt/flectra/flectra/addons/website/models/ir_model.py”, line 172, in _process_end
new_cus_view = view.copy({
File “/opt/flectra/flectra/flectra/models.py”, line 4010, in copy
self.with_context(from_copy_translation=True).copy_translations(new)
File “/opt/flectra/flectra/flectra/models.py”, line 3992, in copy_translations
Translation.create(vals)
File “/opt/flectra/flectra/flectra/addons/base/ir/ir_translation.py”, line 576, in create
record = super(IrTranslation, self.sudo()).create(vals).with_env(self.env)
File “/opt/flectra/flectra/flectra/models.py”, line 3435, in create
record = self.browse(self._create(old_vals))
File “/opt/flectra/flectra/flectra/models.py”, line 3588, in _create
self._validate_fields(vals)
File “/opt/flectra/flectra/flectra/models.py”, line 1055, in _validate_fields
check(self)
File “/opt/flectra/flectra/flectra/addons/base/ir/ir_translation.py”, line 572, in check_value
raise ValidationError(
(“Translation is not valid:\n%s”) % val)
flectra.exceptions.ValidationError: (‘Translation is not valid:\no’, None)

(anonymous) @ ajax.js:25

what language installed?
upgraded to latest Flectra 1.0?