public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: gmail Vladimir Koković <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: pgAdmin 4 - desktop version - RPM
Date: Mon, 1 Mar 2021 16:10:01 +0000
Message-ID: <CA+OCxoz+6NUA=-5yRH7d_RpypCV7cL=CFhRDSA9wZ1G=bLusAQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CA+OCxoxDiLmGWV=-HHbByjACkEirqeE05WCPpdTrNj0KPm3C+w@mail.gmail.com>
<[email protected]>
On Mon, Mar 1, 2021 at 4:03 PM gmail Vladimir Koković <
[email protected]> wrote:
> Hi Dave,
>
> You are absolutely right, you need to extract the server first and then
> the desktop RPM and the "pgAdmin 4" desktop version works!
>
> By the way, I'm on Linux Manjaro for which you don't have a package and
> that's why it's easiest to use the RPM package.
>
Cool - glad it's working for you!
> On 1.3.21. 16:48, Dave Page wrote:
>
>
>
> On Mon, Mar 1, 2021 at 3:25 PM gmail Vladimir Koković <
> [email protected]> 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
>
>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EDB: http://www.enterprisedb.com
view thread (4+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: pgAdmin 4 - desktop version - RPM
In-Reply-To: <CA+OCxoz+6NUA=-5yRH7d_RpypCV7cL=CFhRDSA9wZ1G=bLusAQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox