[pgAdmin4][Patch]: Error while expanding server group node.

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: Error while expanding server group node.
Date: 2016-09-26 13:24:16
Message-ID: CAM5-9D-Z=hDruYVzrikUBfgp9HXxUxK5=uCvmdkRe-=jROVYbw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

*Issue:*
Getting following error while expanding server group node.
File
"/Users/surinder/Documents/Projects/pgadmin4/web/pgadmin/browser/server_groups/servers/__init__.py",
line 86, in get_nodes
in_recovery = result['rows'][0]['inrecovery'];
TypeError: string indices must be integers

Not a proper scenario to reproduce it.

*Solution:*
Add proper check to fix it.

Attachment Content-Type Size
server_expand_issue.patch application/octet-stream 1.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-09-26 13:41:24 Re: Lack of activity indicator over slow connections (pgadmin4)
Previous Message Dave Page 2016-09-26 13:16:07 pgAdmin 4 commit: Improve layout of regression test format