PgAdmin 4 Importing Servers with Error

From: Bo Guo <bo(dot)guo(at)gisticinc(dot)com>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: PgAdmin 4 Importing Servers with Error
Date: 2021-07-16 19:26:48
Message-ID: 202647bd-c81a-de64-bb87-d3e1996826bb@gisticinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi there,

I was trying to transfer the servers setup (connection to various
servers) from one install to another using this link
https://www.pgadmin.org/docs/pgadmin4/development/import_export_servers.html
<https://www.pgadmin.org/docs/pgadmin4/development/import_export_servers.html>

All is fine except when we import using

sudo python3 /usr/pgadmin4/web/setup.py --load-servers
/srv/nas/Transfer/gisticservers.json

We got the following error msg:

Getting this error: The argument passed to Dialect.has_table() should be
a <class 'sqlalchemy.engine.base.Connection'>, got <class
'sqlalchemy.engine.base.Engine'>. Additionally, the Dialect.has_table()
method is for internal dialect use only; please use
``inspect(some_engine).has_table(<tablename>>)`` for public API use.

Please kindly advise if there is anything I might have done wrong in the
process.

Cheers,

Bo

On 3/29/21 1:20 AM, Dave Page wrote:
> Hi
>
> On Fri, Mar 26, 2021 at 2:13 PM George Weaver <gweaver(at)shaw(dot)ca
> <mailto:gweaver(at)shaw(dot)ca>> wrote:
>
> Good morning,
>
> Is there still the option to start just the Server in v5?
>
> No.
>
> If so, how do I configure this?  There is no longer a tray icon...
>
> Correct - the server is integrated into the application now, and runs
> as a traditional app would rather than a separate server with browser.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com <http://pgsnake.blogspot.com>
> Twitter: @pgsnake
>
> EDB: http://www.enterprisedb.com <http://www.enterprisedb.com>
>
--
Regards,

Bo Guo, PhD, PE
President
Gistic Research, Inc.
2033 E Warner Rd Ste 105
Tempe, AZ 85284
www.gisticinc.com
www.youtube.com/linearbench
Office: 480-656-9962
Cell: 602-570-4697

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Khushboo Vashi 2021-07-19 04:23:39 Re: PgAdmin 4 Importing Servers with Error
Previous Message Dave Caughey 2021-07-16 13:06:21 Re: New 'Resize by data?' Maximum Width Feature