Please have a look at this post <https://stackoverflow.com/questions/49919149/unable-to-connect-to-postgresql-with-pgadmin4-readonly-attribute-error> . Perhaps commenting out might be a workaround. Frank.
-- Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html