Re: pgAdmin 4 - desktop version - RPM

From: Dave Page <dpage(at)pgadmin(dot)org>
To: gmail Vladimir Koković <vladimir(dot)kokovic(at)gmail(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgAdmin 4 - desktop version - RPM
Date: 2021-03-01 15:48:51
Message-ID: CA+OCxoxDiLmGWV=-HHbByjACkEirqeE05WCPpdTrNj0KPm3C+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Mon, Mar 1, 2021 at 3:25 PM gmail Vladimir Koković <
vladimir(dot)kokovic(at)gmail(dot)com> wrote:

> After many years of using "pgAdmin III", I tried several times to run the
> "pgAdmin 4" desktop version, but always without success!
>
> So it is on this day in an attempt to run
> pgadmin4-desktop-5.0-1.fc33.x86_64.rpm (snapshots/2021-03-01).
> After extracting the files from the RPM to the /tmp/vk/rpm/desktop folder
> based on
> the /tmp/vk/rpm/desktop/usr/share/applications/pgadmin4.desktop content
> and running pgadmin4:
>
> /tmp/vk/rpm/desktop/usr/pgadmin4/bin/pgadmin4
> folder /root/.local/share/pgadmin contains a log file which mysteriously
> disappears after the end of pgadmin4,
> with the following content:
>
> Python Path: "/tmp/vk/rpm/desktop/usr/pgadmin4/venv/bin/python3"
> Runtime Config File: "/root/.config/pgadmin/runtime_config.json"
> pgAdmin Config File: "/tmp/vk/rpm/desktop/usr/pgadmin4/web/config.py"
> Webapp Path: "/tmp/vk/rpm/desktop/usr/pgadmin4/web/pgAdmin4.py"
> pgAdmin Command: "/tmp/vk/rpm/desktop/usr/pgadmin4/venv/bin/python3
> /tmp/vk/rpm/desktop/usr/pgadmin4/web/pgAdmin4.py"
> Failed to lauch pgAdmin4 with below error:
> Error: spawn ../venv/bin/python3 ENOENT
>
> /tmp/vk/rpm/desktop/usr/pgadmin4 does not contain "venv".
>

No, it wouldn't. The RPMs have dependencies, and by doing what you have
done here, those dependencies are not satisfied. At the very least you'll
need to unpack the -server RPM into the same directory (and have
libatomic, python3, postgresql-libs >= 11 and krb5-libs *properly*
installed), and even then I'm not 100% sure it'll work as the packaging was
neither designed or tested for manual unpacking and relocation.

If you follow the installation instructions on the website, it should work
just fine.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message gmail Vladimir Koković 2021-03-01 16:03:22 Re: pgAdmin 4 - desktop version - RPM
Previous Message gmail Vladimir Koković 2021-03-01 15:24:57 pgAdmin 4 - desktop version - RPM