Re: pgadmin4: Server does not launch

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgadmin4: Server does not launch
Дата
Msg-id CA+OCxowZpriq04VDc897k5RhRUkxs4h-mT7dEbyxcufeVn4fvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgadmin4: Server does not launch  (Colin Beckingham <colbec@kingston.net>)
Ответы Re: pgadmin4: Server does not launch
Список pgadmin-hackers
On Wed, Jun 8, 2016 at 5:03 PM, Colin Beckingham <colbec@kingston.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


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 v1.0 Beta 1 - Soft Release
Следующее
От: Colin Beckingham
Дата:
Сообщение: Re: pgadmin4: Server does not launch