|
ONLINE REPOSITORYFOR WINDEV, WEBDEV AND WINDEV MOBILE
  |
| |
| | |
Postgresql - Como corrigir o erro 52 |
in the category Productivity |
| |
|
Postgresql - Como corrigir o erro 52
CONTRIBUIÇÃO: Igor Burcovschi
Nosso muito obrigado
Instale esses executaveis e copie eassas dlls
VC_redist.x64 VC_redist.x86 msvcr120.dll vcrumtime140.dll
Isso ocorre em maquinas novas que nao tem o runtime do c++
IMPORTANTE
Erro 52 com PostgreSQL
Em WEBDEV
3.O Botão Ícone [GO] V Botão pop -up Verifique a depuração de 64 bits
Para resolver o WEBDEV de compilação, você terá que fazer o seguinte ajuste:
https://hostimage.WINDEV.io/images/bug64_c5a2a700bcd82b0dcceab7c195f4fad7.png
Na versão em inglês C: \ PC SOFT \ WEBDEV 29 \ Programas \ Engine
Na versão francesa C: \ PC SOFT \ WEBDEV 29 \ programas \ moteur
Copie tudo da pasta 64 e cole na pasta 32
C: \ PC SOFT \ WEBDEV 29 \ Programas \ Engine \ Win64x86 para C: \ PC SOFT \ WEBDEV 29 \ Programas \ Engine \ Win32x86
Substitua tudo
Restir o seu projeto Python funcionará.
Abri um ingresso informado sobre o que aconteceu, quem sabe, talvez isso seja resolvido em versões futuras.
Por algum motivo, o Python procura a pasta 32 em vez da pasta 64.
Espero que isso ajude.
Exemplo do erro:
ConectarBasedeDados() = false O que aconteceu? Erro de acesso Nativo PostgreSQL. Erro número= 52 The Native PostgreSQL Connector requires the <LIBPQ.DLL> DLL (64 bits) and its dependencies (PostgreSQL client layer). These DLLs must be in the same directory as the DLL of the Native Connector, or in a directory of PATH. For more details, see the Native Connector documentation.
Código de Erro: 73001 Nível:erro não-fatal (EL_ONRETURN) Código de erro WD55: 3001
Código de erro do sistema: 126 Mensagem de erro do sistema: The specified module could not be found.
Dump do erro do módulo 'wd280hf64.dll' (01F280094s - 28.0.512.3).
Informações de depuração: IEWDPSQL=9.1 Module=<WDPSQL> Version=<28.0.38.0> Informações adicionais: EIT_NATIVECODE : <52>
Qualquer coisa entre em contato comigo +55 41 99949 1800 |
| |
| |
| Illustrations, screen shots |
|
| |
(To evaluate this resource, click 'Write a review') |
| | | |
No review or comment? Be the first one! |
Se o erro persistir verifique se foi instalado na porta padrão ou em outro número de porta de socket do serviço do banco de dados Tente por em extend info na aba de configurações da conexão
Server Port=5432;
Ou
Port=5432;
E no HopenConnection assim:
Myconn is connection
Myconn..provider = postgresql Myconn..server=“wxsolucoes.com.br:5432” Myconn..user=“adriano” Myconn..password=“xyzAbc2025!” Myconn..database=“db_erp”
If hopenconnection (Myconn) = true Hchangeconnection (“*”, Myconn) Else Info (herrorinfo, errorinfo) End |
| IMPORTANT
ERROR 52 with PostgreSQL
In Webdev
3.o Button Icon [ GO ] v Em popup button Check DEBUG 64 bits
To resolve the compilation Webdev you will have to make the following adjustment:
https://hostimage.windev.io/images/BUG64_c5a2a700bcd82b0dcceab7c195f4fad7.png
In the English version C:\PCSOFT\WEBDEV 29\Programs\Engine
In the French version C:\PCSOFT\WEBDEV 29\Programmes\Moteur
Copy everything from folder 64 and paste into folder 32
C:\PCSOFT\WEBDEV 29\Programs\Engine\Win64x86 for C:\PCSOFT\WEBDEV 29\Programs\Engine\Win32x86
Replace everything
Retesting your Python project will work.
I opened a ticket informed of what happened, who knows, perhaps this will be resolved in future versions.
For some reason Python searches for folder 32 instead of folder 64.
Hope this helps. |
| | |
| | | | | |
| |
|
|
|