Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhuEZ-0000Bn-UT for pgadmin-hackers@arkaria.postgresql.org; Fri, 02 Oct 2015 06:54:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZhuEZ-0007ne-3G for pgadmin-hackers@arkaria.postgresql.org; Fri, 02 Oct 2015 06:54:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZhuEX-0007nR-9U for pgadmin-hackers@postgresql.org; Fri, 02 Oct 2015 06:54:21 +0000 Received: from mail-wi0-f179.google.com ([209.85.212.179]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZhuEP-0005iU-AJ for pgadmin-hackers@postgresql.org; Fri, 02 Oct 2015 06:54:19 +0000 Received: by wicge5 with SMTP id ge5so19363861wic.0 for ; Thu, 01 Oct 2015 23:54:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=qPlc6oDA1Rw3YMVQk2LG0iHtgQrMaJ545/oOTM1Tg6M=; b=JlRKtxXTAFx1db3EsJX1119E3LfxTvokUsKsKpIP1yciPYZW0Rznh9eJ4GPeQknmab tXSTm59nDHq5qojsMJRKAMTfgOezB0syGiOkUnSAMx3naF/lnvjHGy7ioUDb4ujIICy1 g5w8/oT+tmiAwK4Ub/aT+OAV57VzQcAhQ5et73v52UGJ8IWVf7s/kpnlN6O+Jg5T+3bW mTrOsJaCagp8wXR7xCLBMcKO6Li6zkUDoaW1EiVn7LmnLymiHX3HiLKrG7LfalEQdDOA oPn95HvPljWclyKWWrCQdVmXTs/ooxWe3XfQmvh5j9R1BC+unxSt7EmwU0JFn5VjxDwk SIVw== X-Gm-Message-State: ALoCoQlmTQrmMxspE88RxBTiQzxC7wonSnX6A1EpGzezLgrW/KHcKjxo9hIrzGS5rv3GNDP/GMhA X-Received: by 10.180.219.106 with SMTP id pn10mr2789451wic.56.1443768851241; Thu, 01 Oct 2015 23:54:11 -0700 (PDT) Received: from [192.168.0.5] ([2.122.218.37]) by smtp.gmail.com with ESMTPSA id p4sm6796418wia.15.2015.10.01.23.54.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Oct 2015 23:54:07 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-B9DFD3CB-3CFD-431E-8E1C-BEEDF20E637F Mime-Version: 1.0 (1.0) Subject: Re: Running pgAdmin4 From: Dave Page X-Mailer: iPhone Mail (13A404) In-Reply-To: Date: Fri, 2 Oct 2015 07:54:09 +0100 Cc: pgadmin-hackers Content-Transfer-Encoding: 7bit Message-Id: <352C284F-06D9-4111-94EB-B4D144EAD9DB@pgadmin.org> References: To: Prasad Somwanshi X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --Apple-Mail-B9DFD3CB-3CFD-431E-8E1C-BEEDF20E637F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable The desktop runtime hasn't been tested in months afaik, so it's entirely pos= sible something is broken at the moment. It is only PoC code right now. --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK:http://www.enterprisedb.com The Enterprise PostgreSQL Company > On 2 Oct 2015, at 07:25, Prasad Somwanshi wrote: >=20 > Has anybody encountered this ? Or it's just me ? >=20 > regards, > Prasad > =20 > =20 >=20 > Sent: Thursday, October 01, 2015 at 10:09 AM > From: "Prasad Somwanshi" > To: pgadmin-hackers > Subject: Re: [pgadmin-hackers] Running pgAdmin4 > I think, I did. Is there any specific settings I might have missed there ?= >=20 > regards, > Prasad > =20 > =20 >=20 > Sent: Thursday, October 01, 2015 at 6:34 AM > From: "Ashesh Vashi" > To: "Prasad Somwanshi" > Cc: pgadmin-hackers > Subject: Re: [pgadmin-hackers] Running pgAdmin4 >=20 > On Thu, Oct 1, 2015 at 2:19 AM, Prasad Somwanshi wrote= : >=20 > Hi, >=20 > I'm trying to pgAdmin4. I'm able to run pgAdmin4.py in python shell. And s= erver runs.And able to access using browser. > Then I tried running desktop application, it throws following error, >=20 > Traceback (most recent call last): > File "/home/prasad/Development/pgadmin4/web/pgAdmin4.py", line 73, in > app.run(port=3Dserver_port) > File "/usr/lib/python2.7/dist-packages/flask/app.py", line 772, in run > run_simple(host, port, self, **options) > File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.10.1-py2.7.egg/w= erkzeug/serving.py", line 622, in run_simple > reloader_type) > File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.10.1-py2.7.egg/w= erkzeug/_reloader.py", line 263, in run_with_reloader > signal.signal(signal.SIGTERM, lambda *args: sys.exit(0)) > ValueError: signal only works in main thread > Initial connection failed. Retrying in 2 seconds. > Initial connection failed. Retrying in 3 seconds. > Initial connection failed. Retrying in 4 seconds. > Initial connection failed after multiple attempts. Aborting. >=20 >=20 > I can see what error says. As Qt application spawns separate thread to run= server, which apparently is not allowed. > Am I missing something ? > Have you created config_local.py? > =20 >=20 > -- > Thanks & Regards, >=20 > Ashesh Vashi > EnterpriseDB INDIA: Enterprise PostgreSQL Company[http://www.enterprisedb.= com] > =20 > http://www.linkedin.com/in/asheshvashi[http://www.linkedin.com/in/asheshva= shi][http://www.linkedin.com/in/asheshvashi[http://www.linkedin.com/in/ashes= hvashi]] > regards, > Prasad >=20 >=20 > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org[pgad= min-hackers@postgresql.org]) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers[http://www.postgresql.o= rg/mailpref/pgadmin-hackers][http://www.postgresql.org/mailpref/pgadmin-hack= ers[http://www.postgresql.org/mailpref/pgadmin-hackers]] >=20 >=20 > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers[http://www.postgresql.o= rg/mailpref/pgadmin-hackers] >=20 >=20 > --=20 > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers --Apple-Mail-B9DFD3CB-3CFD-431E-8E1C-BEEDF20E637F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
The desktop runtime hasn't been tested= in months afaik, so it's entirely possible something is broken at the momen= t. It is only PoC code right now.

-- 
Dave Page
Blog: http://pgsnake.blogspot= .com
Twitter: @pgsnake

EnterpriseDB UK:http://www.enterprisedb.com<= /a>
The Enterprise PostgreSQL Company
= Has anybody encountered this ? Or it's just me ?

= regards,
Prasad
 
 

Sent: Thursday, October 01, 20= 15 at 10:09 AM
From: "Prasad Somwanshi" <prasad.s@mail.com>
To: = ;pgadmin-hackers <pgadm= in-hackers@postgresql.org>
Subject: Re: [pgadmin= -hackers] Running pgAdmin4
I think, I did. Is there any spec= ific settings I might have missed there ?

r= egards,
Prasad
 
 =

Sent: Thursday, October 01, 2015 at 6= :34 AM
From: "Ashesh Vashi" <ashesh.vashi@enterprisedb.com>
To: "Prasad Somwanshi" <pra= sad.s@mail.com>
Cc: pgadmin-hackers <pgadmin-hackers@postgresql.org&g= t;
Subject: Re: [pgadmin-hackers] Running pgAdmin4

On Thu, Oct 1, 2015 at 2:19 AM, Prasad Somwansh= i <prasad.s@mail.com> wrote:<= /span>

Hi,

I'm tr= ying to pgAdmin4. I'm able to run pgAdmin4.py in python shell. And server ru= ns.And able to access using browser.
Then I tried running de= sktop application, it throws following error,

Traceback (most recent call last):

  File "/home/pra= sad/Development/pgadmin4/web/pgAdmin4.py", line 73, in <module>=
    app.run(port=3Dserver_port)
  Fi= le "/usr/lib/python2.7/dist-packages/flask/app.py", line 772, in run<= br>    run_simple(host, port, self, **options)
  File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.10.1-py2.7= .egg/werkzeug/serving.py", line 622, in run_simple

  &n= bsp; reloader_type)
  File "/usr/local/lib/python2.7/di= st-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/_reloader.py", line 263, in r= un_with_reloader
    signal.signal(signal.SIGTERM,= lambda *args: sys.exit(0))
