Error should be controlled ellegantly when just installed.
Hello.
I just installed this on the app vauxoo.
Once the db is fully installed a cron is triggered (this is ok) the problem is that this error apperas in the shell which is annoying.
fo[2])
File "/mnt/second/odoo/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/mnt/second/odoo/odoo/tools/safe_eval.py", line 350, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "", line 1, in <module>
File "/mnt/second/xunnel-account/account_xunnel/models/res_company.py", line 37, in cron_get_xunnel_providers
rec.sync_xunnel_providers(provider)
File "/mnt/second/xunnel-account/account_xunnel/models/res_company.py", line 49, in sync_xunnel_providers
providers_response = self._xunnel('get_xunnel_providers', params)
File "/mnt/second/xunnel-account/account_xunnel/models/res_company.py", line 30, in _xunnel
return response.json()
File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 826, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
ValueError: <class 'simplejson.errors.JSONDecodeError'>: "Expecting value: line 1 column 1 (char 0)" while evaluating
'model.cron_get_xunnel_providers()'
Thanks