Closed dcorio closed 6 years ago
@saif-serpentcs
That happened in a docker container. By installing Odoo from source using the canonical way i get a different but related error:
Error:
Uncaught SyntaxError: Unexpected token T in JSON at position 0
http://localhost:8069/web?debug=assets#id=8&view_type=form&model=sale.order&action=243:1
Traceback:
SyntaxError: Unexpected token T in JSON at position 0
at JSON.parse (<anonymous>)
at HTMLIFrameElement.<anonymous> (http://localhost:8069/web/static/src/js/core/ajax.js:264:40)
at HTMLIFrameElement.dispatch (http://localhost:8069/web/static/lib/jquery/jquery.js:4641:58)
at HTMLIFrameElement.elemData.handle (http://localhost:8069/web/static/lib/jquery/jquery.js:4309:63)
And in the server log i see:
File "/Users/enlightx/Development/Odoo/11.0/odoo/addons/jasper/jasper_reports/JasperReports/jasper_server.py", line 75, in start
raise UserError(_('libraries Not Found !\n'
odoo.exceptions.UserError: ('libraries Not Found !\nThere is No libraries found in Java', '')
this issue seems related: #39
Just noticed the java_path field on the company record. I think you should use a property and not a field on res.company, but you should check for the $JAVA_HOME env variable first.
Trying to print one of the demo reports i get the following error:
in the server log i see: