This question has been flagged
4 Replies
10538 Views


Dear all, 

   I have problem in running odoo  11 , 

after update python version to 3.8.5 

i got the following error,

I install the python version of 3.8.2 and make it the default version but still the problem

, please Help me



The Error Message 

-------------------------

During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/opt/odoo/odoo/odoo/addons/base/ir/ir_qweb/qweb.py", line 330, in compile

    unsafe_eval(compile(astmod, '<template>', 'exec'), ns)

ValueError: Name node can't be used with 'None' constant


Error when compiling AST

ValueError: Name node can't be used with 'None' constant

Template: 1105

Path: /templates/t/t/div/t/t

Node: <t t-content="True"/>


Avatar
Discard

"problem in run odoo" is not a question. In the future, please consider using a Question that can make it clear what you ask without requiring people to open your post, as this will often increase the chances people will respond and make everything clearer for others looking for the same answer.

Best Answer

The issue is with Python version 3.8 and above , Downgrade python version and try


https://www.odoo.com/forum/help-1/question/can-t-log-in-to-odoo-11-database-odoo-addons-base-ir-ir-qweb-qweb-qwebexception-177793#answer-177797

https://www.odoo.com/forum/help-1/question/unable-to-install-and-run-odoo-12-valueerror-name-node-can-t-be-used-with-none-constant-177763#answer-177826

Avatar
Discard
Best Answer

Hello ahmad
odoo 11 is not compatible with python 3.8 version.it support till python version 3.5.
So you need to downgrade you python version to 3.5 and make it default version.

This artical will help you to downgrade and set default to python version 3.5.
https://hackersandslackers.com/multiple-versions-python-ubuntu/

Alternatively, you can quick start the service if you are in a rush as such. $python3.5 ./odoo-bin

Hope this will resolve your problem.
Thanks

Avatar
Discard
Best Answer

okay

  check all lib in v odoo 11 installed

https://github.com/odoo/odoo/blob/11.0/requirements.txt

Avatar
Discard