Skip to Content
Menu
This question has been flagged
1 Reply
2852 Views

Hi Team 

I get this error upon login to Odoo 16. I am unsure if i made any changes. 


File "/odoo/odoo-server/odoo/tools/_monkeypatches.py", line 55, in literal_eval

return orig_literal_eval(expr)

File "/usr/lib/python3.10/ast.py", line 64, in literal_eval

node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')

File "/usr/lib/python3.10/ast.py", line 50, in parse

return compile(source, filename, mode, flags,

File "", line 0


SyntaxError: invalid syntax

2023-08-26 00:31:30,874 3516 INFO ? werkzeug: 127.0.0.1 - - [26/Aug/2023 00:31:30] "GET /web/static/img/favicon.ico HTTP/1.1" 500 - 0 0.000 0.026


Thanks

Avatar
Discard
Author

Solved it. I made a custom module and it had problems in it. 

Now working fine. 


Thank you.

Best Answer

Hi,
If you are unsure of that there is changes, can you confirm that, because in the shared traceback there is no much information to trace the root cause.

You can check your local history or try git diff and see if there is any unintended changes.

Thanks

Avatar
Discard