Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVrO8-0000V5-Ot for pgsql-admin@arkaria.postgresql.org; Tue, 05 May 2020 06:49:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jVrO7-00030g-1W for pgsql-admin@arkaria.postgresql.org; Tue, 05 May 2020 06:49:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVrO6-0002yf-QC for pgsql-admin@lists.postgresql.org; Tue, 05 May 2020 06:49:06 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jVrO4-0001D6-Ac for pgsql-admin@lists.postgresql.org; Tue, 05 May 2020 06:49:06 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id 9AE72BE1219 for ; Tue, 5 May 2020 08:49:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at rs.plausibolo.de Received: from rs.plausibolo.de ([127.0.0.1]) by localhost (h2367442.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9R20IE3NYa0i; Tue, 5 May 2020 08:49:00 +0200 (CEST) Received: from [192.168.178.97] (ip-37-201-154-65.hsi13.unitymediagroup.de [37.201.154.65]) by rs.plausibolo.de (Postfix) with ESMTPSA id 091D3BE0161; Tue, 5 May 2020 08:48:59 +0200 (CEST) Subject: Re: Error while connecting server on pgAdmin4 (KeyError: 'version') To: pgsql-admin@lists.postgresql.org References: From: Holger Jakobs Message-ID: Date: Tue, 5 May 2020 08:48:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------A8F38AEA54E44D9E9DC01B14" Content-Language: de-DE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------A8F38AEA54E44D9E9DC01B14 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Please ask on the pgadmin4 list, not on the postgresql list. PgAdmin4 is a different project! Am 05.05.20 um 08:41 schrieb Mishika Singh: > 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 -- Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012 --------------A8F38AEA54E44D9E9DC01B14 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Please ask on the pgadmin4 list, not on the postgresql list. PgAdmin4 is a different project!

Am 05.05.20 um 08:41 schrieb Mishika Singh:
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
-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
--------------A8F38AEA54E44D9E9DC01B14--