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

Line 1 : 'bool' object has no attribute 'lower' during database update for file base/security/ir.model.access.csv (v8)

Subscribe

Get notified when there's activity on this post

This question has been flagged
v8databaseupdate
2 Replies
6678 Views
Avatar
Janno Liivak

How can I get passed this CRITICAL error?

2014-07-06 16:19:04,506 3883 ERROR applespot werkzeug: Error on request:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/Library/Python/2.7/site-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/Users/jannolii/development/python/odoo/openerp/service/server.py", line 280, in app
    return self.app(e, s)
  File "/Users/jannolii/development/python/odoo/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/Users/jannolii/development/python/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/Users/jannolii/development/python/odoo/openerp/http.py", line 1165, in __call__
    return self.dispatch(environ, start_response)
  File "/Users/jannolii/development/python/odoo/openerp/http.py", line 1142, in __call__
    return self.app(environ, start_wrapped)
  File "/Library/Python/2.7/site-packages/werkzeug/wsgi.py", line 588, in __call__
    return self.app(environ, start_response)
  File "/Users/jannolii/development/python/odoo/openerp/http.py", line 1297, in dispatch
    ir_http = request.registry['ir.http']
  File "/Users/jannolii/development/python/odoo/openerp/http.py", line 228, in registry
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
  File "/Users/jannolii/development/python/odoo/openerp/modules/registry.py", line 291, in get
    update_module)
  File "/Users/jannolii/development/python/odoo/openerp/modules/registry.py", line 322, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/Users/jannolii/development/python/odoo/openerp/modules/loading.py", line 311, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
  File "/Users/jannolii/development/python/odoo/openerp/modules/loading.py", line 186, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/Users/jannolii/development/python/odoo/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/Users/jannolii/development/python/odoo/openerp/tools/convert.py", line 978, in convert_file
    convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
  File "/Users/jannolii/development/python/odoo/openerp/tools/convert.py", line 1046, in convert_csv_import
    raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
Exception: Module loading base failed: file base/security/ir.model.access.csv could not be processed:
 Line 1 : 'bool' object has no attribute 'lower'

0
Avatar
Discard
Janno Liivak
Author

I tracked this error down to _str_to_boolean method in ir_fields.py (of base module). Somehow it ends up converting numerical 1 to lowercase string. Value is taken from a boolean typed field in file I mentioned in my question. Any ideas why?

Avatar
Janno Liivak
Author Best Answer

Found a fix for this in github (by ccomb)
https://github.com/anybox/odoo/commit/740d5c6cd335f6af0b4eef77513faa2ef21c9fa8

0
Avatar
Discard
Janno Liivak
Author

This fix has been since merged with a 8.0 branch and ... case closed.

Avatar
Matteo Boscolo
Best Answer

In my case the bug appere when I -u all 

the patch fix the problem ..

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
How to move Odoo Data into new server, without any modules? Solved
database update
Avatar
Avatar
1
Mar 20
3946
Error updating Odoo database
database update
Avatar
Avatar
Avatar
2
Feb 17
9699
Update Odoo 8 Solved
v8 update
Avatar
Avatar
1
May 16
5944
read database value in report
v8 database report
Avatar
Avatar
1
Jun 25
4132
Odoo 8 login - database list
v8 database list_db
Avatar
Avatar
4
Mar 20
3897
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