pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Error while connecting server on pgAdmin4 (KeyError: 'version')
Date: Tue, 5 May 2020 08:48:59 +0200
Message-ID: <ce0c6a3e-4422-5478-4c6d-60d82d6a9b82@jakobs.com> (raw)
In-Reply-To: <CAPMi4M6SSoc1nY4=JEnZ4=v5LuyRzVs86Yp0re=dpBBH=zJ-hQ@mail.gmail.com>
References: <CAPMi4M6SSoc1nY4=JEnZ4=v5LuyRzVs86Yp0re=dpBBH=zJ-hQ@mail.gmail.com>

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

view thread (2+ messages)

Message-ID: <ce0c6a3e-4422-5478-4c6d-60d82d6a9b82@jakobs.com>
Permalink:  ../ce0c6a3e-4422-5478-4c6d-60d82d6a9b82@jakobs.com/
Also on:    postgresql.org/message-id/ce0c6a3e-4422-5478-4c6d-60d82d6a9b82@jakobs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: holger@jakobs.com
  Subject: Re: Error while connecting server on pgAdmin4 (KeyError: 'version')
  In-Reply-To: <ce0c6a3e-4422-5478-4c6d-60d82d6a9b82@jakobs.com>
  References: <CAPMi4M6SSoc1nY4=JEnZ4=v5LuyRzVs86Yp0re=dpBBH=zJ-hQ@mail.gmail.com> <ce0c6a3e-4422-5478-4c6d-60d82d6a9b82@jakobs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox