Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGl7h-00030r-Ry for pgadmin-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 16:10:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lGl7g-0007yC-Qr for pgadmin-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 16:10:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGl7g-0007xk-KF for pgadmin-hackers@lists.postgresql.org; Mon, 01 Mar 2021 16:10:16 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lGl7d-00070e-Uj for pgadmin-hackers@lists.postgresql.org; Mon, 01 Mar 2021 16:10:16 +0000 Received: by mail-ed1-x52e.google.com with SMTP id bd6so8218891edb.10 for ; Mon, 01 Mar 2021 08:10:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=flnB9BR/UE+/GnPpKARQHOwcuFYe60/jvCsaQmSEnqw=; b=id8Z/HUJnDP5ZaydSQb3bFSsf3z0J/7e4fZG2odd4bGKB2LEEaX9UCN+zygtvqhYlN Y2zgeQrs/kPMKZoqi1knoClIaqs3S9jlaAzYfuMOcYp+N9WEZo7Bg+WrkXkRKa0p0Gm8 4AZ2a1ILJawRR5Z2zN5ltu+a6kbiovQ+QhxM43D9jfB5x4bT/hlYikfhWtOoei5wL0br kKrnQ2PC3hqcF0o4SzADUlt8a+rdaORtbshcUmba/I/cB0GRKEDGnI2UXcUAb86say+N cTCb60HQX/2VKbmel0tr7jCiuleaNPTQKHXisXwCYHUlNJHi8m8bfufiMKDri6HIMyl9 rbGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=flnB9BR/UE+/GnPpKARQHOwcuFYe60/jvCsaQmSEnqw=; b=RqGqTXnnYtE1ioQre8WbCewioVZx/OTCRbbHA2P64dvyFBpy6saCBU+xmlsrraHez7 4ulJBO+zTYCWC9EON8Ow0MdWHSHSMUjTkwA9icqFU5ah3qeVB6dBWSGthouAWEmxtvZA 6C5zzkQhzJHO8aMa3ZgaJHJAoSGidnyIMFcp5a+oSBPAZIrAyb6IhitLcrEIaQHDANEz v/d0nwmLl5g24S8uRERmVJt7/TjHsItj4eyvXEjx66s1SDMiHCmZbWGjSEUocLvlU+Zu K/s5y3e/hecbQFI9F/7ywTz+jtIFIx0+85eYfhHizoss7MhUg9dm+CH/dOIxrZtWg+Fh ruQw== X-Gm-Message-State: AOAM530php+MKzYt+Iq5WpsxHLVuLv1XZfgkpAAjbmqzS88CJiGFSbSg FpBbZq13XxPd6jclXsdmY0c2TzUZiS6R7wS5i+9DjA== X-Google-Smtp-Source: ABdhPJyWGbHbj0SVYahw8l2V2zDM39D6AXapCt3Sex+zuGithcGXmho0lZJOGXu1ix/vyNwvl0zJ4Ybk3NJDh9rT8S4= X-Received: by 2002:a50:fc94:: with SMTP id f20mr5645430edq.370.1614615012707; Mon, 01 Mar 2021 08:10:12 -0800 (PST) MIME-Version: 1.0 References: <9545fca2-3536-04a5-9834-b4fb78612b75@gmail.com> In-Reply-To: <9545fca2-3536-04a5-9834-b4fb78612b75@gmail.com> From: Dave Page Date: Mon, 1 Mar 2021 16:10:01 +0000 Message-ID: Subject: Re: pgAdmin 4 - desktop version - RPM To: =?UTF-8?Q?gmail_Vladimir_Kokovi=C4=87?= Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000481f6105bc7bda22" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000481f6105bc7bda22 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 1, 2021 at 4:03 PM gmail Vladimir Kokovi=C4=87 < vladimir.kokovic@gmail.com> 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=C4=87 < > vladimir.kokovic@gmail.com> wrote: > >> After many years of using "pgAdmin III", I tried several times to run th= e >> "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 folde= r >> 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 >=3D 11 and krb5-libs *properly* > installed), and even then I'm not 100% sure it'll work as the packaging w= as > neither designed or tested for manual unpacking and relocation. > > If you follow the installation instructions on the website, it should wor= k > just fine. > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EDB: http://www.enterprisedb.com > > --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EDB: http://www.enterprisedb.com --000000000000481f6105bc7bda22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Mar 1, 2021 at 4:03 PM gmail = Vladimir Kokovi=C4=87 <vla= dimir.kokovic@gmail.com> wrote:
=20 =20 =20

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 pack= age.


Cool - = glad it's working for you!
=C2=A0
On 1.3.21. 16:48, Dave Page wrote:
=20


On Mon, Mar 1, 2021 at 3:25 PM gmail Vladimir Kokovi=C4=87 <vladimir.kokovic@gmail.com> wrote:
After many years of using "pgAdmin III", I tried several time= s 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:<= /div>

/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/pyt= hon3"
Runtime Config File: "/root/.config/pgadmin/runtime_config.json&quo= t;
pgAdmin Config File: "/tmp/vk/rpm/desktop/usr/pgadmin4/web/config.p= y"
Webapp Path: "/tmp/vk/rpm/desktop/usr/pgadmin4/web/pgAdmin4= .py"
pgAdmin Command: "/tmp/vk/rpm/desktop/usr/pgadmin4/venv/bin/pyt= hon3 /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 doin= g 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,=C2=A0python3, postgresql-libs >=3D 11 and krb5-li= bs *properly* installed), and even then I'm not 100% sure it&#= 39;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



--
--000000000000481f6105bc7bda22--