Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

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

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
webaddons
2 Replies
15582 Tampilan
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
Buang
Avatar
exxor
Penulis Jawaban Terbai

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
Buang
Avatar
Antonio M. Vigliotti
Jawaban Terbai

Thanks!

I met the same trouble.

 

Antonio M. Vigliotti

 

0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Adding addons path makes web interface fail
web addons odoo11
Avatar
2
Des 19
3322
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Diselesaikan
addons
Avatar
Avatar
Avatar
Avatar
Avatar
5
Okt 25
2368
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Avatar
Avatar
Avatar
2
Agu 25
1731
How to use dynamic snippet for local Seo
web
Avatar
Avatar
2
Jul 25
2271
European Accessibility Act compliance
web
Avatar
1
Mei 25
1643
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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