hilarak / odoo_community_addons

Odoo Community Addons (My works) Hilar AK
https://www.odoo.com/apps/modules/browse?author=Hilar%20AK
GNU Affero General Public License v3.0
23 stars 24 forks source link

getting random 500 error after using the module #30

Open thaiger14 opened 4 years ago

thaiger14 commented 4 years ago

Hi, I have install your module on ubuntu 16.04 with odoo 11 ce and it works for a while and start getting this error, I am not sure if you can help look at my log and see the problem.

Mar 11 07:19:49 vps47810210.local odoo11[3286]: 2020-03-11 07:19:49,144 3286 INFO nrct werkzeug: 1.47.166.201 - - [11/Mar/2020 07:19:49] "GET /en_US/web/login HTTP/1. Mar 11 07:19:49 vps47810210.local odoo11[3286]: 2020-03-11 07:19:49,894 3286 INFO nrct werkzeug: 1.47.166.201 - - [11/Mar/2020 07:19:49] "POST /web/webclient/bootstra Mar 11 07:19:49 vps47810210.local odoo11[3286]: 2020-03-11 07:19:49,975 3286 INFO nrct werkzeug: 1.47.166.201 - - [11/Mar/2020 07:19:49] "GET /web/webclient/qweb?mods Mar 11 07:19:50 vps47810210.local odoo11[3286]: 2020-03-11 07:19:50,274 3286 INFO nrct werkzeug: 1.47.166.201 - - [11/Mar/2020 07:19:50] "GET /favicon.ico HTTP/1.1" 3 Mar 11 07:19:50 vps47810210.local odoo11[3286]: 2020-03-11 07:19:50,531 3286 INFO nrct werkzeug: 1.47.166.201 - - [11/Mar/2020 07:19:50] "GET /en_US/favicon.ico HTTP/ Mar 11 07:20:23 vps47810210.local odoo11[3286]: 2020-03-11 07:20:23,089 3286 INFO nrct werkzeug: 110.169.222.128 - - [11/Mar/2020 07:20:23] "POST /longpolling/poll HT Mar 11 07:19:49 vps47810210.local odoo11[3286]: return compile_handler(el, options) Mar 11 07:19:49 vps47810210.local odoo11[3286]: File "/opt/odoo/odoo11/odoo/addons/base/ir/ir_qweb/qweb.py", line 1091, in _compile_directive_else Mar 11 07:19:49 vps47810210.local odoo11[3286]: raise ValueError("t-else directive must be preceded by t-if directive") Mar 11 07:19:49 vps47810210.local odoo11[3286]: ValueError: t-else directive must be preceded by t-if directive Mar 11 07:19:49 vps47810210.local odoo11[3286]: Error when compiling AST Mar 11 07:19:49 vps47810210.local odoo11[3286]: ValueError: t-else directive must be preceded by t-if directive Mar 11 07:19:49 vps47810210.local odoo11[3286]: Template: web.login_layout Mar 11 07:19:49 vps47810210.local odoo11[3286]: Path: /templates/t/t/t[3] Mar 11 07:19:49 vps47810210.local odoo11[3286]: Node: Mar 11 07:19:49 vps47810210.local odoo11[3286]:

Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]: Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]: Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]: Mar 11 07:19:49 vps47810210.local odoo11[3286]: Manage Databases | Mar 11 07:19:49 vps47810210.local odoo11[3286]: Mar 11 07:19:49 vps47810210.local odoo11[3286]: Powered by Odoo Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]:
Mar 11 07:19:49 vps47810210.local odoo11[3286]:

Ark74 commented 3 years ago

Use the version on Github, then update your web, odoo-debrand-11 module using CLI & restart the service.

That should work.

GithubFoondi commented 3 years ago

Use the version on Github, then update your web, odoo-debrand-11 module using CLI & restart the service.

That should work.

Facing same issue. Ran command ./odoo-bin -d dbname -r psqlrole -w password -u website

Getting error ModuleNotFoundError: No module named 'PyPDF2' even after installing PyPDF2

Ark74 commented 3 years ago

You are probably using a virtual environment, try to run from the environment from your python installation, maybe adding too the user in case you have one for your instance.