Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

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

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
webaddons
2 Risposte
15576 Visualizzazioni
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
Abbandona
Avatar
exxor
Autore Risposta migliore

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
Abbandona
Avatar
Antonio M. Vigliotti
Risposta migliore

Thanks!

I met the same trouble.

 

Antonio M. Vigliotti

 

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Adding addons path makes web interface fail
web addons odoo11
Avatar
2
dic 19
3322
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Risolto
addons
Avatar
Avatar
Avatar
Avatar
Avatar
5
ott 25
2367
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Avatar
Avatar
Avatar
2
ago 25
1725
How to use dynamic snippet for local Seo
web
Avatar
Avatar
2
lug 25
2268
European Accessibility Act compliance
web
Avatar
1
mag 25
1639
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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