Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Couldn't load module base

Subscribe

Get notified when there's activity on this post

This question has been flagged
ocaodoo12Cybrosys
3 Replies
21071 Views
Avatar
Soudhankhi Dalai

I have installed odoo 12 on my server.When i am trying to login to it it shows the below error.After getting this error i installed reportlab of odoo 12 requirement version.still getting base and reportlab error.


2020-09-18 08:07:45,593 11004 INFO ? odoo: Odoo version 12.0
2020-09-18 08:07:45,594 11004 INFO ? odoo: addons paths: ['/home/ubuntu/.local/share/Odoo/addons/12.0', '/opt/odoo/odoo/odoo/addons', '/opt/odoo/odoo/addons']
2020-09-18 08:07:45,595 11004 INFO ? odoo: database: default@default:default
2020-09-18 08:07:45,678 11004 CRITICAL ? odoo.modules.module: Couldn't load module base
2020-09-18 08:07:45,678 11004 CRITICAL ? odoo.modules.module: No module named 'reportlab'
2020-09-18 08:07:45,679 11004 ERROR ? odoo.service.server: Failed to load server-wide module `base`.
Traceback (most recent call last):
  File "/opt/odoo/odoo/odoo/service/server.py", line 1109, in load_server_wide_modules
    odoo.modules.module.load_openerp_module(m)
  File "/opt/odoo/odoo/odoo/modules/module.py", line 368, in load_openerp_module
    __import__('odoo.addons.' + module_name)
  File "/opt/odoo/odoo/odoo/modules/module.py", line 82, in load_module
    exec(open(modfile, 'rb').read(), new_mod.__dict__)
  File "<string>", line 5, in <module>
  File "/opt/odoo/odoo/odoo/addons/base/models/__init__.py", line 12, in <module>
    from . import ir_actions_report
  File "/opt/odoo/odoo/odoo/addons/base/models/ir_actions_report.py", line 25, in <module>
    from reportlab.graphics.barcode import createBarcodeDrawing
ModuleNotFoundError: No module named 'reportlab'
Exception in thread odoo.service.httpd:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/odoo/odoo/odoo/service/server.py", line 435, in http_thread
    self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
  File "/opt/odoo/odoo/odoo/service/server.py", line 149, in __init__
    handler=RequestHandler)
  File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 699, in __init__
    HTTPServer.__init__(self, server_address, handler)
  File "/usr/lib/python3.6/socketserver.py", line 456, in __init__
    self.server_bind()
  File "/opt/odoo/odoo/odoo/service/server.py", line 164, in server_bind
    super(ThreadedWSGIServerReloadable, self).server_bind()
  File "/usr/lib/python3.6/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.6/socketserver.py", line 470, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

Exception in thread odoo.service.cron.cron0:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/odoo/odoo/odoo/service/server.py", line 425, in target
    self.cron_thread(i)
  File "/opt/odoo/odoo/odoo/service/server.py", line 396, in cron_thread
    from odoo.addons.base.models.ir_cron import ir_cron
  File "/opt/odoo/odoo/odoo/addons/base/models/__init__.py", line 12, in <module>
    from . import ir_actions_report
  File "/opt/odoo/odoo/odoo/addons/base/models/ir_actions_report.py", line 25, in <module>
    from reportlab.graphics.barcode import createBarcodeDrawing
ModuleNotFoundError: No module named 'reportlab'

Exception in thread odoo.service.cron.cron1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/odoo/odoo/odoo/service/server.py", line 425, in target
    self.cron_thread(i)
  File "/opt/odoo/odoo/odoo/service/server.py", line 396, in cron_thread
    from odoo.addons.base.models.ir_cron import ir_cron
  File "/opt/odoo/odoo/odoo/addons/base/models/__init__.py", line 12, in <module>
    from . import ir_actions_report
  File "/opt/odoo/odoo/odoo/addons/base/models/ir_actions_report.py", line 25, in <module>
    from reportlab.graphics.barcode import createBarcodeDrawing
ModuleNotFoundError: No module named 'reportlab'

0
Avatar
Discard
Avatar
Ermin Trevisan
Best Answer

In addition to Deepak you may also want to check your addons paths, they look pretty weird.

0
Avatar
Discard
Avatar
EvilTweats
Best Answer

I think the more concerned issue here is :

[Errno 98] Address already in use
depending on which OS you are running (Linux or Windows), you have to kill the server/service on the port which your odoo instance is trying to run.
Also simply restarting your system can also fix that if don't wanna go into technical.
0
Avatar
Discard
Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hi Soudhankhi,


You can try adding manually the required python package reportlab 3.5.13 


Download package zip : https://pypi.org/project/reportlab/3.5.13/#files


Extract tar and rename it to reportlab and then place to /opt/odoo/odoo 

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

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

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

Sign up
Related Posts Replies Views Activity
[sudo] password for odoo: Solved
odoo12 OCA Cybrosys
Avatar
Avatar
Avatar
3
Dec 22
15569
Caused by: TypeError: this is null in Odoo 18 Owl js which creating a scheduler dashboard
Cybrosys
Avatar
0
Nov 24
2664
Odoo 16 add custom button next to create button in tree view Solved
Cybrosys
Avatar
Avatar
Avatar
2
Oct 24
4997
odoo report downloading in doc/docx file
Cybrosys
Avatar
Avatar
1
May 24
2560
Odoo Mail Sending Limit Solved
odoo12
Avatar
Avatar
Avatar
2
Dec 23
16557
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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