İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

How to solve deprecated dependancy in Odoo 16

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
2 Cevaplar
5697 Görünümler
Avatar
Turi

Hi,

I've been learning Odoo in my local Community edition installation. I had stable version in Git but when I tried to start Odoo it gave internal server error. When I checked the Odoo logs I was given the following error:


2023-08-28 11:29:56,315 7800 WARNING localhost_db py.warnings: E:\odoo16\server\odoo\http.py:1459: DeprecationWarning: 'werkzeug.urls.url_parse' is deprecated and will be removed in Werkzeug 3.0. Use 'urllib.parse.urlsplit' instead.

File "E:\miniconda3\lib\threading.py", line 973, in _bootstrap

self._bootstrap_inner()

File "E:\miniconda3\lib\threading.py", line 1016, in _bootstrap_inner

self.run()

File "E:\miniconda3\lib\threading.py", line 953, in run

self._target(*self._args, **self._kwargs)

File "E:\miniconda3\lib\socketserver.py", line 683, in process_request_thread

self.finish_request(request, client_address)

File "E:\miniconda3\lib\socketserver.py", line 360, in finish_request

self.RequestHandlerClass(request, client_address, self)

File "E:\miniconda3\lib\socketserver.py", line 747, in __init__

self.handle()

File "E:\miniconda3\lib\site-packages\werkzeug\serving.py", line 392, in handle

super().handle()

File "E:\miniconda3\lib\http\server.py", line 433, in handle

self.handle_one_request()

File "E:\miniconda3\lib\http\server.py", line 421, in handle_one_request

method()

File "E:\miniconda3\lib\site-packages\werkzeug\serving.py", line 364, in run_wsgi

execute(self.server.app)

File "E:\miniconda3\lib\site-packages\werkzeug\serving.py", line 325, in execute

application_iter = app(environ, start_response)

File "E:\odoo16\server\odoo\http.py", line 1998, in __call__

response = request._serve_db()

File "E:\odoo16\server\odoo\http.py", line 1584, in _serve_db

return service_model.retrying(self._serve_ir_http, self.env)

File "E:\odoo16\server\odoo\service\model.py", line 133, in retrying

result = func()

File "E:\odoo16\server\odoo\http.py", line 1611, in _serve_ir_http

response = self.dispatcher.dispatch(rule.endpoint, args)

File "E:\odoo16\server\odoo\http.py", line 1725, in dispatch

return self.request.registry['ir.http']._dispatch(endpoint)

File "E:\odoo16\server\odoo\addons\base\models\ir_http.py", line 154, in _dispatch

result = endpoint(**request.params)

File "E:\odoo16\server\odoo\http.py", line 697, in route_wrapper

result = endpoint(self, *args, **params_ok)

File "E:\odoo16\server\odoo\addons\portal\controllers\web.py", line 16, in index

return super().index(*args, **kw)

File "E:\odoo16\server\odoo\http.py", line 697, in route_wrapper

result = endpoint(self, *args, **params_ok)

File "E:\odoo16\server\odoo\addons\web\controllers\home.py", line 34, in index

return request.redirect_query('/web', query=request.params)

File "E:\odoo16\server\odoo\http.py", line 1467, in redirect_query

return self.redirect(location, code=code, local=local)

File "E:\odoo16\server\odoo\http.py", line 1459, in redirect

location = '/' + url_parse(location).replace(scheme='', netloc='').to_url().lstrip('/')


...Other errors like the one above...


2023-08-28 11:30:24,219 7800 ERROR localhost_db odoo.http: Exception during request handling. 

Traceback (most recent call last):

File "E:\odoo16\server\odoo\http.py", line 1998, in __call__

response = request._serve_db()

File "E:\odoo16\server\odoo\http.py", line 1584, in _serve_db

return service_model.retrying(self._serve_ir_http, self.env)

File "E:\odoo16\server\odoo\service\model.py", line 133, in retrying

result = func()

File "E:\odoo16\server\odoo\http.py", line 1613, in _serve_ir_http

self.registry['ir.http']._post_dispatch(response)

File "E:\odoo16\server\odoo\addons\utm\models\ir_http.py", line 26, in _post_dispatch

super()._post_dispatch(response)

File "E:\odoo16\server\odoo\addons\base\models\ir_http.py", line 161, in _post_dispatch

request.dispatcher.post_dispatch(response)

File "E:\odoo16\server\odoo\http.py", line 1681, in post_dispatch

self.request._save_session()

File "E:\odoo16\server\odoo\http.py", line 1512, in _save_session

self.future_response.set_cookie('session_id', sess.sid, max_age=SESSION_LIFETIME, httponly=True)

File "E:\odoo16\server\odoo\http.py", line 1126, in set_cookie

werkzeug.Response.set_cookie(self, key, value=value, max_age=max_age, expires=expires, path=path, domain=domain, secure=secure, httponly=httponly, samesite=samesite)

File "E:\miniconda3\lib\site-packages\werkzeug\sansio\response.py", line 258, in set_cookie

charset = self._charset if self._charset != "utf-8" else None

AttributeError: 'FutureResponse' object has no attribute '_charset'


I didn't touch dependencies and the error seemingly appeared out of nowhere. Does anyone have experience how to solve this error in Odoo?


Version: Odoo 16 Community Edition, installed locally


Best regards, Turi.

0
Avatar
Vazgeç
Avatar
Turi
Üretici En İyi Yanıt

Fixed.

The application was bricked same date that new Python version came out so I figured that might (or might not) have something to do with it. I downloaded latest stable Python release, created new virtual environment in PyCharm using said Python version and installed requirements.txt again. After that the project works like before.

0
Avatar
Vazgeç
Avatar
Mehjabin Farsana
En İyi Yanıt

Hi,
Try this commands:

sudo pip3 uninstall werkzeug

sudo pip3 install werkzeug Werkzeug==0.16.1


See: https://www.odoo.com/forum/help-1/odoo-http-exception-during-request-handling-224343

Thanks

1
Avatar
Vazgeç
Turi
Üretici

Hi,
Thank you for the suggestion but unfortunately it didn't work, I am still receiving the same error. I believe the problem could be that I have to start using urllib.parse instead of werkzeug but I don't know how to replace all instances of the werkzeug and if they have the same interfaces.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now