Odoo Help


Openerp 8 crashing at startup -> AttributeError: 'bool' object has no attribute 'endswith'

on 5/14/14, 12:56 PM 3,695 views

Everytime I try to launch Openerp 8 it gives me this error, what am I doing wrong?

Traceback (most recent call last):
  File "/home/vjemio/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/serving.py", line 177, in run_wsgi
  File "/home/vjemio/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/service/server.py", line 273, in app
    return self.app(e, s)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/service/wsgi_server.py", line 215, in application
    return application_unproxied(environ, start_response)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/service/wsgi_server.py", line 201, in application_unproxied
    result = handler(environ, start_response)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/http.py", line 1097, in __call__
    return self.dispatch(environ, start_response)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/http.py", line 1074, in __call__
    return self.app(environ, start_wrapped)
  File "/home/vjemio/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/http.py", line 1226, in dispatch
    ir_http = request.registry['ir.http']
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/http.py", line 220, in registry
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/modules/registry.py", line 269, in get
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/modules/registry.py", line 299, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/modules/loading.py", line 335, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/modules/loading.py", line 241, in load_marked_modules
    graph.add_modules(cr, module_list, force)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/modules/graph.py", line 99, in add_modules
    info = openerp.modules.module.load_information_from_description_file(module)
  File "/home/vjemio/openerp-8.0-acmlpsc/openerp8/openerp/modules/module.py", line 180, in load_information_from_description_file
    terp_file = opj(mod_path, '__openerp__.py')
  File "/usr/local/lib/python2.7/posixpath.py", line 77, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'bool' object has no attribute 'endswith'


Marek Matej
On 5/16/14, 12:33 PM

I'm getting the same error with latest sources from trunk. However, I was able to run the server before so my sub-question would be if during installation phase is openerp/odoo upgrading its packages/modules. Otherwise I dont understad that it was working with the same steps and same sources before while now it is not.




Most important in a case of such errors is to check if all necessary python modules and versions are installed. This error emerges when packages names in list are processing and "None" is found in place of package name.

I think this behaviour was caused by previous openerp/odoo versions. The solution is to start over by using latest sources from git repo, following the installation rules.

Nhomar Hernandez
On 5/18/14, 5:16 AM

I recommend to you make this question on the bug tracker,


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 5/14/14, 12:56 PM
Seen: 3695 times
Last updated: 5/19/15, 9:51 AM