Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Kov
    • Nábytek
    • Jídlo
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • IT hardware a podpora
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Why do I get "openerp.modules.module: Couldn't load module web" after reboot?

Odebírat

Get notified when there's activity on this post

This question has been flagged
webaddons
2 Odpovědi
15574 Zobrazení
Avatar
exxor

I just updated some packages of my Ubuntu server (nothing OpenERP related as far as I can tell) and rebooted it as there were also some kernel updates. After that I saw "No handler found." when I went to the webinterface of my OpenERP installation. Having a look in my openerp-server.log I saw "openerp.modules.module: Couldn't load module web". I guess that's responsible for the "No handler found" message but why the heck couldn't it load the web module?? OpenERP was running just fine for several month now and survived many system updates and reboots (I excluded OpenERP itself from the apt-get update routine as I don't like the idea of getting a untested nightly version every day...). And there was nothing changed, I checked the addons path (correct and all web and web_* directories in place), I checked the file permissions and ownership (correct and openerp may still access and modify all of its files) and I checked if some file would have been modified lately (not the case).

After those checks I played a little around with the addons path and updated openerp manually to the latest nightly version. This didn't change anything.

So what can I do?

Here is the log file with my original OpenERP version and after the update. I also tried debug mode but that didn't reveal anything more useful than that. I also guess the "report.sale.order"-problem you see in the log has nothing to do with the problem also I'm not sure and I wouldn't know how to fix it:

2014-02-05 17:34:07,124 32862 INFO ? openerp: OpenERP version 7.0-20131016-232725
2014-02-05 17:34:07,124 32862 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons
2014-02-05 17:34:07,124 32862 INFO ? openerp: database hostname: localhost
2014-02-05 17:34:07,124 32862 INFO ? openerp: database port: 5432
2014-02-05 17:34:07,124 32862 INFO ? openerp: database user: openerp
2014-02-05 17:34:07,495 32862 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.14` detected
2014-02-05 17:34:07,705 32862 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-02-05 17:34:07,705 32862 CRITICAL ? openerp.modules.module: The report "report.sale.order" already exists!
2014-02-05 17:34:07,705 32862 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 "/usr/lib/pymodules/python2.7/openerp/service/__init__.py", line 60, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/usr/lib/pymodules/python2.7/openerp/addons/sale~1/__init__.py", line 29, in <module>
    import report
  File "/usr/lib/pymodules/python2.7/openerp/addons/sale~1/report/__init__.py", line 22, in <module>
    import sale_order
  File "/usr/lib/pymodules/python2.7/openerp/addons/sale~1/report/sale_order.py", line 42, in <module>
    report_sxw.report_sxw('report.sale.order', 'sale.order', 'addons/sale/report/sale_order.rml', parser=order, header="external")
  File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 392, in __init__
    report_rml.__init__(self, name, table, rml, '')
  File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 65, in __init__
    super(report_rml, self).__init__(name)
  File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.sale.order" already exists!
2014-02-05 17:34:07,713 32862 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-02-05 17:34:07,713 32862 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-02-05 17:36:04,779 32862 INFO ? openerp.service: Initiating shutdown
2014-02-05 17:36:04,779 32862 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.
2014-02-05 17:37:35,084 33110 INFO ? openerp: OpenERP version 7.0-20140205-002759
2014-02-05 17:37:35,085 33110 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons,/usr/share/pyshared/openerp/addons
2014-02-05 17:37:35,085 33110 INFO ? openerp: database hostname: localhost
2014-02-05 17:37:35,085 33110 INFO ? openerp: database port: 5432
2014-02-05 17:37:35,085 33110 INFO ? openerp: database user: openerp
2014-02-05 17:37:35,445 33110 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.14` detected
2014-02-05 17:37:35,756 33110 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-02-05 17:37:35,756 33110 CRITICAL ? openerp.modules.module: The report "report.sale.order" already exists!
2014-02-05 17:37:35,756 33110 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 "/usr/lib/pymodules/python2.7/openerp/service/__init__.py", line 60, in load_server_wide_modules
    openerp.modules.module.load_openerp_module(m)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 415, in load_openerp_module
    getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 628, in wsgi_postload
    openerp.wsgi.register_wsgi_handler(Root())
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 517, in __init__
    self.load_addons()
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 580, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/usr/lib/pymodules/python2.7/openerp/addons/sale~1/__init__.py", line 29, in <module>
    import report
  File "/usr/lib/pymodules/python2.7/openerp/addons/sale~1/report/__init__.py", line 22, in <module>
    import sale_order
  File "/usr/lib/pymodules/python2.7/openerp/addons/sale~1/report/sale_order.py", line 42, in <module>
    report_sxw.report_sxw('report.sale.order', 'sale.order', 'addons/sale/report/sale_order.rml', parser=order, header="external")
  File "/usr/lib/pymodules/python2.7/openerp/report/report_sxw.py", line 390, in __init__
    report_rml.__init__(self, name, table, rml, '')
  File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 65, in __init__
    super(report_rml, self).__init__(name)
  File "/usr/lib/pymodules/python2.7/openerp/report/interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.sale.order" already exists!
2014-02-05 17:37:35,766 33110 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-02-05 17:37:35,767 33110 INFO ? openerp: OpenERP server is running, waiting for connections...
2014-02-05 17:38:52,180 33110 INFO ? werkzeug: 10.0.2.5 - - [05/Feb/2014 17:38:52] "GET / HTTP/1.1" 404 -
2014-02-05 17:46:21,240 33110 INFO ? openerp.service: Initiating shutdown
2014-02-05 17:46:21,241 33110 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.
0
Avatar
Zrušit
Avatar
exxor
Autor Nejlepší odpověď

Reflecting on my own question I solved my problem. It indeed was due to the duplicated "report.sale.order". Checking the addons in the addon path I already noticed before that one is out of order: some "sale~1" which got created after the other folders (and was not updated by the update to 7.0-20140205-002759 either). There also was a second "sale" folder which I guess is the original. Removing the "sale~1" folder from the addons directory solved the problem. Now also the web module gets loaded again. I have no idea how this "sale~1" got there. I guess I have installed/updated some OpenERP addons after the last reboot which caused this and since then not rebooted the system or OpenERP so that I noticed the error just now. But as long as my installation and DB are working now (and so far it's looking good) I don't mind.

2
Avatar
Zrušit
Avatar
Antonio M. Vigliotti
Nejlepší odpověď

Thanks!

I met the same trouble.

 

Antonio M. Vigliotti

 

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Adding addons path makes web interface fail
web addons odoo11
Avatar
2
pro 19
3322
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Vyřešeno
addons
Avatar
Avatar
Avatar
Avatar
Avatar
5
říj 25
2365
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Avatar
Avatar
Avatar
2
srp 25
1721
How to use dynamic snippet for local Seo
web
Avatar
Avatar
2
čvc 25
2268
European Accessibility Act compliance
web
Avatar
1
kvě 25
1638
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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