Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

Subscriure's

Get notified when there's activity on this post

This question has been flagged
authenticationerrorpycharmodoo12
1 Respondre
27346 Vistes
Avatar
y.elkortih@lpn.ma

Hi , i Configure Odoo12 With Pycharm in Windows 

when i Start Runing odoo from pycharm He Stop Suddenly 

Give's Me This Error on Web page  

Internal Server Error

and In Pycharm here is The Message Showed 

2019-07-09 15:22:18,817 1448 INFO ? odoo.sql_db: Connection to the database failed
2019-07-09 15:22:18,822 1448 INFO ? werkzeug: 127.0.0.1 - - [09/Jul/2019 15:22:18] "GET / HTTP/1.1" 500 - 0 0.000 0.125
2019-07-09 15:22:18,838 1448 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
File "C:\Python\lib\site-packages\werkzeug\serving.py", line 205, in run_wsgi
execute(self.server.app)
File "C:\Python\lib\site-packages\werkzeug\serving.py", line 193, in execute
application_iter = app(environ, start_response)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\service\server.py", line 409, in app
return self.app(e, s)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\service\wsgi_server.py", line 128, in application
return application_unproxied(environ, start_response)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\service\wsgi_server.py", line 117, in application_unproxied
result = odoo.http.root(environ, start_response)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\http.py", line 1320, in __call__
return self.dispatch(environ, start_response)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\http.py", line 1293, in __call__
return self.app(environ, start_wrapped)
File "C:\Python\lib\site-packages\werkzeug\wsgi.py", line 599, in __call__
return self.app(environ, start_response)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\http.py", line 1453, in dispatch
self.setup_db(httprequest)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\http.py", line 1376, in setup_db
httprequest.session.db = db_monodb(httprequest)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\http.py", line 1537, in db_monodb
dbs = db_list(True, httprequest)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\http.py", line 1504, in db_list
dbs = odoo.service.db.list_dbs(force)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\service\db.py", line 375, in list_dbs
with closing(db.cursor()) as cr:
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\sql_db.py", line 657, in cursor
return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\sql_db.py", line 171, in __init__
self._cnx = pool.borrow(dsn)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\sql_db.py", line 540, in _locked
return fun(self, *args, **kwargs)
File "C:\Users\adm-yelkortih\Desktop\odoo-12.0\odoo\sql_db.py", line 608, in borrow
**connection_info)
File "C:\Python\lib\site-packages\psycopg2\__init__.py", line 126, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError - - -

Please i need your help to fix this and run it 

thank you 

0
Avatar
Descartar
Sehrish

Reference: http://learnopenerp.blogspot.com/2019/10/configure-pycharm-with-odoo.html

Avatar
ashokan ks
Best Answer

Please recheck the following are correct

1.Password is correctly set.

2.Database user is correctly created as per name in odoo config file.

3.If your password contains white spaces, try with double quotes.

Thanks.


1
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
odoo 12 in ubuntu 18.04.4 Error ModuleNotFoundError: No module named 'werkzeug.contrib' Solved
error odoo12
Avatar
Avatar
Avatar
3
de set. 21
13337
Met fatal loop when debug odoo12 via PyCharm
pycharm odoo12
Avatar
0
de nov. 18
3565
Error Run Odoo17 In Pycharm
error pycharm v17
Avatar
Avatar
1
d’abr. 24
3077
Can not tabbing over readonly field in odoo 12. Help me please !!!
error bug odoo12
Avatar
0
d’abr. 24
2280
Problems migrating from odoo 12 to odoo 14 Solved
error odoo12 v14
Avatar
Avatar
2
de gen. 21
6130
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now