Re: Running pgAdmin4 - Mailing list pgadmin-hackers

From Prasad Somwanshi
Subject Re: Running pgAdmin4
Date
Msg-id trinity-f9c6cc98-ec0a-48fe-913b-1e4658f7e24f-1445642256868@3capp-mailcom-lxa12
Whole thread Raw
In response to Re: Running pgAdmin4  ("Prasad Somwanshi" <prasad.s@mail.com>)
Responses Re: Running pgAdmin4
List pgadmin-hackers
<div style="font-family: Verdana;font-size: 12.0px;"><div>It seems , Debug mode and running server in separate thread
arenot compatible in Flask. And for Debug mode reloader need to be disabled for such case. Othewise it give error. I've
modifiedcode to disable reloader in debug mode.</div><div>This problem only affects desktop
runtime.</div><div> </div><div>thanksand regards,</div><div>Prasad Somwanshi<br />  <br />  <br /><br /> Sent: Friday,
October02, 2015 at 8:13 AM<br /> From: "Prasad Somwanshi" <prasad.s@mail.com><br /> To: pgadmin-hackers
<pgadmin-hackers@postgresql.org><br/> Subject: Re: [pgadmin-hackers] Running pgAdmin4<br /> Ok, in that case,
probablyit's broken. Error mean, it doesn't like running python code in separate thread.<br /><br /> regards,<br />
Prasad<br/>  <br />  <br /><br /> Sent: Friday, October 02, 2015 at 7:54 AM<br /> From: "Dave Page"
<dpage@pgadmin.org>'t<br/> To: "Prasad Somwanshi" <prasad.s@mail.com><br /> Cc: pgadmin-hackers
<pgadmin-hackers@postgresql.org><br/> Subject: Re: [pgadmin-hackers] Running pgAdmin4<br /><br /> The desktop
runtimehasn't been tested in months afaik, so it's entirely possible something is broken at the moment. It is only PoC
coderight now.<br /><br /> -- <br /> Dave Page<br /> Blog: <a href="http://pgsnake.blogspot.com"
target="_blank">http://pgsnake.blogspot.com</a>[<ahref="http://pgsnake.blogspot.com/"
target="_blank">http://pgsnake.blogspot.com/</a>[<ahref="http://pgsnake.blogspot.com/"
target="_blank">http://pgsnake.blogspot.com/</a>]]<br/> Twitter: @pgsnake<br /><br /> EnterpriseDB UK:<a
href="http://www.enterprisedb.com"target="_blank">http://www.enterprisedb.com</a>[<a href="http://www.enterprisedb.com"
target="_blank">http://www.enterprisedb.com</a>][<ahref="http://www.enterprisedb.com/"
target="_blank">http://www.enterprisedb.com/</a>[<ahref="http://www.enterprisedb.com/"
target="_blank">http://www.enterprisedb.com/</a>]]<br/> The Enterprise PostgreSQL Company<br /> On 2 Oct 2015, at
07:25,Prasad Somwanshi <prasad.s@mail.com[prasad.s@mail.com]> wrote:<br />  <br /> Has anybody encountered this ?
Orit's just me ?<br /><br /> regards,<br /> Prasad<br />  <br />  <br /><br /> Sent: Thursday, October 01, 2015 at
10:09AM<br /> From: "Prasad Somwanshi" <prasad.s@mail.com[prasad.s@mail.com]><br /> To: pgadmin-hackers
<pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org]><br/> Subject: Re: [pgadmin-hackers] Running
pgAdmin4<br/> I think, I did. Is there any specific settings I might have missed there ?<br /><br /> regards,<br />
Prasad<br/>  <br />  <br /><br /> Sent: Thursday, October 01, 2015 at 6:34 AM<br /> From: "Ashesh Vashi"
<ashesh.vashi@enterprisedb.com[ashesh.vashi@enterprisedb.com]><br/> To: "Prasad Somwanshi"
<prasad.s@mail.com[prasad.s@mail.com]><br/> Cc: pgadmin-hackers
<pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org]><br/> Subject: Re: [pgadmin-hackers] Running
pgAdmin4<br/><br /> On Thu, Oct 1, 2015 at 2:19 AM, Prasad Somwanshi <prasad.s@mail.com[prasad.s@mail.com]>
wrote:<br/><br /> Hi,<br /><br /> I'm trying to pgAdmin4. I'm able to run pgAdmin4.py in python shell. And server
runs.Andable to access using browser.<br /> Then I tried running desktop application, it throws following error,<br
/><br/> Traceback (most recent call last):<br />   File "/home/prasad/Development/pgadmin4/web/pgAdmin4.py", line 73,
in<module><br />     app.run(port=server_port)<br />   File "/usr/lib/python2.7/dist-packages/flask/app.py", line
772,in run<br />     run_simple(host, port, self, **options)<br />   File
"/usr/local/lib/python2.7/dist-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/serving.py",line 622, in run_simple<br />  
 reloader_type)<br />   File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/_reloader.py",
line263, in run_with_reloader<br />     signal.signal(signal.SIGTERM, lambda *args: sys.exit(0))<br /> ValueError:
signalonly works in main thread<br /> Initial connection failed. Retrying in 2 seconds.<br /> Initial connection
failed.Retrying in 3 seconds.<br /> Initial connection failed. Retrying in 4 seconds.<br /> Initial connection failed
aftermultiple attempts. Aborting.<br /><br /><br /> I can see what error says. As Qt application spawns separate thread
torun server, which apparently is not allowed.<br /> Am I missing something ?<br /> Have you created
config_local.py?<br/>  <br /><br /> --<br /> Thanks & Regards,<br /><br /> Ashesh Vashi<br /> EnterpriseDB INDIA:
EnterprisePostgreSQL Company[<a href="http://www.enterprisedb.com" target="_blank">http://www.enterprisedb.com</a>[<a
href="http://www.enterprisedb.com"target="_blank">http://www.enterprisedb.com</a>][<a
href="http://www.enterprisedb.com"target="_blank">http://www.enterprisedb.com</a>[<a href="http://www.enterprisedb.com"
target="_blank">http://www.enterprisedb.com</a>]]]<br/>  <br /><a href="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>]][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>]]][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>]][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>][<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>[<ahref="http://www.linkedin.com/in/asheshvashi"
target="_blank">http://www.linkedin.com/in/asheshvashi</a>]]]]<br/> regards,<br /> Prasad<br /><br /><br /> --<br />
Sentvia pgadmin-hackers mailing list
(pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org][pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org]])<br
/>To make changes to your subscription:<br /><a href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]]][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]]]]<br/><br /><br /> --<br /> Sent via
pgadmin-hackersmailing list (pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org])<br /> To make changes to
yoursubscription:<br /><a href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]]]<br/><br /><br /> --<br /> Sent via
pgadmin-hackersmailing list (pgadmin-hackers@postgresql.org[pgadmin-hackers@postgresql.org])<br /> To make changes to
yoursubscription:<br /><a href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>][<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]]<br/><br /><br /> --<br /> Sent via
pgadmin-hackersmailing list (pgadmin-hackers@postgresql.org)<br /> To make changes to your subscription:<br /><a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>[<a
href="http://www.postgresql.org/mailpref/pgadmin-hackers"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-hackers</a>]</div></div>

pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: [pgadmin-support] Error about inherited table of column in pgadmin1.20.0
Next
From: Ashesh Vashi
Date:
Subject: Re: Running pgAdmin4