Date: Sat, 20 Aug 2022 15:41:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265957] finance/odoo broken Message-ID: <bug-265957-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265957 Bug ID: 265957 Summary: finance/odoo broken Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: freebsd-bugs@boelz.eu Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org After installing finance/odoo, on startup the error `AttributeError: module 'werkzeug.routing' has no attribute 'NumberConverter'` is logged. Every request returns an Internal Server Error and the following is logged: ``` 2022-08-20 15:37:04,038 17915 INFO odoodb werkzeug: 127.0.0.1 - - [20/Aug/= 2022 15:37:04] "GET / HTTP/1.1" 500 - 1 0.001 0.004 2022-08-20 15:37:04,041 17915 ERROR odoodb werkzeug: Error on request: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/werkzeug/serving.py", line 3= 35, in run_wsgi execute(self.server.app) File "/usr/local/lib/python3.9/site-packages/werkzeug/serving.py", line 3= 22, in execute application_iter =3D app(environ, start_response) File "/usr/local/lib/python3.9/site-packages/odoo/service/server.py", line 441, in app return self.app(e, s) File "/usr/local/lib/python3.9/site-packages/odoo/service/wsgi_server.py", line 123, in application return application_unproxied(environ, start_response) File "/usr/local/lib/python3.9/site-packages/odoo/service/wsgi_server.py", line 98, in application_unproxied result =3D odoo.http.root(environ, start_response) File "/usr/local/lib/python3.9/site-packages/odoo/http.py", line 1306, in __call__ return self.dispatch(environ, start_response) File "/usr/local/lib/python3.9/site-packages/odoo/http.py", line 1272, in __call__ return self.app(environ, start_wrapped) File "/usr/local/lib/python3.9/site-packages/werkzeug/middleware/shared_data.py", line 247, in __call__ return self.app(environ, start_response) File "/usr/local/lib/python3.9/site-packages/odoo/http.py", line 1463, in dispatch ir_http =3D request.registry['ir.http'] File "/usr/local/lib/python3.9/site-packages/odoo/modules/registry.py", l= ine 177, in __getitem__ return self.models[model_name] KeyError: 'ir.http' - - - 2022-08-20 15:37:11,549 17915 ERROR odoodb odoo.sql_db: bad query: SELECT latest_version FROM ir_module_module WHERE name=3D'base' ERROR: relation "ir_module_module" does not exist LINE 1: SELECT latest_version FROM ir_module_module WHERE name=3D'base... ^ 2022-08-20 15:37:11,550 17915 WARNING ? odoo.addons.base.models.ir_cron: Tr= ied to poll an undefined table on database odoodb. 2022-08-20 15:37:14,581 17915 ERROR odoodb odoo.sql_db: bad query: SELECT latest_version FROM ir_module_module WHERE name=3D'base' ERROR: relation "ir_module_module" does not exist LINE 1: SELECT latest_version FROM ir_module_module WHERE name=3D'base... ^ 2022-08-20 15:37:14,582 17915 WARNING ? odoo.addons.base.models.ir_cron: Tr= ied to poll an undefined table on database odoodb. ``` It looks like [Odoo requires Werkzeug 0.16][1] and doesn't work with versio= n 2 from ports. [1]: https://www.odoo.com/forum/help-1/attributeerror-module-werkzeug-routing-ha= s-no-attribute-numberconverter-207496 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265957-7788>