Re: pgadmin4: Server does not launch

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Colin Beckingham <colbec(at)kingston(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgadmin4: Server does not launch
Date: 2016-06-08 12:49:30
Message-ID: CAG7mmozONA0HHcNYMW69h599TspD3h=eHvb8eLFC4-sTuypVbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

What do you have in config_local. py?

It is failing to load that file.

--
Thanks & Regards,
Ashesh Vashi
On Jun 8, 2016 17:45, "Colin Beckingham" <colbec(at)kingston(dot)net> wrote:

> FWIW I can build a pgAdmin4 file ok on openSUSE linux, but on launch I see:
>
> ~/pgadmin4/runtime> ./pgAdmin4
> Python path: "/usr/lib64/python2.7"
> Webapp path: "/home/colin/pgadmin4/web/pgAdmin4.py"
> Traceback (most recent call last):
> File "/home/colin/pgadmin4/web/pgAdmin4.py", line 23, in <module>
> import config
> File "/home/colin/pgadmin4/web/config.py", line 255, in <module>
> from config_local import *
> File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
> File "<frozen importlib._bootstrap>", line 2222, in
> _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 2164, in _find_spec
> File "<frozen importlib._bootstrap>", line 1940, in find_spec
> File "<frozen importlib._bootstrap>", line 1914, in _get_spec
> File "<frozen importlib._bootstrap>", line 2049, in find_spec
> File "<frozen importlib._bootstrap>", line 53, in _path_join
> File "<frozen importlib._bootstrap>", line 53, in <listcomp>
> TypeError: Type str doesn't support the buffer API
> "Failed to launch the application server, server thread exiting."
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-06-08 12:55:10 Re: [pgAdmin4][Patch]: RM#1268 - Add a Help button to the bottom left of the Wizard framework
Previous Message Dave Page 2016-06-08 12:45:15 Re: [pgAdmin4][Patch]: RM#1268 - Add a Help button to the bottom left of the Wizard framework