Error while connecting server on pgAdmin4 (KeyError: 'version') - Mailing list pgadmin-hackers

From Mishika Singh
Subject Error while connecting server on pgAdmin4 (KeyError: 'version')
Date
Msg-id CAPMi4M6uQidkasNkOtt02HVN15L26mK7mQybBaO5qqT8kwGssQ@mail.gmail.com
Whole thread Raw
Responses Re: Error while connecting server on pgAdmin4 (KeyError: 'version')  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
I have cloned the pgAdmin4 project, while trying to connect to the server on pgAdmin4, I am getting following error in the logs:
KeyError: 'version'
2020-05-01 13:04:19,608: ERROR flask.app: 'version'
Traceback (most recent call last):
File "/pgadmin4/web/pgadmin/browser/server_groups/servers/_init_.py", line 828, in create
server_types=ServerType.types()
File "/pgadmin4/web/pgadmin/utils/driver/psycopg2/connection.py", line 373, in connect
raise e
File "/pgadmin4/web/pgadmin/utils/driver/psycopg2/connection.py", line 366, in connect
status, msg = self._initialize(conn_id, **kwargs)
File "/pgadmin4/web/pgadmin/utils/driver/psycopg2/connection.py", line 489, in _initialize
manager.ver = row['version']
KeyError: 'version'

--
Regards
Mishika Singh

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][RM5398] Bad display of tables storage parameters in the "SQL" tab
Next
From: Khushboo Vashi
Date:
Subject: Re: Error while connecting server on pgAdmin4 (KeyError: 'version')