ValueError: signal only works in= main thread
Initial connection failed. Retrying in 2 second= s.
Initial connection failed. Retrying in 3 seconds.<= br>Initial connection failed. Retrying in 4 seconds.
I= nitial connection failed after multiple attempts. Aborting.
=

I can see what error says. As Qt applicati= on spawns separate thread to run server, which apparently is not allowed.

Am I missing something ?
Have you created conf= ig_local.py?
 

--
Thanks & Regards,

Ashesh Va= shi
EnterpriseDB INDIA: Enterprise PostgreSQL Company[http://www.enterprisedb.com] 
http://www.linkedin.com/in/= asheshvashi[http://www.linkedin.com/in/asheshvashi][http://www.linkedin.com/= in/asheshvashi[http://www.linkedin.com/in/asheshvashi]]
= regards,
Prasad


= --
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org= ])
To make changes to your subscription:
http://w= ww.postgresql.org/mailpref/pgadmin-hackers[http://www.postgresql.org/mailpre= f/pgadmin-hackers][http://www.postgresql.org/mailpref/pgadmin-hackers[http:/= /www.postgresql.org/mailpref/pgadmin-hackers]]


--
Sent via pgadmin-hackers mailing= list (pgadmin-hackers@pos= tgresql.org)
To make changes to your subscription:

http://www.postgresql.org/= mailpref/pgadmin-hackers[http://www.postgresql.org/mailpref/pgadmin-hackers]=


--
S= ent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make chan= ges to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hack= ers
= --Apple-Mail-B9DFD3CB-3CFD-431E-8E1C-BEEDF20E637F--