تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6735 أدوات العرض

When I want to log in to my database I got this error ..
I don't know where is the problem ..
It was completely functional ..

odoo.addons.base.ir.ir_qweb.qweb.QWebException

odoo.addons.base.ir.ir_qweb.qweb.QWebException: Name node can't be used with 'None' constant Traceback (most recent call last): File "/home/nebil/Documents/odoo/odoo11/odoo/odoo/addons/base/ir/ir_qweb/qweb.py", line 331, 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: 162 Path: /templates/t/t/form/div[4]/button Node: <button type="submit" class="btn btn-primary">Log in</button>

الصورة الرمزية
إهمال
أفضل إجابة

The Issue is with Python 3.8

Downgrade your python version below 3.8 and try. 


Hope it helps :)

الصورة الرمزية
إهمال
الكاتب

Thank you very much ..

you saved my life ..

how do I downgrade to older version? does it will affect other odoo versions

الكاتب

@abhishek you can use virtual environment with different version of python ..

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
فبراير 18
7546
1
مايو 23
9580
1
ديسمبر 22
3727
2
ديسمبر 22
5977
qweb Exception تم الحل
4
أغسطس 20
8542