Thread: The pgAdmin 4 server could not be contacted:
Hello,
I am running on the current version of MacBigSur and am getting this when am trying to open Pgadmin4
I installed version 12.6 on Mac
The pgAdmin 4 server could not be contacted:
Python Path: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3"
Runtime Config File: "/Users/idowuodujobi/Library/Preferences/pgadmin/runtime_config.json"
pgAdmin Config File: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/config.py"
Webapp Path: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py"
pgAdmin Command: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 /Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py"
Failed to lauch pgAdmin4 with below error:
Error: spawn ../../Frameworks/Python.framework/Versions/Current/bin/python3 ENOENT
Hi,
pgadmin4 is working perfectly alright on the MACBigSur, can you please verify in the latest pgadmin4 5.2 release from link below
Issue is also reproducible on PostgreSQL 9.6, 10, 11 and 12 versions and i have already raised it and hopefully we will fix it in the next release of PostgreSQL.
On Sun, Apr 25, 2021 at 11:45 PM Idowu Odujobi <dheliod@icloud.com> wrote:
Hello,I am running on the current version of MacBigSur and am getting this when am trying to open Pgadmin4I installed version 12.6 on MacThe pgAdmin 4 server could not be contacted:Python Path: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3"Runtime Config File: "/Users/idowuodujobi/Library/Preferences/pgadmin/runtime_config.json"pgAdmin Config File: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/config.py"Webapp Path: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py"pgAdmin Command: "/Library/PostgreSQL/12/pgAdmin 4.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 /Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/pgAdmin4.py"Failed to lauch pgAdmin4 with below error:Error: spawn ../../Frameworks/Python.framework/Versions/Current/bin/python3 ENOENT
--
Fahar Abbas
Phone Office: +92-51-835-8874EnterpriseDB Corporation
Phone Direct: +92-51-8466803
Mobile: +92-333-5409707
Skype ID: live:fahar.abbas
Website: www.enterprisedb.com
I am trying to install Postgre SQl on windows 10 but after installation, I am getting a window named The pgAdmin 4 server could not be contacted: The details inside the window are pgAdmin Runtime Environment -------------------------------------------------------- Python Path: "C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe" Runtime Config File: "C:\Users\hp\AppData\Roaming\pgadmin\runtime_config.json" pgAdmin Config File: "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\config.py" Webapp Path: "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py" pgAdmin Command: "C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe -s C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py" Environment: - ALLUSERSPROFILE: C:\ProgramData - APPDATA: C:\Users\hp\AppData\Roaming - CHROME_CRASHPAD_PIPE_NAME: \\.\pipe\crashpad_5852_YIMDLVLENKCBOENT - CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch now?|LEFT_TO_RIGHT - CommonProgramFiles: C:\Program Files\Common Files - CommonProgramFiles(x86): C:\Program Files (x86)\Common Files - CommonProgramW6432: C:\Program Files\Common Files - COMPUTERNAME: DESKTOP-TK8J1MC - ComSpec: C:\WINDOWS\system32\cmd.exe - DriverData: C:\Windows\System32\Drivers\DriverData - FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer - FPS_BROWSER_USER_PROFILE_STRING: Default - HOMEDRIVE: C: - HOMEPATH: \Users\hp - LOCALAPPDATA: C:\Users\hp\AppData\Local - LOGONSERVER: \\DESKTOP-TK8J1MC - NUMBER_OF_PROCESSORS: 4 - OneDrive: C:\Users\hp\OneDrive - OS: Windows_NT - Path: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk\bin;C:\Program Files\Java\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;G:\MATLAB\R2021a\bin;C:\Users\hp\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\hp\AppData\Local\Programs\Python\Python38\;C:\Python27;C:\Python27\Scripts;C:\Program Files\JetBrains\PyCharm Community Edition 2020.2\bin;;C:\Users\hp\AppData\Local\Microsoft\WindowsApps;;C:\Users\hp\AppData\Local\Programs\Microsoft VS Code\bin - PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC - PGADMIN_INT_KEY: 4f99a0f6-11d8-4b90-8d64-96f9d2eda282 - PGADMIN_INT_PORT: 51575 - PGADMIN_SERVER_MODE: OFF - PROCESSOR_ARCHITECTURE: AMD64 - PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 78 Stepping 3, GenuineIntel - PROCESSOR_LEVEL: 6 - PROCESSOR_REVISION: 4e03 - ProgramData: C:\ProgramData - ProgramFiles: C:\Program Files - ProgramFiles(x86): C:\Program Files (x86) - ProgramW6432: C:\Program Files - PSModulePath: C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules - PUBLIC: C:\Users\Public - PyCharm Community Edition: C:\Program Files\JetBrains\PyCharm Community Edition 2020.2\bin; - SESSIONNAME: Console - SystemDrive: C: - SystemRoot: C:\WINDOWS - TEMP: C:\Users\hp\AppData\Local\Temp - TMP: C:\Users\hp\AppData\Local\Temp - USERDOMAIN: DESKTOP-TK8J1MC - USERDOMAIN_ROAMINGPROFILE: DESKTOP-TK8J1MC - USERNAME: hp - USERPROFILE: C:\Users\hp - VBOX_MSI_INSTALL_PATH: C:\Program Files\Oracle\VirtualBox\ - windir: C:\WINDOWS -------------------------------------------------------- Traceback (most recent call last): File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py", line 98, in <module> app = create_app() File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin\__init__.py", line 347, in create_app if not os.path.exists(SQLITE_PATH) or get_version() == -1: File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin\setup\db_version.py", line 19, in get_version return version.value AttributeError: 'NoneType' object has no attribute 'value' I am unable to even understand whats the thing that I can do. I am hoping for help from you. Please look into this. -- Sent from: https://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html
Hi CHALLAHEMANTH,
You may try below steps to get rid off the error:
- Take the backup of the 'pgadmin4.db' file and then delete it.
- Restart the pgAdmin4
Regards,
Rahul Shirsat.
On Mon, May 17, 2021 at 9:31 PM CHALLAHEMANTH <hemasonofcsrgk1998@gmail.com> wrote:
I am trying to install Postgre SQl on windows 10 but after installation, I am
getting a window named
The pgAdmin 4 server could not be contacted:
The details inside the window are
pgAdmin Runtime Environment
--------------------------------------------------------
Python Path: "C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe"
Runtime Config File:
"C:\Users\hp\AppData\Roaming\pgadmin\runtime_config.json"
pgAdmin Config File: "C:\Program Files\PostgreSQL\13\pgAdmin
4\web\config.py"
Webapp Path: "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py"
pgAdmin Command: "C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe
-s C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py"
Environment:
- ALLUSERSPROFILE: C:\ProgramData
- APPDATA: C:\Users\hp\AppData\Roaming
- CHROME_CRASHPAD_PIPE_NAME: \\.\pipe\crashpad_5852_YIMDLVLENKCBOENT
- CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch
now?|LEFT_TO_RIGHT
- CommonProgramFiles: C:\Program Files\Common Files
- CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
- CommonProgramW6432: C:\Program Files\Common Files
- COMPUTERNAME: DESKTOP-TK8J1MC
- ComSpec: C:\WINDOWS\system32\cmd.exe
- DriverData: C:\Windows\System32\Drivers\DriverData
- FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer
- FPS_BROWSER_USER_PROFILE_STRING: Default
- HOMEDRIVE: C:
- HOMEPATH: \Users\hp
- LOCALAPPDATA: C:\Users\hp\AppData\Local
- LOGONSERVER: \\DESKTOP-TK8J1MC
- NUMBER_OF_PROCESSORS: 4
- OneDrive: C:\Users\hp\OneDrive
- OS: Windows_NT
- Path:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\OpenSSH\;C:\Program
Files\Java\jdk\bin;C:\Program
Files\Java\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Microsoft SQL
Server\130\Tools\Binn\;G:\MATLAB\R2021a\bin;C:\Users\hp\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\hp\AppData\Local\Programs\Python\Python38\;C:\Python27;C:\Python27\Scripts;C:\Program
Files\JetBrains\PyCharm Community Edition
2020.2\bin;;C:\Users\hp\AppData\Local\Microsoft\WindowsApps;;C:\Users\hp\AppData\Local\Programs\Microsoft
VS Code\bin
- PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
- PGADMIN_INT_KEY: 4f99a0f6-11d8-4b90-8d64-96f9d2eda282
- PGADMIN_INT_PORT: 51575
- PGADMIN_SERVER_MODE: OFF
- PROCESSOR_ARCHITECTURE: AMD64
- PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
- PROCESSOR_LEVEL: 6
- PROCESSOR_REVISION: 4e03
- ProgramData: C:\ProgramData
- ProgramFiles: C:\Program Files
- ProgramFiles(x86): C:\Program Files (x86)
- ProgramW6432: C:\Program Files
- PSModulePath: C:\Program
Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
- PUBLIC: C:\Users\Public
- PyCharm Community Edition: C:\Program Files\JetBrains\PyCharm Community
Edition 2020.2\bin;
- SESSIONNAME: Console
- SystemDrive: C:
- SystemRoot: C:\WINDOWS
- TEMP: C:\Users\hp\AppData\Local\Temp
- TMP: C:\Users\hp\AppData\Local\Temp
- USERDOMAIN: DESKTOP-TK8J1MC
- USERDOMAIN_ROAMINGPROFILE: DESKTOP-TK8J1MC
- USERNAME: hp
- USERPROFILE: C:\Users\hp
- VBOX_MSI_INSTALL_PATH: C:\Program Files\Oracle\VirtualBox\
- windir: C:\WINDOWS
--------------------------------------------------------
Traceback (most recent call last):
File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py", line 98,
in <module>
app = create_app()
File "C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin\__init__.py",
line 347, in create_app
if not os.path.exists(SQLITE_PATH) or get_version() == -1:
File "C:\Program Files\PostgreSQL\13\pgAdmin
4\web\pgadmin\setup\db_version.py", line 19, in get_version
return version.value
AttributeError: 'NoneType' object has no attribute 'value'
I am unable to even understand whats the thing that I can do. I am hoping
for help from you. Please look into this.
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.