Odoo Help

1

OpenERP 7 : OperationalError: fe_sendauth: no password supplied

By
Silviaa
on 12/17/13, 8:01 AM 11,004 views

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

Prakash
on 12/17/13, 9:06 AM

Yes i can connect db_user in pgadmin tool

Silviaa
on 12/17/13, 11:40 PM
0
taabouri naima
On 7/4/14, 8:22 AM

hi plz i have the some problem; and i can't resolve it plz if you have resolved it tell me how ???

0
medhabib
On 8/19/14, 9:52 AM

make sure that you can connect in with login user and passwd in pgadmin if the autentification  is good then restart your postgres server and it work fine 

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/17/13, 8:01 AM
Seen: 11004 times
Last updated: 3/16/15, 8:10 AM