Grazie per la risposta, sul web c'è una guida ma non ho trovato nessun riscontro.
Io ho una macchina linux ubuntu e su questo test non ho installato postgresql, ma ho installato mysql. Seguendo la procedura del wiki sono arrivato a collegarmi all'applicativo di Openerp, ma con i seguenti errori:
OpenERP Server Error
Client Traceback (most recent call last):
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/addons/web/controllers/main.py", line 770, in create
params)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/addons/web/session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/service/web_services.py", line 122, in dispatch
return fn(*params)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/service/web_services.py", line 167, in exp_create_database
self._create_empty_database(db_name)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/service/web_services.py", line 126, in _create_empty_database
cr = db.cursor()
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/sql_db.py", line 484, in cursor
return Cursor(self._pool, self.dbname, serialized=serialized)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/sql_db.py", line 182, in __init__
self._cnx = pool.borrow(dsn(dbname))
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/sql_db.py", line 377, in _locked
return fun(self, *args, **kwargs)
File "/opt/openerp/openerp-7.0-20130602-231021/openerp/sql_db.py", line 440, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File "/usr/local/lib/python2.6/dist-packages/psycopg2-2.5-py2.6-linux-i686.egg/psycopg2/__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
se creo un db.
Grazie lo stesso django