Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail
Дата
Msg-id CA+OCxoxv0y8JewkWcdmbDRRGxqox_L7po5jNO6Nb129dpYzAZg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail  (stancs3 <scruise56@gmail.com>)
Ответы Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail
Список pgadmin-support
Hi

On Sat, Feb 11, 2017 at 6:10 PM, stancs3 <scruise56@gmail.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



В списке pgadmin-support по дате отправления:

Предыдущее
От: matshyeq
Дата:
Сообщение: Re: [pgadmin-support] Mac OS X error for pgAdmin 4.1.2
Следующее
От: Devrim Gündüz
Дата:
Сообщение: [pgadmin-support] pgadmin4 1.2 RPMs are now available