Public bug reported:
Release: 26.04
Package version: 18.0.0+dfsg-2build1
To reproduce the issue, run:
apt install odoo-18
odoo
It will crash with this traceback:
Traceback (most recent call last):
File "/usr/bin/odoo", line 5, in <module>
import odoo
File "/usr/lib/python3/dist-packages/odoo/__init__.py", line 63, in <module>
from . import service
File "/usr/lib/python3/dist-packages/odoo/service/__init__.py", line 5, in
<module>
from . import model
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 13, in
<module>
from odoo.http import request
File "/usr/lib/python3/dist-packages/odoo/http.py", line 281, in <module>
if parse_version(werkzeug.__version__) >= parse_version('2.0.2'):
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'werkzeug' has no attribute '__version__'
werkzeug.__version__ is deprecated since 2023, but this particular line of Odoo
code is absent in the current version of Odoo 18.0.
After checking the content of the package, I believe the cause is that the code
contained in the package is outdated.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: odoo-18 18.0.0+dfsg-2build1
ProcVersionSignature: Ubuntu 7.0.0-31.31~24.04.1-generic 7.0.14
Uname: Linux 7.0.0-31-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: ubuntu-oci:minimized
CloudSerial: 20260901
Date: Tue Sep 15 15:34:20 2026
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
TERM=xterm
SourcePackage: odoo
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: odoo (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug cloud-image resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167340
Title:
odoo-18 crashes on startup
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/odoo/+bug/2167340/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs