From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Colin Beckingham <colbec(at)kingston(dot)net> |
Cc: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: pgadmin4: Server does not launch |
Date: | 2016-06-08 16:22:08 |
Message-ID: | CA+OCxowZpriq04VDc897k5RhRUkxs4h-mT7dEbyxcufeVn4fvQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Wed, Jun 8, 2016 at 5:03 PM, Colin Beckingham <colbec(at)kingston(dot)net> wrote:
>
> Right, forced an upgrade via pip2 and it overwrote the existing psycopg2. In
> interactive mode psycopg2 now imports correctly.
> Now, when I run step 3 from web directory the command is accepted but there
> is no output. The command appears to hang - ctrl C will interrupt it
> cleanly, I can see from Gnome monitor that a python instance has started but
> all cores are quiet at minimum usage. Not sure what I should expect to see
> at this point. Runtime pgAdmin4 still not working.
I suspect it's actually running, but we're so used to seeing a ton of
debug output that we forget that if debug is off, not much happens
(happened to me earlier!).
Try pointing your browser at http://127.0.0.1:5050.
To see all the stuff we see, add the following to config_local.py and restart:
CONSOLE_LOG_LEVEL = DEBUG
You can also send a copy of the output to a file, e.g.
LOG_FILE = '/Users/dpage/pgadmin4.log'
FILE_LOG_LEVEL = DEBUG
Please bear in mind that you're effectively in "developer" mode here.
The Windows/Mac packages I just announced should just run once
installed. Even the PIP package (pretty basic right now) will make
this a little easier, though really that's intended for people who
want to run a WSGI server on a platform we don't have native packages
for.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Colin Beckingham | 2016-06-08 16:44:30 | Re: pgadmin4: Server does not launch |
Previous Message | Dave Page | 2016-06-08 16:15:08 | pgAdmin 4 v1.0 Beta 1 - Soft Release |