Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
8268 Weergaven
ubuntu@ip-xxx-xx-xx-xxx:~$ sudo tail -f /var/log/odoo/odoo.log
    from . import models
  File "/opt/odoo/odoo/addons/base/models/__init__\.py",\ line\ 27,\ in\ 
\ \ \ \ from\ \.\ import\ ir_http
\ \ File\ "/opt/odoo/odoo/addons/base/models/ir_http\.py",\ line\ 71,\ in\ 
\ \ \ \ class\ SignedIntConverter\(werkzeug\.routing\.NumberConverter\):
AttributeError:\ module\ 'werkzeug\.routing'\ has\ no\ attribute\ 'NumberConverter'
2023\-07\-13\ 05:42:30,474\ 1385665\ INFO\ \?\ odoo\.service\.server:\ HTTP\ service\ \(werkzeug\)\ running\ on\ ip-xxx-xx-xx-xxx.ap-south-1.compute.internal:8069
2023-07-13 05:42:50,040 1385665 INFO ? odoo.http: HTTP Configuring static files
2023-07-13 05:42:50,103 1385665 INFO ? odoo.http: Generating nondb routing
2023-07-13 05:42:50,147 1385665 INFO ? werkzeug: 127.0.0.1 - - [13/Jul/2023 05:42:50] "GET /my HTTP/1.0" 404 - 1 0.044 0.053

I tried werkzueg 15.0 and Werkzeug==0.16.1 versions still getting the same error

My primary sub-domain intranet.domain.in is showing 404 error and other sub-domains are showing a fresh odoo select database page.

I think the database connection failed due to some issue with the werkzeug.

Please help me to fix this issue.

Avatar
Annuleer
Beste antwoord

Hi, 

Try: pip install "werkzeug==2.3.8"

It is the most stable with Odoo 17.

Avatar
Annuleer
Beste antwoord

I work by updating Werkzeug to version 2.3.3 in Odoo 14 and then restarting the server

pip install werkzeug==2.3.3


Avatar
Annuleer
Beste antwoord

Hi,

As per this solution:  https://www.odoo.com/forum/help-1/attributeerror-module-werkzeug-routing-has-no-attribute-numberconverter-207496 it says 0.16.1 version of Werkzeug will resolve the case.


As you said that you already have installed it, can you confirm that you are using the same python environment in which you have installed the package. There is cases, people will install packages in default python version and running odoo with using diff. python, ie using venv , can you confirm the same in your case. Also once package is installed, make sure to stop and start the service.

Thanks

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jul. 23
5328
3
mei 24
6668
1
feb. 22
3932
2
mei 24
3307
1
apr. 24
5017