Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-22 Thread Ashesh Vashi
ber 22, 2015 at 6:50 AM > From: "Ashesh Vashi" > To: "Prasad Somwanshi" > Cc: pgadmin-hackers > Subject: Re: [pgadmin-hackers] pgadmin4 setup.py, first time run > > Done. > > > > -- > Thanks & Regards, > > Ashesh Vashi > EnterpriseDB

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-22 Thread Prasad Somwanshi
in-hackers] pgadmin4 setup.py, first time run Done.   -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company[http://www.enterprisedb.com]   http://www.linkedin.com/in/asheshvashi[http://www.linkedin.com/in/asheshvashi] -- Sent via pgadmin-hackers mailing list (pgadmi

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-21 Thread Ashesh Vashi
Done. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company *http://www.linkedin.com/in/asheshvashi*

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Prasad Somwanshi
Yes, using flush does work. regards, Prasad Somwanshi     Sent: Tuesday, September 08, 2015 at 11:14 AM From: "Ashesh Vashi" To: "Ronan Dunklau" Cc: pgadmin-hackers , "Dave Page" , "Khushboo Vashi" , Prasad Subject: Re: [pgadmin-hackers] pgadmin4

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Ashesh Vashi
On Tue, Sep 8, 2015 at 2:54 PM, Ronan Dunklau wrote: > If you want DML to be sent to the database with SQLAlchemy, you don't > necessarily need to commit: the flush() method will send all pending DML > operations without commiting. > What do you suggest - should we should use flush(...) instead o

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-08 Thread Ronan Dunklau
If you want DML to be sent to the database with SQLAlchemy, you don't necessarily need to commit: the flush() method will send all pending DML operations without commiting. Le Monday 07 September 2015 18:31:58 Ashesh Vashi a écrit : > On Mon, Sep 7, 2015 at 6:29 PM, Dave Page wrote: > > On Mon,

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Ashesh Vashi
On Mon, Sep 7, 2015 at 6:29 PM, Dave Page wrote: > On Mon, Sep 7, 2015 at 1:53 PM, Khushboo Vashi > wrote: > > > > > > On Mon, Sep 7, 2015 at 5:28 PM, Dave Page wrote: > >> > >> On Mon, Sep 7, 2015 at 12:36 PM, Khushboo Vashi > >> wrote: > >> > Hi Dave, > >> > > >> > I have tried to reproduce

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Dave Page
On Mon, Sep 7, 2015 at 1:53 PM, Khushboo Vashi wrote: > > > On Mon, Sep 7, 2015 at 5:28 PM, Dave Page wrote: >> >> On Mon, Sep 7, 2015 at 12:36 PM, Khushboo Vashi >> wrote: >> > Hi Dave, >> > >> > I have tried to reproduce the issue but couldn't reproduce it on UBUNTU >> > as >> > well as on MAC

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Khushboo Vashi
5 at 12:36 PM > From: "Khushboo Vashi" > To: "Dave Page" > Cc: Prasad , pgadmin-hackers < > pgadmin-hackers@postgresql.org> > Subject: Re: [pgadmin-hackers] pgadmin4 setup.py, first time run > > Hi Dave, > > I have tried to reproduce the is

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Khushboo Vashi
On Mon, Sep 7, 2015 at 5:28 PM, Dave Page wrote: > On Mon, Sep 7, 2015 at 12:36 PM, Khushboo Vashi > wrote: > > Hi Dave, > > > > I have tried to reproduce the issue but couldn't reproduce it on UBUNTU > as > > well as on MAC. > > OK. > > > I have checked the online examples of SQLAlchemyUserData

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Prasad
I'd this issue on Ubuntu x64. And using Python editor IDLE to run setup.py   regards, Prasad Somwanshi     Sent: Monday, September 07, 2015 at 12:36 PM From: "Khushboo Vashi" To: "Dave Page" Cc: Prasad , pgadmin-hackers Subject: Re: [pgadmin-hackers] pgadmin4 set

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Dave Page
On Mon, Sep 7, 2015 at 12:36 PM, Khushboo Vashi wrote: > Hi Dave, > > I have tried to reproduce the issue but couldn't reproduce it on UBUNTU as > well as on MAC. OK. > I have checked the online examples of SQLAlchemyUserDatastore, and I think > it is logical that before assigning the new role t

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Khushboo Vashi
Hi Dave, I have tried to reproduce the issue but couldn't reproduce it on UBUNTU as well as on MAC. I have checked the online examples of SQLAlchemyUserDatastore, and I think it is logical that before assigning the new role to the newly created user, user should be committed first. Thanks, Khus

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Khushboo Vashi
Yes. I am looking into this. Thanks, Khushboo On Mon, Sep 7, 2015 at 1:31 PM, Dave Page wrote: > Khushboo, can you look at this please? > > Thanks. > > On Sun, Sep 6, 2015 at 12:42 AM, Prasad wrote: > > Hi, > > > > When you try to run pgadmin4 for first time(without presence of > pgadmin4.db),

Re: [pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-07 Thread Dave Page
Khushboo, can you look at this please? Thanks. On Sun, Sep 6, 2015 at 12:42 AM, Prasad wrote: > Hi, > > When you try to run pgadmin4 for first time(without presence of pgadmin4.db), > it ask you to run setup.py. When you run it, it throws python error as > follows, > Traceback (most recent cal

[pgadmin-hackers] pgadmin4 setup.py, first time run

2015-09-05 Thread Prasad
Hi, When you try to run pgadmin4 for first time(without presence of pgadmin4.db), it ask you to run setup.py. When you run it, it throws python error as follows, Traceback (most recent call last): File "/home/test/Development/pgadmin4/web/setup.py", line 145, in do_setup(app) File "/home