pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error while connecting server on pgAdmin4 (KeyError: 'version')
2+ messages / 2 participants
[nested] [flat]

* Error while connecting server on pgAdmin4 (KeyError: 'version')
@ 2020-05-05 06:41  Mishika Singh <mishikaps@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mishika Singh @ 2020-05-05 06:41 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Error while connecting server on pgAdmin4 (KeyError: 'version')
@ 2020-05-05 06:48  Holger Jakobs <holger@jakobs.com>
  parent: Mishika Singh <mishikaps@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Holger Jakobs @ 2020-05-05 06:48 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-05-05 06:48 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 06:41 Error while connecting server on pgAdmin4 (KeyError: 'version') Mishika Singh <mishikaps@gmail.com>
2020-05-05 06:48 ` Holger Jakobs <holger@jakobs.com>

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