Re: 4th Try: pgadmin4 install, launch fail

From: Dave Page <dpage(at)pgadmin(dot)org>
To: stancs3 <scruise56(at)gmail(dot)com>
Cc: Devrim Gündüz <devrim(at)gunduz(dot)org>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: 4th Try: pgadmin4 install, launch fail
Date: 2017-02-17 13:26:00
Message-ID: CA+OCxoxv0y8JewkWcdmbDRRGxqox_L7po5jNO6Nb129dpYzAZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

On Sat, Feb 11, 2017 at 6:10 PM, stancs3 <scruise56(at)gmail(dot)com> wrote:
> Great, thanks Dave. I figured I would let it rest to allow you to
> prioritize.
>
> As indicated before I am willing to do debug cases if it will help. The
> one key fact is that since I started trying to launch a desktop
> version, it has not been successful even once. Again, not a complaint,
> just a data point; if I am the only one then it must be my problem
> staring me in the face - wouldn't be the first time .....

OK, so I got it working on F25 (sorry it wasn't earlier - this week
has been crazy busy).

Until the RPMs are updated, here's what you can do:

- Install the PGDG 9.6 repo:
https://download.postgresql.org/pub/repos/yum/9.6/fedora/fedora-25-x86_64/pgdg-fedora96-9.6-3.noarch.rpm

- Edit /etc/yum.repos.d/pgdg-96-fedora.repo and set all repos to have
"enabled=0" except for pgdg96-updates-testing, which should have
"enabled=1"

- As root, run:

dnf install pgadmin4-v1 python3-htmlmin

- As root, run:

cp -r /etc/pgadmin /etc/xdg/

On a clean installation of F25, I could then run pgAdmin in the
desktop runtime, either from the UI or by running /usr/bin/pgadmin4.

However, for reasons as-yet unknown to me, the UI seems to be
defaulting to Chinese. I suspect this is something to do with the way
Qt may have been built on this platform. Anyway, that can be easily
fixed by running this as root:

cat << EOF > /usr/lib/python3.5/site-packages/pgadmin4-web/config_local.py
LANGUAGES = {
'en': 'English'
}
EOF

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

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Devrim Gündüz 2017-02-18 12:43:24 pgadmin4 1.2 RPMs are now available
Previous Message matshyeq 2017-02-17 10:30:31 Re: Mac OS X error for pgAdmin 4.1.2