[pgAdmin4][Patch]: Error while expanding server group node.
[pgAdmin4][Patch]: Error while expanding server group node.
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.
Re: [pgAdmin4][Patch]: Error while expanding server group node.
От:
Ashesh Vashi <ashesh.vashi@enterprisedb.com>
Дата:
On Mon, Sep 26, 2016 at 6:54 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
Thanks - committed!
HiIssue: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 integersNot a proper scenario to reproduce it.Solution:Add proper check to fix it.
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers