Re: pgAdmin4 never loading

2017-10-09 Thread Dave Page
Surinder, can you help out with this please? On Fri, Oct 6, 2017 at 9:00 PM, Pavel Klimenko wrote: > Hi. > I'm get last sources from git. > Make runtime application, create virtualenv as "virtualenv pga4venv" > do: > source pga4venv/bin/activate > pip install -r ../requirements.txt > pip instal

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread Dave Page
Harshal, can you help with this please? On Sun, Oct 8, 2017 at 12:39 AM, David Gilman wrote: > I'm trying out pgadmin4 v2.0 for the first time. It seems that after only > a few minutes (maybe even less than five) my pgadmin4 session will get > logged out and I'll need to log in again and reopen

Re: pgAdmin 4 v2, server cannot be connected

2017-10-09 Thread Dave Page
Please keep the mailing list CC'd. In a standard installation, the two versions should exist quite happily side by side, though only the latest will probably run due to changes in the config database (that shouldn't be an issue with >= 2.0, only with older versions). I have many versions installed

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread Harshal Dhumal
sure Dave -- *Harshal Dhumal* *Sr. Software Engineer* EnterpriseDB India: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Mon, Oct 9, 2017 at 1:16 PM, Dave Page wrote: > Harshal, can you help with this please? > > On Sun, Oct 8, 2017 at 12:39 AM, David Gilman > wrote: > >> I

Re: pgAdmin4 never loading

2017-10-09 Thread Surinder Kumar
Hi Pavel, If you are building pgAdmin4 from the source, then you don't need to install pgAdmin4 from the wheel. After taking the pgAdmin4 source from git HEAD, you need to install nodeJS, Yarn to build JS/CSS modules. the error you are getting is possibly due to this. For more help, you can follo

I'd like a lightweight alternative to pgAdmin4 ?

2017-10-09 Thread Andreas
Hi call me oldfashioned but I'd like to have a lightweight alternative to pgAdmin4. pgAdmin3 does in 99% of the time all I have to do with PG, throwing SQL at the server and getting some stuff back. It starts fast, offers multi-window and drag&drop of scripts into the editor. I really do ap

Re: I'd like a lightweight alternative to pgAdmin4 ?

2017-10-09 Thread Francis Fish
Try "upgrading" to version 1.2 Thanks and Regards, Francis 07764 225 942 Pharmarketeer is a registered company in England and Wales 06940361, registered office 64 Westbank Road, Birkenhead, Merseyside, CH42 7JP "So when targets seem stupid, arbitrary and unfair it's because they *are*. The on

Re: I'd like a lightweight alternative to pgAdmin4 ?

2017-10-09 Thread Murtuza Zabuawala
On Mon, Oct 9, 2017 at 2:45 PM, Andreas wrote: > Hi > call me oldfashioned but I'd like to have a lightweight alternative to > pgAdmin4. > > pgAdmin3 does in 99% of the time all I have to do with PG, throwing SQL at > the server and getting some stuff back. > It starts fast, offers multi-window a

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: I'd like a lightweight alternative to pgAdmin4 ?

2017-10-09 Thread Melvin Davidson
Andreas, FWIW, although it does lack some of the nice feature of PgAdmin III, PgAdmin4 is constantly being improved and should soon be comparable, so I suggest you keep checking it's home page. If you are looking for alternatives to PgAdmin, I suggest you start by choosing from this url. wiki.p

Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Hi! How are you guys? I'm internalizing on pgAdmin4 installed by python wheels on Ubuntu and making some customization on it. We run it in Server Mode and, we had created one email user to each DBA and one user for all the operators. For example, Jhon Snow got the email jhon.s...@pgadmin.com

Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
I'm internalizing on pgAdmin4 installed by python wheels on Ubuntu and making some customization on it. We run it in Server Mode and, we had created one email user to each DBA and one user for all the operators. For example, Jhon Snow got the email jhon.s...@pgadmin.com and he is a DBA. Mari

Re: Change Storage Dir

2017-10-09 Thread Murtuza Zabuawala
You can customize the locations as per your need, Create a file named config_local.py (if not already present) at your installation location ../pgadmin4/web/ and add below line in it, restart pgAdmin4 and you are good to go. STORAGE_DIR = '/home/backups' -- Regards, Murtuza Zabuawala Enterprise

Re: Change Storage Dir

2017-10-09 Thread Ashesh Vashi
On Mon, Oct 9, 2017 at 8:05 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > You can customize the locations as per your need, > > Create a file named config_local.py (if not already present) at your > installation location ../pgadmin4/web/ > and add below line in it, restart p

Re: Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Hi! Thanks for your answers. I will try that. Is there some way to get the login user and relate it with the storage dir? I'm not a python expert, but I suppose that you can get the login username with some python call? That will be the strawberry cake. Regards blue_strip *Ignacio Silvera

Re: Change Storage Dir

2017-10-09 Thread Murtuza Zabuawala
STORAGE_DIR is a base directory. pgAdmin4 will automatically create separate user directory for each user in given base directory. On Mon, Oct 9, 2017 at 8:41 PM, Silvera, Ignacio wrote: > Hi! Thanks for your answers. > > I will try that. > > Is there some way to get the login user and relate i

Re: Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Great! Thanks for your help! blue_strip *Ignacio Silvera* B&PS (Business & Platform Solutions) – Atos Uruguay Tel: +598 24871169, int 102 ignacio.silv...@atos.net Luis A. de Herrera 2802 Montevideo, Uruguay Atos.net atos_logotype This e-mail and the documents attached are confidential

Re: Change Storage Dir

2017-10-09 Thread Silvera, Ignacio
Another question more. Is it possible to set a storage dir for a group of users of pgadmin and other storage dir for other groups of users? Thanks! blue_strip *Ignacio Silvera* B&PS (Business & Platform Solutions) – Atos Uruguay Tel: +598 24871169, int 102 ignacio.silv...@atos.net Luis A

Re: Change Storage Dir

2017-10-09 Thread Ashesh Vashi
On Mon, Oct 9, 2017 at 8:52 PM, Silvera, Ignacio wrote: > Another question more. > > Is it possible to set a storage dir for a group of users of pgadmin and > other storage dir for other groups of users? > Technically not feasible, as running pgAdmin 4 (as web application) will run under a web-se

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread David Gilman
You can probably stand down on this one. The issue was that my PC was switching back and forth between IPv4 and IPv6 for whatever reason and when that happened the cookie and my session would get invalidated. Maybe it is worth making code changes so you don't get Python tracebacks dumped to the err

Re: pgAdmin 4 v2, server cannot be connected

2017-10-09 Thread Ronald Viscarra
Hi, I know both could exists side by side, but I would like to just keep the lates one, and remove the old one. I make a particular shortcut for running newest version and is working great. 2017-10-09 4:02 GMT-04:00 Dave Page : > Please keep the mailing list CC'd. > > In a standard installation,

Re: Query tool window stops executing queries after some situations

2017-10-09 Thread Murtuza Zabuawala
Hi, Please report this issue on https://redmine.postgresql.org/projects/pgadmin4 -- Regards, Murtuza Zabuawala On Mon, Oct 9, 2017 at 3:23 AM, Eduardo Piombino wrote: > I was just trying the new postgres 10 logical replication, and for that I > had to issue a > CREATE PUBLICATION mypub FOR tab

Re: pgadmin4 exception: session['_id'] not in self.managers

2017-10-09 Thread Harshal Dhumal
Hi David, Thanks for you input. Session was not invalidated (otherwise execution would not have reached to connection manager); Only value of '_id' was changed for session. If we look at code how '_id' is generat