-
lsf1980
-
-
Offline
-
Senior Boarder
-
- Messaggi: 78
-
Karma: 0
-
|
lsf1980 ha scritto:enlightx ha scritto:Ciao, si tratta un un archivio con i sorgenti di server, web e addons, ma si tratta comunque di sorgenti.
l'installazione sotto mac non è diversa da quella linux, devi semplicemente installare le dipendente e lanciare openerp.
per le dipendenze, python 2.7 e tutto il resto ti converrà usare homebrew o macports
se sei pratico di python e non vuoi installare homebrew & C. puoi usare questo:
pypi.python.org/pypi/anybox.buildbot.openerp/0.7
Ho deciso di rinunciare ad installare OpenERP direttamente in MAC OSX e ho installato VirtualBox con Ubuntu 10.04 come detto da Luca.
Quindi ho seguito la guida http://www.omniasolutions.eu/OmniaSolutions/index.php?option=com_content&view=article&id=39%3Aopenerp-61-installazione-su-debianubun-tu&catid=21%3Atechnical-momento&Itemid=30&lang=it
Tutto bene (almeno credo) fino al punto 6. Purtroppo all'avvio in test del server ottengo dei errori
openerp@t7thl-laptop:~$ /opt/openerp/server/openerp-server
2012-11-01 13:11:20,957 16531 INFO ? openerp: OpenERP version 6.1-1
2012-11-01 13:11:20,957 16531 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2012-11-01 13:11:20,957 16531 INFO ? openerp: database hostname: localhost
2012-11-01 13:11:20,957 16531 INFO ? openerp: database port: 5432
2012-11-01 13:11:20,957 16531 INFO ? openerp: database user: openerp
2012-11-01 13:11:20,962 16531 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2012-11-01 13:11:20,962 16531 INFO ? openerp.netsvc: Starting 1 services
2012-11-01 13:11:21,128 16531 WARNING ? openerp.wsgi.core: Werkzeug module unavailable, falling back to wsgiref.
2012-11-01 13:11:21,129 16531 INFO ? openerp.wsgi.core: HTTP service (wsgiref) running on 0.0.0.0:8069
2012-11-01 13:11:21,126 16531 CRITICAL ? openerp.modules.module: Couldn't load module web
2012-11-01 13:11:21,133 16531 CRITICAL ? openerp.modules.module: No module named werkzeug.contrib.sessions
2012-11-01 13:11:21,133 16531 ERROR ? openerp: 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 "/opt/openerp/server/openerp-server", line 252, in <module>
openerp.modules.module.load_openerp_module(m)
File "/opt/openerp/server/openerp/modules/module.py", line 409, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/opt/openerp/server/openerp/modules/module.py", line 139, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/server/openerp/addons/web/__init__.py", line 3, in <module>
from . import common
File "/opt/openerp/server/openerp/addons/web/common/__init__.py", line 2, in <module>
from . import http
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 21, in <module>
import werkzeug.contrib.sessions
ImportError: No module named werkzeug.contrib.sessions
2012-11-01 13:11:21,134 16531 INFO ? openerp: OpenERP server is running, waiting for connections...
Come mai????
Ho installato Werkzeug con il gestore dei pacchetti ... ora gli errori sembrano diminuiti ma non scomparsi
the7thlord@the7thlord-laptop:~$ /opt/openerp/server/openerp-server
2012-11-01 14:27:17,902 1578 INFO ? openerp: OpenERP version 6.1-1
2012-11-01 14:27:17,903 1578 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2012-11-01 14:27:17,903 1578 INFO ? openerp: database hostname: localhost
2012-11-01 14:27:17,903 1578 INFO ? openerp: database port: 5432
2012-11-01 14:27:17,903 1578 INFO ? openerp: database user: the7thlord
2012-11-01 14:27:17,908 1578 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 0.0.0.0:8070
2012-11-01 14:27:17,908 1578 INFO ? openerp.netsvc: Starting 1 services
2012-11-01 14:27:17,967 1578 INFO ? openerp.wsgi.core: HTTP service (werkzeug) running on 0.0.0.0:8069
2012-11-01 14:27:18,229 1578 CRITICAL ? openerp.modules.module: Couldn't load module web
2012-11-01 14:27:18,229 1578 CRITICAL ? openerp.modules.module: No module named wsgi
2012-11-01 14:27:18,229 1578 ERROR ? openerp: 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 "/opt/openerp/server/openerp-server", line 252, in <module>
openerp.modules.module.load_openerp_module(m)
File "/opt/openerp/server/openerp/modules/module.py", line 409, in load_openerp_module
__import__('openerp.addons.' + module_name)
File "/opt/openerp/server/openerp/modules/module.py", line 139, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/server/openerp/addons/web/__init__.py", line 3, in <module>
from . import common
File "/opt/openerp/server/openerp/addons/web/common/__init__.py", line 2, in <module>
from . import http
File "/opt/openerp/server/openerp/addons/web/common/http.py", line 26, in <module>
import werkzeug.wsgi
ImportError: No module named wsgi
2012-11-01 14:27:18,233 1578 INFO ? openerp: OpenERP server is running, waiting for connections...
|