Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhOJY-00086L-0d for pgadmin-hackers@arkaria.postgresql.org; Wed, 30 Sep 2015 20:49:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZhOJW-0005XA-KH for pgadmin-hackers@arkaria.postgresql.org; Wed, 30 Sep 2015 20:49:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZhOJJ-0005Ig-Kg for pgadmin-hackers@postgresql.org; Wed, 30 Sep 2015 20:49:09 +0000 Received: from mout.gmx.com ([74.208.4.200]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZhOJE-0007k7-Ho for pgadmin-hackers@postgresql.org; Wed, 30 Sep 2015 20:49:07 +0000 Received: from [92.234.71.108] by 3capp-mailcom-lxa10.server.lan (via HTTP); Wed, 30 Sep 2015 22:49:00 +0200 MIME-Version: 1.0 Message-ID: From: "Prasad Somwanshi" To: pgadmin-hackers Subject: Running pgAdmin4 Content-Type: text/plain; charset=UTF-8 Date: Wed, 30 Sep 2015 22:49:00 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:wV8tqAeUNKFaJIDD4CwlZZ683MBoejjPlptYK0MiL5A rcwKi/AbBsi6tAhZEGNc40JQzcFriGBx8w5zjygflWG7wvov/j DyvGnQxKHl+cQH0eIY3ugtJsv8cmll4ze+KXgFnTki4awRaJb1 08bNiKpVbVu3IQi/YwGrXrkZxLOOwJeKMFejoHjl3KqjD7oL/I bF6lSYUtbhKz8OtrBNulE46835GwCKaFRp92MQ6PgeTph4KBT7 X7QdGqgFNwE+OfNoLwKYCjkCmpfpuu8A42Gj0ijwTtfOIRFTA8 Tc9SZlIByJ/KUXvStgyZ07CVyQl X-UI-Out-Filterresults: notjunk:1;V01:K0:z8vmy78QywY=:IpyEXoMHQaZffiSdEohNC3 ifz/q9CS3VJ9asvqLGf73sJgLEt4teFjSkkR41spHc1OcAoBpjxschOkhHSVGupxtPNyHoM8l tFsHuBidvLWpJzYrQE/R8bVFIzq7I86z3XaHWdUfB1yNzGilmMlg3cwTU9pAjYKJ+9YzYhX5Y dI4cPCwO6YgZzT1G84myx3z0zO+G0b8WDpwGdW2P+pK/Xo1qM33s1VmC6TLMYJjlVD0ZFu7KT C/IPg+QMAEc/VBrUBPIX/yGSWobfK0Jqp9Dqx4TA4qUNQwUxe3wYkqYFsukpyOJWgh85Itpkl chUBzPk2CrUqO7a0I2hX+FxCUBD9FZtmgT4VSnJg0U1ItqDWQUkxxZDoeDLAyR2kGLvQsMaOC ph6lheBAPAxAWbXupi6VhVAs4VQdbUYLmK9+jh3f2mRKHpis+ONFWB/IvhSHJbdl5gX4uPKho fZnJ2J5s5g== 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 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 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 ? regards, Prasad -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers