Try to debug openerp 7 source code in Windows with Eclipse
When Startin server (i.e.) Openerp-server Start the Server:
pydev debugger: starting
2013-12-17 17:18:34,125 1636 INFO ? openerp: OpenERP version 7.0-20131023-232420
2013-12-17 17:18:34,140 1636 INFO ? openerp: addons paths: D:\OpenERP 7.0-20130701-231330\svn\openerp\addons
2013-12-17 17:18:34,140 1636 INFO ? openerp: database hostname: localhost
2013-12-17 17:18:34,140 1636 INFO ? openerp: database port: 5432
2013-12-17 17:18:34,140 1636 INFO ? openerp: database user: Administrator
2013-12-17 17:18:35,812 1636 WARNING ? openerp.addons.email_template.email_template: jinja2 not available, templating features will not work!
2013-12-17 17:18:35,890 1636 WARNING ? openerp.addons.google_docs.google_docs: Please install latest gdata-python-client from code.google.com/p/gdata-python-client/downloads/list
2013-12-17 17:18:37,780 1636 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2013-12-17 17:18:37,796 1636 INFO ? openerp: OpenERP server is running, waiting for connections...
By hosting in Web by localhost:8069 throws the Internal Server Error
2013-12-17 17:19:15,812 1636 ERROR ? openerp.sql_db: Connection to the database failed
Traceback (most recent call last):
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\sql_db.py", line 440, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File "C:\Python26\lib\site-packages\psycopg2\__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: fe_sendauth: no password supplied
2013-12-17 17:19:15,828 1636 ERROR ? openerp.netsvc: fe_sendauth: no password supplied
Traceback (most recent call last):
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\service\web_services.py", line 122, in dispatch
return fn(*params)
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\service\web_services.py", line 359, in exp_list
cr = db.cursor()
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\sql_db.py", line 484, in cursor
return Cursor(self._pool, self.dbname, serialized=serialized)
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\sql_db.py", line 182, in __init__
self._cnx = pool.borrow(dsn(dbname))
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\sql_db.py", line 377, in _locked
return fun(self, *args, **kwargs)
File "D:\OpenERP 7.0-20130701-231330\svn\openerp\sql_db.py", line 440, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File "C:\Python26\lib\site-packages\psycopg2\__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: fe_sendauth: no password supplied
2013-12-17 17:19:15,858 1636 INFO ? werkzeug: 127.0.0.1 - - [17/Dec/2013 17:19:15] "GET / HTTP/1.1" 500 -
Given the DB information in openerp-server.cfg file
db_host = localhost db_port = 5432 db_user = openpg db_password = openpgpwd
How do i resolve?
1) Check services.msc PostgreSQL server is running 2) Try to Connect using pg_admin to check able to open database and check db_user openpg available or create the same
Yes i can connect db_user in pgadmin tool