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 1lGknH-0002BM-Cf for pgadmin-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 15:49:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lGknG-0004nX-AA for pgadmin-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 15:49:10 +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 1lGknG-0004nN-2C for pgadmin-hackers@lists.postgresql.org; Mon, 01 Mar 2021 15:49:10 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lGknA-0006ra-St for pgadmin-hackers@lists.postgresql.org; Mon, 01 Mar 2021 15:49:09 +0000 Received: by mail-ej1-x62f.google.com with SMTP id jt13so29121408ejb.0 for ; Mon, 01 Mar 2021 07:49:03 -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=DKRX5p09/B/l/ecgEAwI7p4FHBAzYljVdJjMknm0FQ8=; b=MFqTS/ksuqS7hpce53VSWKwAL9rCTp8a75m0nChpHdEtp6IuhwM83KUmZQr0qji/uc JoyW1gQNPnMg+V+lSpBHHcbvLQLcdoFdLCbuMPUpwGBXE1s3k4v/fkBoM58MoWF8qf1K +6h8YSCrBofu7Fc85U/ZsoqsD+TkWD9HH5oUFRrhEGuJhTtldvbi5+8ori8GfkiA78uf VQrUY4Us0/JwKEKlSP0+fxfx/5aff5IV9yLW6DX3mhvvJqfe2qGPfS0reLCp9Wv/kBec mHXMAS6Bc15l+J8GaIDmQneI4L2RXw3kRhQ26eXUqx6hyAtuWPhBcxB8B8JdKlCZKbOR bxiQ== 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=DKRX5p09/B/l/ecgEAwI7p4FHBAzYljVdJjMknm0FQ8=; b=q8/yEEDuO27VYYYNj5aGzuI+e81ziUq6wIZ6G1p7gXbPWC1HACgYP/tZ5ePvL9vPll baYbVBWOicQAsBtYWLpc9ZCQjgR20wOh4wacfAr/mhUNWkfTFdtR0OZEI27qM6E8oiu4 1wRDcxu34LYx1Q9qioNXpJ6BOf1S3NzcEc1Ekv4kjfr9NTVSRUuTa7Ch+SHsZWj6DmvB Do0B6CJmYZVqOD1Tm74VdzJHq6QNe+0GP+Jkam5ZaadPLTrYNsMZFz9zQunKyWVrNSoa aafWVg2eBGcvQH7MhbywRCcpPD1BlH8/VHwLOlZ5pLZHCfilfreIr6Ph9XMDMwF0WleX 6Qyg== X-Gm-Message-State: AOAM531fYwXyTp0UNkF1DBLoWQ7fQYckPXKxZURbf0zncWwASJq1rGRa ebeh5cEy7rmifAF4RLdGT1v2u/p2nSHrEVJLPUJUlQ== X-Google-Smtp-Source: ABdhPJyrvQMRM1FcdIpkgnzSX8MGsiVjFsWU2sO+hJAHOdMoQdD8yYMZyNqXzqoDoVFTFwROVjj8h49IWLpkbn9DEDU= X-Received: by 2002:a17:906:228d:: with SMTP id p13mr8595664eja.412.1614613742955; Mon, 01 Mar 2021 07:49:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dave Page Date: Mon, 1 Mar 2021 15:48:51 +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="00000000000099430405bc7b8e04" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000099430405bc7b8e04 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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 >=3D 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. --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EDB: http://www.enterprisedb.com --00000000000099430405bc7b8e04 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Mar 1, 2021 at 3:25 PM gmail = Vladimir Kokovi=C4=87 <vla= dimir.kokovic@gmail.com> wrote:
=20 =20 =20
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"<= br> 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
<= /div>

/tmp/vk/rpm/desktop/usr/pgadmin4 does not contain "venv".=

No,= it wouldn't. The RPMs have dependencies, and by doing what you have do= ne 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-libs *properly* install= ed), and even then I'm not 100% sure it'll work as the packaging wa= s neither designed or tested for manual unpacking and relocation.

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

--
--00000000000099430405bc7b8e04--