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

From: Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>
To: Venkata Balaji N <nag1010(at)gmail(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: unable to start pgAdmin-4 on CentOS-7
Date: 2016-08-08 06:40:30
Message-ID: CACCA4P2POhbe5hG+_YnA9fp8mZ=whZzmuJCqYONJDoH4_7iMPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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(at)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
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Marc-André Goderre 2016-08-08 18:43:14 Problem with capital letter in column name
Previous Message Venkata Balaji N 2016-08-08 06:07:56 unable to start pgAdmin-4 on CentOS-7