Re: PgAdmin 4 Importing Servers with Error

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Bo Guo <bo(dot)guo(at)gisticinc(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: PgAdmin 4 Importing Servers with Error
Date: 2021-07-20 12:51:35
Message-ID: CAFOhELfhxqL=u-nJLb6vqVRq=FCMfNPub=Hc2DHimWFQ3_5iHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

On Sat, Jul 17, 2021 at 12:56 AM Bo Guo <bo(dot)guo(at)gisticinc(dot)com> wrote:

> 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
>
> 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.
>
> Can you please share the details about how you installed pgAdmin 4?

Thanks,
Khushboo

> 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> 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
> Twitter: @pgsnake
>
> EDB: http://www.enterprisedb.com
>
> --
> Regards,
>
> Bo Guo, PhD, PE
> President
> Gistic Research, Inc.
> 2033 E Warner Rd Ste 105
> Tempe, AZ 85284www.gisticinc.comwww.youtube.com/linearbench
> Office: 480-656-9962
> Cell: 602-570-4697
>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Extra gebruikt woorden 2021-07-20 18:45:23 Technical support/ restore data
Previous Message Albert Serrallé 2021-07-20 11:40:50 Re: Pgadmin python executable requires extended capabilities