Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemctl status odoo returns etected unhandled Python exception in '/usr/bin/odoo' #65674

Open
hallcrash opened this issue Feb 7, 2021 · 2 comments
Labels
14.0 Packaging Anything related to packaged Odoo installations (docker, .exe, .deb, etc)

Comments

@hallcrash
Copy link

hallcrash commented Feb 7, 2021

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:

  1. Put SELinux in permissive mode.
    [ setenforce 0
    sed -i 's/^SELINUX=.*/SELINUX=permissive/g' /etc/selinux/config ]

  2. install odoo prerequisites: python, PostgreSQL

  3. install requirements using pip from https://github.com/odoo/odoo/blob/14.0/requirements.txt

  4. Install odoo via dnf using repo http://nightly.odoo.com/14.0/nightly/rpm/odoo.repo

  5. run command systemctl start odoo

  6. 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):

@pedrobaeza pedrobaeza added Packaging Anything related to packaged Odoo installations (docker, .exe, .deb, etc) 14.0 labels Feb 7, 2021
@LSR29
Copy link

LSR29 commented May 8, 2021

"Odoo 13.0 ‘rpm’ package supports Fedora 30."

Could Odoo 14 not be compatible with Fedora 34?
I have the same problem.

@hallcrash
Copy link
Author

hallcrash commented May 8, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14.0 Packaging Anything related to packaged Odoo installations (docker, .exe, .deb, etc)
Projects
None yet
Development

No branches or pull requests

3 participants