Da root ho lanciato il secondo comando che mi hai detto e ho ottenuto il seguente messaggio:
2016-01-26 13:24:30,855 5558 CRITICAL odoo openerp.modules.module: Couldn't load module report
2016-01-26 13:24:30,855 5558 CRITICAL odoo openerp.modules.module: No module named pyPdf
2016-01-26 13:24:30,855 5558 ERROR odoo openerp.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 338, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/site-packages/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 "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 324, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/usr/lib/python2.7/site-packages/openerp/addons/report/__init__.py", line 2, in <module>
import models
File "/usr/lib/python2.7/site-packages/openerp/addons/report/models/__init__.py", line 1, in <module>
import report
File "/usr/lib/python2.7/site-packages/openerp/addons/report/models/report.py", line 27, in <module>
from pyPdf import PdfFileWriter, PdfFileReader
ImportError: No module named pyPdf
2016-01-26 13:24:30,884 5558 CRITICAL odoo openerp.service.server: Failed to initialize database `odoo`.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/openerp/service/server.py", line 885, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 385, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 338, in load_modules
loaded_modules, update_module)
File "/usr/lib/python2.7/site-packages/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 "/usr/lib/python2.7/site-packages/openerp/modules/loading.py", line 123, in load_module_graph
load_openerp_module(package.name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 324, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/usr/lib/python2.7/site-packages/openerp/modules/module.py", line 61, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/usr/lib/python2.7/site-packages/openerp/addons/report/__init__.py", line 2, in <module>
import models
File "/usr/lib/python2.7/site-packages/openerp/addons/report/models/__init__.py", line 1, in <module>
import report
File "/usr/lib/python2.7/site-packages/openerp/addons/report/models/report.py", line 27, in <module>
from pyPdf import PdfFileWriter, PdfFileReader
ImportError: No module named pyPdf