public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashesh Vashi <[email protected]>
To: Prasad Somwanshi <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Running pgAdmin4
Date: Thu, 1 Oct 2015 11:04:07 +0530
Message-ID: <CAG7mmoyrUju-GOXKec=CcS7bj6G8FY+0nFXvz74EAWNeg1wCrQ@mail.gmail.com> (raw)
In-Reply-To: <trinity-61a0cccc-2632-42fd-8324-890dd117b3a7-1443646140455@3capp-mailcom-lxa10>
References: <trinity-61a0cccc-2632-42fd-8324-890dd117b3a7-1443646140455@3capp-mailcom-lxa10>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

On Thu, Oct 1, 2015 at 2:19 AM, Prasad Somwanshi <[email protected]> wrote:

> Hi,
>
> I'm trying to pgAdmin4. I'm able to run pgAdmin4.py in python shell. And
> server runs.And able to access using browser.
> Then I tried running desktop application, it throws following error,
>
> Traceback (most recent call last):
>   File "/home/prasad/Development/pgadmin4/web/pgAdmin4.py", line 73, in
> <module>
>     app.run(port=server_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/werkzeug/serving.py",
> line 622, in run_simple
>     reloader_type)
>   File
> "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/_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.
>
>
> 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?

--

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;

>
> regards,
> Prasad
>
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>


view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Running pgAdmin4
  In-Reply-To: <CAG7mmoyrUju-GOXKec=CcS7bj6G8FY+0nFXvz74EAWNeg1wCrQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox