Re: The pgAdmin 4 server could not be contacted:

From: CHALLAHEMANTH <hemasonofcsrgk1998(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: The pgAdmin 4 server could not be contacted:
Date: 2021-05-16 19:42:40
Message-ID: 1621194160639-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Hallison Rangel Silva 2021-05-16 22:05:04 Problemas.
Previous Message Megan Choo 2021-05-16 09:07:13 Error in PGADMIN application