pgadmin4 2.0 not properly starting

From: Mark Murawski <markm-lists(at)intellasoft(dot)net>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: pgadmin4 2.0 not properly starting
Date: 2017-11-07 01:33:51
Message-ID: d576ae8b-4039-d11d-510c-07e6884753ce@intellasoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Checkout
master 8b543a58

Python 2.7

Pgadmin4 draws an initial window and then goes no further. Attached
screenshot.

There's no log file output. And only this from the main process:
$ runtime/pgAdmin4
Python path:
"/home/markm/.virtualenvs/pgadmin4/lib/python3.4/site-packages"
Python Home: ""
Webapp path: "/home/markm/download/pgadmin4/web/pgAdmin4.py"

It says the path is 3.4, but I've build with 2.7 (not sure how to fix it
to load 3.4, I'm not a python expert)

Here's the output from qmake
$ qmake
Project MESSAGE: Building for QT5+...
Project MESSAGE: Using QWebEngine...
Project MESSAGE: Building for Linux/Mac...
Project MESSAGE: Using /home/markm/.virtualenvs/pgadmin4/bin/python-config
Project MESSAGE: Python2 detected.

I had a lot of problems installing dependencies using pip, and it was
recommended I use pipenv. Using pipenv I was able to get all the
dependencies installed for 2.7 into
/.virtualenvs/pgadmin4/lib/python2.7/site-packages.

When pgadmin4 loads, it's looking for site-pacakges in
.virtualenvs/pgadmin4/lib/python3.4/site-packages, so I symlinked 3.4 to
2.7 and pgadmin4 was able to start loading.

Any help greatly appreciated!

Thanks.

Attachment Content-Type Size
image/png 16.6 KB

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Neel Patel 2017-11-07 05:24:43 Re: pgadmin4 2.0 not properly starting
Previous Message Melvin Davidson 2017-11-06 15:41:33 Re: pgAdmin4 2.0, schema "Aggregates"