I was configuring odoo with database that I created from postgresql directly and all went good.
For reasons that I haven't could find the answer odoo don't have an option to delete/deseable demonstration data, only you can avoid demonstration data if you create the database from odoo database manager.
For this reason I create a new database from odoo database manager without demonstration data, but this second database I deleted from postgresql not from odoo, but now odoo is giving a lot of error and I have cannot connect to my first database anymore.
Anyone have an idea, why is this doing and how can I solve?
Please, dont say reinstall odoo and create another database, this is the last option.
Bellow the output errors:
$ python odoo.py --db_host localhost --db_port 5432 -r odoo -w odoo -d odoo-9 --xmlrpc-interface localhost --xmlrpc-port 8072
2016-01-22 07:58:30,294 2200 INFO ? openerp: OpenERP version 9.0c-20160113
2016-01-22 07:58:30,294 2200 INFO ? openerp: addons paths: ['/home/omixam/.local/share/Odoo/addons/9.0', u'/home/omixam/no_root/odoo-9/openerp/addons']
2016-01-22 07:58:30,294 2200 INFO ? openerp: database: odoo@localhost:5432
2016-01-22 07:58:30,429 2200 INFO ? openerp.service.server: HTTP service (werkzeug) running on localhost:8072
2016-01-22 07:58:30,444 2200 INFO odoo-9 openerp.modules.loading: loading 1 modules...
2016-01-22 07:58:30,458 2200 INFO odoo-9 openerp.modules.loading: 1 modules loaded in 0.01s, 0 queries
2016-01-22 07:58:30,489 2200 INFO odoo-9 openerp.modules.loading: loading 63 modules...
2016-01-22 07:58:30,514 2200 INFO ? openerp.addons.bus.models.bus: Bus.loop listen imbus on db postgres
2016-01-22 07:58:30,528 2200 INFO odoo-9 openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2016-01-22 07:58:30,528 2200 CRITICAL odoo-9 openerp.modules.module: Couldn't load module report
2016-01-22 07:58:30,529 2200 CRITICAL odoo-9 openerp.modules.module: 'NoneType' object has no attribute 'group'
2016-01-22 07:58:30,529 2200 ERROR odoo-9 openerp.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/omixam/no_root/odoo-9/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 334, in load_modules
force, status, report, loaded_modules, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 324, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/home/omixam/no_root/odoo-9/openerp/addons/report/__init__.py", line 2, in <module>
import models
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/__init__.py", line 1, in <module>
import report
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/report.py", line 52, in <module>
version = re.search('([0-9.]+)', out).group(0)
AttributeError: 'NoneType' object has no attribute 'group'
2016-01-22 07:58:30,530 2200 CRITICAL odoo-9 openerp.service.server: Failed to initialize database `odoo-9`.
Traceback (most recent call last):
File "/home/omixam/no_root/odoo-9/openerp/service/server.py", line 885, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 334, in load_modules
force, status, report, loaded_modules, update_module)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/omixam/no_root/odoo-9/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 324, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/home/omixam/no_root/odoo-9/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/home/omixam/no_root/odoo-9/openerp/addons/report/__init__.py", line 2, in <module>
import models
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/__init__.py", line 1, in <module>
import report
File "/home/omixam/no_root/odoo-9/openerp/addons/report/models/report.py", line 52, in <module>
version = re.search('([0-9.]+)', out).group(0)
AttributeError: 'NoneType' object has no attribute 'group'