Re: unable to start pgAdmin-4 on CentOS-7

Поиск
Список
Период
Сортировка
От Neel Patel
Тема Re: unable to start pgAdmin-4 on CentOS-7
Дата
Msg-id CACCA4P2POhbe5hG+_YnA9fp8mZ=whZzmuJCqYONJDoH4_7iMPw@mail.gmail.com
обсуждение исходный текст
Ответ на unable to start pgAdmin-4 on CentOS-7  (Venkata Balaji N <nag1010@gmail.com>)
Ответы Re: unable to start pgAdmin-4 on CentOS-7  (Venkata Balaji N <nag1010@gmail.com>)
Список pgadmin-support
Hi,

Issue:-
Path was not set during running pgAdmin4 application. When you start the application with script then it will export proper libraries path and then application will be launched.

Can you please try to run "launchpgadmin.sh" located at "/opt/PostgreSQL/9.6/scripts" instead of directly running "pgAdmin4" binary ?

Thanks,
Neel Patel

On Mon, Aug 8, 2016 at 11:37 AM, Venkata Balaji N <nag1010@gmail.com> wrote:
Hello Community,

I have an issue starting pgAdmin4 on CentOS-7 and would appreciate any help in this regard -

I have downloaded the EnterpriseDB's Open Source PostgreSQL package (9.6 beta3) which includes pgAdmin4 as well.

When i tried starting the pgAdmin4, i get the following error -

[dba@localhost bin]$ ./pgAdmin4
Full Python path:  "/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/site-packages:/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/lib-dynload:/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7"
User Python path:  ""
Webapp path:  "/opt/PostgreSQL/9.6/pgAdmin4/web/pgAdmin4.py"
Traceback (most recent call last):
  File "/opt/PostgreSQL/9.6/pgAdmin4/web/pgAdmin4.py", line 23, in <module>
    import config
  File "/opt/PostgreSQL/9.6/pgAdmin4/web/config.py", line 15, in <module>
    from logging import *
  File "/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/logging/__init__.py", line 26, in <module>
    import sys, os, time, cStringIO, traceback, warnings, weakref, collections
  File "/opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/collections.py", line 9, in <module>
    from operator import itemgetter as _itemgetter, eq as _eq
ImportError: /opt/PostgreSQL/9.6/pgAdmin4/venv/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString
"Failed to launch the application server, server thread exiting."

Regards,
Venkata B N

Fujitsu Australia


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

Предыдущее
От: Venkata Balaji N
Дата:
Сообщение: unable to start pgAdmin-4 on CentOS-7
Следующее
От: Marc-André Goderre
Дата:
Сообщение: Problem with capital letter in column name