Re: pgAdmin4 never loading

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: Pavel Klimenko <dzy4yzd(at)gmail(dot)com>
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org, Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin4 never loading
Date: 2017-10-09 08:43:00
Message-ID: CAM5-9D_rUBP3BZ3pk8j13gTGrbxtao5YQj59o_aEA6wn1mH1oA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi Pavel,

If you are building pgAdmin4 from the source, then you don't need to
install pgAdmin4 from the wheel.

After taking the pgAdmin4 source from git HEAD, you need to install nodeJS,
Yarn to build JS/CSS modules. the error you are getting is possibly due to
this. For more help, you can follow the steps documented here
<https://imsurinder90.github.io/posts/setup_pgAdmin4_in_server_mode>

It seems QtWekbit compilation went well. so just run pgAdmin4. it should
work.

Also, can you share logs generated at location '/var/log/pgadmin4/pgadmin4.log'
?

Thanks,
Surinder

On Mon, Oct 9, 2017 at 1:10 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Surinder, can you help out with this please?
>
> On Fri, Oct 6, 2017 at 9:00 PM, Pavel Klimenko <dzy4yzd(at)gmail(dot)com> wrote:
>
>> Hi.
>> I'm get last sources from git.
>> Make runtime application, create virtualenv as "virtualenv pga4venv"
>> do:
>> source pga4venv/bin/activate
>> pip install -r ../requirements.txt
>> pip install backports.weakref # not run with out it
>> pip install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v2.0/pip/pga
>> dmin4-2.0-py2.py3-none-any.whl
>> export PYTHONPATH=<src path>/pgadmin4/runtime/pga4ven
>> v/lib/python2.7/site-packages/te-packages/
>> make app with QT5:
>> /opt/Qt/5.5/gcc_64/bin/qmake CONFIG+=release
>> do make
>> and run it.
>> App run byt I'm see only "Loading pgAdmin 4 v2.0..."
>> and it's never load.
>> How to fix it?
>>
>> My pip freeze in attachment.
>>
>> $uname -a
>> Linux lptp 4.13.0-12-generic #13-Ubuntu SMP Sat Sep 23 03:40:16 UTC 2017
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> $cat /etc/os-release
>> NAME="Ubuntu"
>> VERSION="17.10 (Artful Aardvark)"
>> ID=ubuntu
>> ID_LIKE=debian
>> PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
>> VERSION_ID="17.10"
>>
>>
>
>
> --
> 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-hackers by date

  From Date Subject
Next Message pgAdmin 4 Jenkins 2017-10-09 08:57:14 Build failed in Jenkins: pgadmin4-master-python36 #348
Previous Message pgAdmin 4 Jenkins 2017-10-09 08:40:52 Build failed in Jenkins: pgadmin4-master-python26 #473

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas 2017-10-09 09:15:34 I'd like a lightweight alternative to pgAdmin4 ?
Previous Message Harshal Dhumal 2017-10-09 08:30:32 Re: pgadmin4 exception: session['_id'] not in self.managers