Alla fine sto reinstallando openerp 7.0 seguendo la guida sul wiki, però ho qualche problema.
Quando eseguo il comando ./openerp-server mi da i seguenti messaggi:
2013-01-31 15:52:16,403 13560 INFO ? openerp: OpenERP version 7.0
2013-01-31 15:52:16,404 13560 INFO ? openerp: addons paths: /lp/openerp/openerp/addons
2013-01-31 15:52:16,404 13560 INFO ? openerp: database hostname: localhost
2013-01-31 15:52:16,404 13560 INFO ? openerp: database port: 5432
2013-01-31 15:52:16,405 13560 INFO ? openerp: database user: openerp
2013-01-31 15:52:16,407 13560 WARNING ? openerp.modules.module: module web: module not found
2013-01-31 15:52:16,408 13560 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-01-31 15:52:16,408 13560 CRITICAL ? openerp.modules.module: unsupported operand type(s) for +: 'bool' and 'str'
2013-01-31 15:52:16,408 13560 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "/lp/openerp/openerp/service/__init__.py", line 59, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/lp/openerp/openerp/modules/module.py", line 403, in load_openerp_module
zip_mod_path = mod_path + '.zip'
TypeError: unsupported operand type(s) for +: 'bool' and 'str'
2013-01-31 15:52:16,410 13560 WARNING ? openerp.modules.module: module web_kanban: module not found
2013-01-31 15:52:16,410 13560 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban
2013-01-31 15:52:16,410 13560 CRITICAL ? openerp.modules.module: unsupported operand type(s) for +: 'bool' and 'str'
2013-01-31 15:52:16,410 13560 ERROR ? openerp.service: Failed to load server-wide module `web_kanban`.
Traceback (most recent call last):
File "/lp/openerp/openerp/service/__init__.py", line 59, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/lp/openerp/openerp/modules/module.py", line 403, in load_openerp_module
zip_mod_path = mod_path + '.zip'
TypeError: unsupported operand type(s) for +: 'bool' and 'str'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/lp/openerp/openerp/service/wsgi_server.py", line 427, in serve
httpd = werkzeug.serving.make_server(interface, port, application, threaded=True)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 399, in make_server
passthrough_errors, ssl_context)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 331, in __init__
HTTPServer.__init__(self, (host, int(port)), handler)
File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
2013-01-31 15:52:16,416 13560 INFO ? openerp: OpenERP server is running, waiting for connections...
^[[5~2013-01-31 15:52:16,403 13560 INFO ? openerp: OpenERP version 7.0
2013-01-31 15:52:16,404 13560 INFO ? openerp: addons paths: /lp/openerp/openerp/addons
2013-01-31 15:52:16,404 13560 INFO ? openerp: database hostname: localhost
2013-01-31 15:52:16,404 13560 INFO ? openerp: database port: 5432
2013-01-31 15:52:16,405 13560 INFO ? openerp: database user: openerp
2013-01-31 15:52:16,407 13560 WARNING ? openerp.modules.module: module web: module not found
2013-01-31 15:52:16,408 13560 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-01-31 15:52:16,408 13560 CRITICAL ? openerp.modules.module: unsupported operand type(s) for +: 'bool' and 'str'
2013-01-31 15:52:16,408 13560 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "/lp/openerp/openerp/service/__init__.py", line 59, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/lp/openerp/openerp/modules/module.py", line 403, in load_openerp_module
zip_mod_path = mod_path + '.zip'
TypeError: unsupported operand type(s) for +: 'bool' and 'str'
2013-01-31 15:52:16,410 13560 WARNING ? openerp.modules.module: module web_kanban: module not found
2013-01-31 15:52:16,410 13560 CRITICAL ? openerp.modules.module: Couldn't load module web_kanban
2013-01-31 15:52:16,410 13560 CRITICAL ? openerp.modules.module: unsupported operand type(s) for +: 'bool' and 'str'
2013-01-31 15:52:16,410 13560 ERROR ? openerp.service: Failed to load server-wide module `web_kanban`.
Traceback (most recent call last):
File "/lp/openerp/openerp/service/__init__.py", line 59, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/lp/openerp/openerp/modules/module.py", line 403, in load_openerp_module
zip_mod_path = mod_path + '.zip'
TypeError: unsupported operand type(s) for +: 'bool' and 'str'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
File "/lp/openerp/openerp/service/wsgi_server.py", line 427, in serve
httpd = werkzeug.serving.make_server(interface, port, application, threaded=True)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 399, in make_server
passthrough_errors, ssl_context)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 331, in __init__
HTTPServer.__init__(self, (host, int(port)), handler)
File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
2013-01-31 15:52:16,416 13560 INFO ? openerp: OpenERP server is running, waiting for connections...
non trova i moduli web?
io li ho scaricati e li ho linkati forse ho sbagliato qualcosa?
Se è questo il problema ho visto anche che si diceva di aggiungere i percorsi nel file di configurazione ma non so bene dove metterli, ho provato a modificare il file openerp-server.init dove mi sembra che vengano configurati i vari parametri ed anche il comando di start, ma non sono molto esperta e penso di non aver fatto nulla di buono.
Se qualcuno ha qualche consiglio da darmi ve ne sarei grata.