On Jun 8, 2016 18:53, "Colin Beckingham" <colbec@kingston.net> wrote:
>
> Thanks. config_local.py did not exist. I created one in the "web" directory, with entries for SECRET_KEY, SECURITY_PASSWORD_SALT and CSRF_SESSION_KEY (with fabricated entry values) as detailed in the code in https://github.com/asheshv/pgadmin4/blob/master/web/pgAdmin4.py, redid qmake, make clean and make, but same result on launch of pgAdmin4. Strange that I did not see the print comment on programme's fail to see the file.
Did you run setup.py before launching the runtime?
-- Ashesh
>
>
> On 08/06/16 08:49, Ashesh Vashi wrote:
>>
>> 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@kingston.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@postgresql.org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>