Re: unable to start pgAdmin-4 on CentOS-7 - Mailing list pgadmin-support

From Neel Patel
Subject Re: unable to start pgAdmin-4 on CentOS-7
Date
Msg-id CACCA4P2POhbe5hG+_YnA9fp8mZ=whZzmuJCqYONJDoH4_7iMPw@mail.gmail.com
Whole thread Raw
In response to unable to start pgAdmin-4 on CentOS-7  (Venkata Balaji N <nag1010@gmail.com>)
Responses Re: unable to start pgAdmin-4 on CentOS-7
List 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 by date:

Previous
From: Venkata Balaji N
Date:
Subject: unable to start pgAdmin-4 on CentOS-7
Next
From: Marc-André Goderre
Date:
Subject: Problem with capital letter in column name