Ciao a tutti.
Sto aggiornando openerp 7 con brz pull.
Dopo aver lanciato il comando nella cartella addons, se vado ad avviare il server con
openerp-server --addons-path=web/addons,italia-addons,my-addons
funziona ma non vengono caricati gli addons standard di openerp (sale, account ..ecc)
Quando invece metto nel path la cartella addons
openerp-server --addons-path=addons,web/addons,italia-addons,my-addons
mi da l'errore di non trovare la cartella web/addons:
2013-06-14 13:52:07,099 1828 INFO ? openerp: OpenERP version 7.0
2013-06-14 13:52:07,099 1828 INFO ? openerp: addons paths: /home/xx/lp/addons,/home/xx/lp/web/addons,/home/xx/lp/italia-addons,/home/xx/lp/my-addons
2013-06-14 13:52:07,099 1828 INFO ? openerp: database hostname: localhost
2013-06-14 13:52:07,099 1828 INFO ? openerp: database port: 5432
2013-06-14 13:52:07,099 1828 INFO ? openerp: database user: openerp
2013-06-14 13:52:07,207 1828 CRITICAL ? openerp.modules.module: Couldn't load module web
2013-06-14 13:52:07,207 1828 CRITICAL ? openerp.modules.module: expected an indented block (account_voucher.py, line 247)
2013-06-14 13:52:07,207 1828 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 "/home/xx/lp/openerp/openerp/service/__init__.py", line 60, in load_server_wide_modules
openerp.modules.module.load_openerp_module(m)
File "/home/xx/lp/openerp/openerp/modules/module.py", line 415, in load_openerp_module
getattr(sys.modules['openerp.addons.' + module_name], info['post_load'])()
File "/home/xx/lp/web/addons/web/http.py", line 628, in wsgi_postload
openerp.wsgi.register_wsgi_handler(Root())
File "/home/xx/lp/web/addons/web/http.py", line 517, in __init__
self.load_addons()
File "/home/xx/lp/web/addons/web/http.py", line 580, in load_addons
m = __import__('openerp.addons.' + module)
File "/home/xx/lp/openerp/openerp/modules/module.py", line 133, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/home/xx/lp/addons/account_voucher/__init__.py", line 22, in <module>
import account_voucher
File "/home/xx/lp/addons/account_voucher/account_voucher.py", line 247
<<<<<<< TREE
Questo problema me lo da dopo aver fatto l'aggiornamento.
Grazie mille a tutti