Re: pgAdmin4 2.0 python wheel on Ubuntu

2017-10-09 Thread Richard Greenwood
Thank you Murtuza. I can now again run pgAdmin4.py as me and connect to remote servers that require SSL. BEst regards, Rich On Sun, Oct 8, 2017 at 11:08 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi, > > Can you try pasting follwoing in your config_local.py, > > import

Re: pgAdmin4 2.0 python wheel on Ubuntu

2017-10-08 Thread Murtuza Zabuawala
Hi, Can you try pasting follwoing in your config_local.py, import os DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin/')) LOG_FILE = os.path.join(DATA_DIR, 'pgadmin4.log') SQLITE_PATH = os.path.join(DATA_DIR, 'pgadmin4.db') SESSION_DB_PATH = os.path.join(DATA_DIR, 'sessions') STORAGE_D

Re: pgAdmin4 2.0 python wheel on Ubuntu

2017-10-08 Thread Richard Greenwood
Murtuza, Thanks for the reply. I added the lines you suggested to /usr/local/lib/python2.7/dist-packages/pgadmin4/config_local.py and then tried to start pgadmin as me (a standard user) with: python /usr/local/lib/python2.7/dist-packages/pgadmin4/pgAdmin4.py and get the following errors: Traceback

Re: pgAdmin4 2.0 python wheel on Ubuntu

2017-10-07 Thread Murtuza Zabuawala
You can set customize the location as per your need, Create a file named config_local.py (if not already present) at your installation location ../pgadmin4/web/ and add below 3 lines in it, import os DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin/')) LOG_FILE = os.path.join(DATA_DIR,