You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemd[1]: Started Odoo Open Source ERP and CRM.
python3[384165]: detected unhandled Python exception in '/usr/bin/odoo'
odoo[384165]: Traceback (most recent call last):
odoo[384165]: File "/usr/bin/odoo", line 5, in
odoo[384165]: import odoo
odoo[384165]: ModuleNotFoundError: No module named 'odoo'
systemd[1]: odoo.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: odoo.service: Failed with result 'exit-code'.
Expected behavior:
no error
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered:
I haven't looked back at it. I ended up downloading the source myself in an
attempt to debug the issue. I was able to get it running from the source on
VS code by setting the correct environment variables.
I'm assuming the RPM install does not set the correct environment
variables, and thats why it's failing
I will probably use podman or docker to run Odoo when my configuration is
complete, so I just run it in Visual Studio Code debug mode untill my
alterations are done, where I'd merge them with the virtualised versions.
But, I'd bet setting correct environment variables will correct the
problem, I'm not sure if those variables would be overwritten by an dnf
update or not, but I'd guess yes.
Impacted versions: odoo 14 (odoo-14.0.post20210207-1.noarch). Installed fresh on fedora 33 via yum repo: http://nightly.odoo.com/14.0/nightly/rpm/odoo.repo
Steps to reproduce:
Put SELinux in permissive mode.
[ setenforce 0
sed -i 's/^SELINUX=.*/SELINUX=permissive/g' /etc/selinux/config ]
install odoo prerequisites: python, PostgreSQL
install requirements using pip from https://github.com/odoo/odoo/blob/14.0/requirements.txt
Install odoo via dnf using repo http://nightly.odoo.com/14.0/nightly/rpm/odoo.repo
run command systemctl start odoo
systemctl status odoo
Current behavior:
systemctl status odoo returns:
systemd[1]: Started Odoo Open Source ERP and CRM.
python3[384165]: detected unhandled Python exception in '/usr/bin/odoo'
odoo[384165]: Traceback (most recent call last):
odoo[384165]: File "/usr/bin/odoo", line 5, in
odoo[384165]: import odoo
odoo[384165]: ModuleNotFoundError: No module named 'odoo'
systemd[1]: odoo.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: odoo.service: Failed with result 'exit-code'.
Expected behavior:
no error
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered: