Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2018-01-03 Thread Willy-Bas Loos
wow this works. thanks Floris and Victor -- Willy-Bas Loos

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-27 Thread Dave Page
Hi On Fri, Nov 24, 2017 at 7:56 PM, F.Sluiter wrote: > Hi Dave, thank you for all the work you put in, we use pgadmin as our > daily tool. > For us it wasn't immediately clear from the docs how to run pgadmin as a > real desktop application ornthat it can be run in 3 different ways (great > conc

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-24 Thread F.Sluiter
Hi Dave, thank you for all the work you put in, we use pgadmin as our daily tool. For us it wasn't immediately clear from the docs how to run pgadmin as a real desktop application ornthat it can be run in 3 different ways (great concept by the way). Because of our security policies, it is difficult

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-24 Thread Dave Page
Hi We don’t advise changing config.py as an upgrade will overwrite it. Instead, create a file called config_local.py in the same directory, and put the change in there. That file (if present) is read after config.py and can override the defaults. Thanks for the helpful blogs guys! -- Dave Pa

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-24 Thread Richard Greenwood
All - Thanks for your replies. Following the revised instructions I still had one remaining error: ERRORpgadmin:The desktop user pgadm...@pgadmin.org was not found in the configuration database. I assume this is because I have previously setup the local web mode. So in ~/pgadmin4-2.0/we

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-24 Thread Victor Milewski
Hi Rich, This was another error resulting as an after effect from the formatting error on our blog. The python2 and python3 libraries got mixed up while building pgAdmin 4. Can you try and redo the whole process again? First make sure the virtual environment is not active and remove both the virtu

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-24 Thread Victor Milewski
Hi Rich, This was another error resulting as an after effect from the formatting error on our blog. The python2 and python3 libraries got mixed up while building pgAdmin 4. Can you try and redo the whole process again? First make sure the virtual environment is not active and remove both the virtu

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-23 Thread Jason Wang
This is a blog I wrote re installing pg as a web service, your problem is probably related to Python PATH. http://aus800.com.au/deploy-pgadmin-as-a-web-service-under-venv-environment/ On Nov 24, 2017 02:01, "Richard Greenwood" wrote: Thanks for the write up. I've been using "Local Mode" and l

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-23 Thread Richard Greenwood
Hi Floris, Thanks for the reply. I believe that I'm closer but still not quite there yet: $~/pgadmin4-2.0/runtime/pgAdmin4 Python path: "/home/rich/virtualenvs/pgadmin4/lib/python3.5/site-packages/" Python Home: "" Webapp path: "/home/rich/pgadmin4-2.0/web/pgAdmin4.py" Traceback (most recent ca

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-23 Thread F.Sluiter
Oops made the same mistake twice: this is the new python setup: Can you please remove the virtualenvs folder: rm -rf ~/virtualenvs And than redo the updated "Python setup": pip3 install virtualenv mkdir ~/virtualenvs/ virtualenv -p python3 ~/virtualenvs/pgadmin4/ source ~/virtualenvs/pgadm

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-23 Thread F.Sluiter
Hi Rich, Thx for trying! Sorry but this was a formatting error in our write up which caused the python path to become mangled. We corrected that now so it should be ok for . Now to fix it for you: Can you please remove the virtualenvs folder: rm -rf ~/virtualenvs And than redo the updated "Pyt

Re: Installing pgAdmin 4 in Runtime Mode (stand alone) in Linux

2017-11-23 Thread Richard Greenwood
Thanks for the write up. I've been using "Local Mode" and look forward to trying the runtime. I ran into a couple problems following your instructions. They are probably quite minor, but I am not a Python guy so I have no clue as to how to fix the problems. virtualenv -p python3 gives error: Alread