İç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

Getting error "No handler found." in openerp

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
pythonconfighandlerlogfile
1 Cevapla
8250 Görünümler
Avatar
sneha antony

I made changes in /opt/openerp/server/openerp/addons/stock/stock.py.A portion from the code was removed and server was restarted for some bug fixing purposes.But when I enter the url "No handler found." is shown.Thinking that the error is due to the change made in the .py file,I replaced the code but still the error exists.After a long search I found that the solution is with openerp-server.conf file and openerp-server.log file.

The last portions of log file is pasted below:

2014-06-11 10:28:13,959 785 INFO ? openerp.service: Initiating shutdown
2014-06-11 10:28:13,960 785 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.
2014-06-11 10:28:37,786 792 INFO ? openerp: OpenERP version 7.0-20140121-002442
2014-06-11 10:28:37,809 792 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2014-06-11 10:28:37,809 792 INFO ? openerp: database hostname: localhost
2014-06-11 10:28:37,809 792 INFO ? openerp: database port: 5432
2014-06-11 10:28:37,809 792 INFO ? openerp: database user: openerp
2014-06-11 10:28:38,198 792 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.14` detected
2014-06-11 10:28:38,456 792 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-06-11 10:28:38,456 792 CRITICAL ? openerp.modules.module: invalid syntax (stock.py, line 1213)
2014-06-11 10:28:38,456 792 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/service/__init__.py", line 60, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/server/openerp/modules/module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/opt/openerp/server/openerp/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/openerp/server/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/opt/openerp/server/openerp/addons/stock/__init__.py", line 22, in <module>
    from stock import *
  File "/opt/openerp/server/openerp/addons/stock/stock.py", line 1213
    else:
       ^
SyntaxError: invalid syntax
2014-06-11 10:28:38,506 792 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-06-11 10:28:38,506 792 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-06-11 10:31:51,917 792 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:31:51] "GET /?db=db_test&ts=1402475677168 HTTP/1.1" 404 -
2014-06-11 10:31:51,967 792 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:31:51] "GET /favicon.ico HTTP/1.1" 404 -
2014-06-11 10:31:52,337 792 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:31:52] "GET /?db=db_test&ts=1402475677168 HTTP/1.1" 404 -

 


2014-06-11 10:43:07,506 792 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:43:07] "GET / HTTP/1.1" 404 -
2014-06-11 10:46:41,232 792 INFO ? openerp.service: Initiating shutdown
2014-06-11 10:46:41,232 792 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.
2014-06-11 10:47:04,754 778 INFO ? openerp: OpenERP version 7.0-20140121-002442
2014-06-11 10:47:04,777 778 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2014-06-11 10:47:04,777 778 INFO ? openerp: database hostname: localhost
2014-06-11 10:47:04,777 778 INFO ? openerp: database port: 5432
2014-06-11 10:47:04,777 778 INFO ? openerp: database user: openerp
2014-06-11 10:47:05,174 778 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.14` detected
2014-06-11 10:47:05,430 778 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-06-11 10:47:05,430 778 CRITICAL ? openerp.modules.module: expected an indented block (stock.py, line 1212)
2014-06-11 10:47:05,430 778 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/service/__init__.py", line 60, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/opt/openerp/server/openerp/modules/module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/opt/openerp/server/openerp/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/opt/openerp/server/openerp/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/openerp/server/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/opt/openerp/server/openerp/addons/stock/__init__.py", line 22, in <module>
    from stock import *
  File "/opt/openerp/server/openerp/addons/stock/stock.py", line 1212
    if pick.state in ['done','cancel']:
     ^
IndentationError: expected an indented block

2014-06-11 10:47:05,482 778 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-06-11 10:47:05,483 778 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-06-11 10:47:09,865 778 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:47:09] "GET / HTTP/1.1" 404 -
2014-06-11 10:47:10,354 778 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:47:10] "GET / HTTP/1.1" 404 -
2014-06-11 10:47:10,397 778 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:47:10] "GET / HTTP/1.1" 404 -
2014-06-11 10:47:10,429 778 INFO ? werkzeug: 192.168.1.13 - - [11/Jun/2014 10:47:10] "GET / HTTP/1.1" 404 -

 

 

and my openerp-server.conf file includes

   

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = openerp
db_password = test123
logfile = /var/log/openerp/openerp-server.log


Still I am not able to trace out the proper solution for the issue.Am I missing something in the config file.Please someboby help me in fixing the issue.

0
Avatar
Vazgeç
Avatar
Ludo - 21South
En İyi Yanıt

Well, it seems not all of your changes were correct. The indentation is wrong file "/opt/openerp/server/openerp/addons/stock/stock.py", on lines 1212 and 1213. Open the file with any smart python editor and you will most likely see a syntax error appear. Most likely it has something to do with the number of spaces (3 instead of 4 for example) before the if-statement.

If you restored all the old code and it still fails, try to reload the server and update the database with flag "-u all".

 

By the way, if you want to alter functionality it is better to stay away from the Odoo core code and create a custom module.

1
Avatar
Vazgeç
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
İlgili Gönderiler Cevaplar Görünümler Aktivite
Making controller use modified version of the request handler in odoo 8?
python handler controller
Avatar
0
Mar 15
4487
new python env
python
Avatar
0
Mar 25
2284
What means "Too many values to unpack" message? Çözüldü
python
Avatar
Avatar
Avatar
Avatar
Avatar
4
Nis 24
175738
have no data in screen. read data in my own module from different model
python
Avatar
0
Ara 23
2934
How to insert value to a one2many field in table with create method? Çözüldü
python
Avatar
Avatar
Avatar
Avatar
Avatar
5
Tem 25
231962
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