Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVGdA-0003va-Cx for pgadmin-hackers@arkaria.postgresql.org; Thu, 04 Aug 2016 11:16:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bVGdA-0002cd-01 for pgadmin-hackers@arkaria.postgresql.org; Thu, 04 Aug 2016 11:16:04 +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_2) (envelope-from ) id 1bVGd9-0002cV-8D for pgadmin-hackers@postgresql.org; Thu, 04 Aug 2016 11:16:03 +0000 Received: from mail-it0-x22c.google.com ([2607:f8b0:4001:c0b::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bVGd5-0000Sr-VJ for pgadmin-hackers@postgresql.org; Thu, 04 Aug 2016 11:16:02 +0000 Received: by mail-it0-x22c.google.com with SMTP id u186so319813357ita.0 for ; Thu, 04 Aug 2016 04:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=W5PO1mOyZUYqL69L774lKds/t+lR7VEDVLA2brgHGQI=; b=Z8EPIU3VK91mitTfl4SgKWZQLe1PX3CDVSxDxIRlcLnJzMIf4AFLKMnex+995vem/w oBP11cCqG1BSzCM1rINIV3DWfcxFEV0B96ikxqTmM6J0C5NyhQx76LWwWmTciMSpByPh Y6SfcfRcyMJhIlrspI7VGb/JFopI5CK7WCGLG4VGj7Su+uf2fHRmN37uJVzBkq0Iy4V/ ywjirtrGfXNmFnkYTrp++IZbZHVRCWHVRRTskjzrdF2IoK/jLJbm5lQUntX5vupNLE/P Cp+n5WBGJfssNsDDVYsgGja5lAB3uJu6rx+793DpVa0rqzT+waKcKRi2WkHUKBs5aefk GkmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=W5PO1mOyZUYqL69L774lKds/t+lR7VEDVLA2brgHGQI=; b=jo8d1ZEUPXJLQ9MogXjNwh2mHMz0SQdCjUEkGt0e5z0c9O8C0393OGGFftclZ9h97l UJDLubh/sykgtVWNJtCEOTwmqso37EI9MKohw5kalYmDtzdso3sd6O9DQwwv+bVXPtMd 6lTWK/2XmXSNUNYjPuVkQbNZmeN+Ud5thsA+H7u0jLo5jdjtkB509yjKFln4/SwXj//v I1poOnGkt9UZMAgnCmyYTIqpZYSDv162L1hKPKULV1OskB3xfaDDVhKnNatc8H82O1Lb Y5EqfpVcXrPmO/l1OyU7nTomMksA4ZJupsmm21qzda1duOEuBbPK21Y1YqA0YdGOo2f0 f2FA== X-Gm-Message-State: AEkoouvOp3osggfzaceLRX0moaWRxyfQbEbi7FQ4GVqR8ezLH9YU5Aq23h3l9idTNwREwPgbOSKiC2HATdpwvNKs X-Received: by 10.36.39.77 with SMTP id g74mr29385094ita.51.1470309358932; Thu, 04 Aug 2016 04:15:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.6.76 with HTTP; Thu, 4 Aug 2016 04:15:38 -0700 (PDT) In-Reply-To: References: From: Ashesh Vashi Date: Thu, 4 Aug 2016 16:45:38 +0530 Message-ID: Subject: Re: Possible error in latest git pull To: Colin Beckingham Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary=001a11474b8c0cadb805393d13e9 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 --001a11474b8c0cadb805393d13e9 Content-Type: text/plain; charset=UTF-8 Dave upgraded the dependencies of flask_babel few days back. Did you run "pip upgrade -r requirements_pyX.txt"? -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company *http://www.linkedin.com/in/asheshvashi* On Thu, Aug 4, 2016 at 4:42 PM, Colin Beckingham wrote: > Just did a git pull on pgadmin4 and on attempt to start the web interface > I have a problem. App seems to start correctly and invites me to open my > browser, but on attempt to log in I get a rotating wheel and this in the > console. Quite possibly my error, on openSUSE Leap 42.1 fully patched: > > > python pgAdmin4.py > Starting pgAdmin 4. Please navigate to http://localhost:5050 in your > browser. > 2016-08-04 07:02:40,202: ERROR pgadmin: Exception on > /browser/js/messages.js [GET] > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1817, in > wsgi_app > response = self.full_dispatch_request() > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1477, in > full_dispatch_request > rv = self.handle_user_exception(e) > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1381, in > handle_user_exception > reraise(exc_type, exc_value, tb) > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in > full_dispatch_request > rv = self.dispatch_request() > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in > dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/home/colin/pgadmin4git/web/pgadmin/browser/__init__.py", line > 543, in messages_js > render_template('browser/js/messages.js', _=gettext), > File "/usr/lib/python2.7/site-packages/flask/templating.py", line 128, > in render_template > context, ctx.app) > File "/usr/lib/python2.7/site-packages/flask/templating.py", line 110, > in _render > rv = template.render(context) > File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, > in render > return self.environment.handle_exception(exc_info, True) > File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, > in handle_exception > reraise(exc_type, exc_value, tb) > File > "/home/colin/pgadmin4git/web/pgadmin/browser/templates/browser/js/messages.js", > line 19, in top-level template code > 'MUST_GR_EQ' : "{{ _("'%s' must be greater than or equal to %d.")|safe > }}", > File "/usr/lib/python2.7/site-packages/flask_babel/__init__.py", line > 461, in gettext > return t.ugettext(string) % variables > TypeError: not enough arguments for format string > 2016-08-04 07:02:40,233: ERROR pgadmin: Exception on > /browser/js/node.js [GET] > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1817, in > wsgi_app > response = self.full_dispatch_request() > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1477, in > full_dispatch_request > rv = self.handle_user_exception(e) > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1381, in > handle_user_exception > reraise(exc_type, exc_value, tb) > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in > full_dispatch_request > rv = self.dispatch_request() > File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in > dispatch_request > return self.view_functions[rule.endpoint](**req.view_args) > File "/usr/lib/python2.7/site-packages/flask_login.py", line 758, in > decorated_view > return func(*args, **kwargs) > File "/home/colin/pgadmin4git/web/pgadmin/browser/__init__.py", line > 535, in node_js > _=gettext > File "/usr/lib/python2.7/site-packages/flask/templating.py", line 128, > in render_template > context, ctx.app) > File "/usr/lib/python2.7/site-packages/flask/templating.py", line 110, > in _render > rv = template.render(context) > File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, > in render > return self.environment.handle_exception(exc_info, True) > File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, > in handle_exception > reraise(exc_type, exc_value, tb) > File > "/home/colin/pgadmin4git/web/pgadmin/browser/templates/browser/js/node.js", > line 457, in top-level template code > var msg = '{{ _('Are you sure want to stop editing the properties of > %s "%s"?') }}'; > File "/usr/lib/python2.7/site-packages/flask_babel/__init__.py", line > 461, in gettext > return t.ugettext(string) % variables > TypeError: not enough arguments for format string > > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > --001a11474b8c0cadb805393d13e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dave upgraded the dependencies of flask_babel few days bac= k.
Did you run "pip upgrade -r requirements_pyX.txt"?=C2=A0

--=

Thanks & Regar= ds,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise Post= greSQL Company

<= br>

<= a href=3D"http://www.linkedin.com/in/asheshvashi" target=3D"_blank">http= ://www.linkedin.com/in/asheshvashi


On Thu, Aug 4, 2016 at 4:42 PM, Colin Beckin= gham <colbec@kingston.net> wrote:
Just did a git pull on pgadmin4 and on attempt to start the web i= nterface I have a problem. App seems to start correctly and invites me to o= pen my browser, but on attempt to log in I get a rotating wheel and this in= the console. Quite possibly my error, on openSUSE Leap 42.1 fully patched:=

> python pgAdmin4.py
Starting pgAdmin 4. Please navigate to http://localhost:5050 in your browse= r.
2016-08-04 07:02:40,202: ERROR=C2=A0 =C2=A0 pgadmin:=C2=A0 =C2=A0 Exception= on /browser/js/messages.js [GET]
Traceback (most recent call last):
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1817, in wsgi_app
=C2=A0 =C2=A0 response =3D self.full_dispatch_request()
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1477, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.handle_user_exception(e)
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1381, in handle_user_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1475, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.dispatch_request()
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1461, in dispatch_request
=C2=A0 =C2=A0 return self.view_functions[rule.endpoint](**req.view_args) =C2=A0 File "/home/colin/pgadmin4git/web/pgadmin/browser/__init__.py&q= uot;, line 543, in messages_js
=C2=A0 =C2=A0 render_template('browser/js/messages.js', _=3Dgettext= ),
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/templating.py"= ;, line 128, in render_template
=C2=A0 =C2=A0 context, ctx.app)
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/templating.py"= ;, line 110, in _render
=C2=A0 =C2=A0 rv =3D template.render(context)
=C2=A0 File "/usr/lib/python2.7/site-packages/jinja2/environment.py&qu= ot;, line 969, in render
=C2=A0 =C2=A0 return self.environment.handle_exception(exc_info, True)
=C2=A0 File "/usr/lib/python2.7/site-packages/jinja2/environment.py&qu= ot;, line 742, in handle_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/home/colin/pgadmin4git/web/pgadmin/browser/templates/bro= wser/js/messages.js", line 19, in top-level template code
=C2=A0 =C2=A0 'MUST_GR_EQ' : "{{ _("'%s' must be = greater than or equal to %d.")|safe }}",
=C2=A0 File "/usr/lib/python2.7/site-packages/flask_babel/__init__.py&= quot;, line 461, in gettext
=C2=A0 =C2=A0 return t.ugettext(string) % variables
TypeError: not enough arguments for format string
2016-08-04 07:02:40,233: ERROR=C2=A0 =C2=A0 pgadmin:=C2=A0 =C2=A0 Exception= on /browser/js/node.js [GET]
Traceback (most recent call last):
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1817, in wsgi_app
=C2=A0 =C2=A0 response =3D self.full_dispatch_request()
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1477, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.handle_user_exception(e)
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1381, in handle_user_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1475, in full_dispatch_request
=C2=A0 =C2=A0 rv =3D self.dispatch_request()
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/app.py", line= 1461, in dispatch_request
=C2=A0 =C2=A0 return self.view_functions[rule.endpoint](**req.view_args) =C2=A0 File "/usr/lib/python2.7/site-packages/flask_login.py", li= ne 758, in decorated_view
=C2=A0 =C2=A0 return func(*args, **kwargs)
=C2=A0 File "/home/colin/pgadmin4git/web/pgadmin/browser/__init__.py&q= uot;, line 535, in node_js
=C2=A0 =C2=A0 _=3Dgettext
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/templating.py"= ;, line 128, in render_template
=C2=A0 =C2=A0 context, ctx.app)
=C2=A0 File "/usr/lib/python2.7/site-packages/flask/templating.py"= ;, line 110, in _render
=C2=A0 =C2=A0 rv =3D template.render(context)
=C2=A0 File "/usr/lib/python2.7/site-packages/jinja2/environment.py&qu= ot;, line 969, in render
=C2=A0 =C2=A0 return self.environment.handle_exception(exc_info, True)
=C2=A0 File "/usr/lib/python2.7/site-packages/jinja2/environment.py&qu= ot;, line 742, in handle_exception
=C2=A0 =C2=A0 reraise(exc_type, exc_value, tb)
=C2=A0 File "/home/colin/pgadmin4git/web/pgadmin/browser/templates/bro= wser/js/node.js", line 457, in top-level template code
=C2=A0 =C2=A0 var msg =3D '{{ _('Are you sure want to stop editing = the properties of %s "%s"?') }}';
=C2=A0 File "/usr/lib/python2.7/site-packages/flask_babel/__init__.py&= quot;, line 461, in gettext
=C2=A0 =C2=A0 return t.ugettext(string) % variables
TypeError: not enough arguments for format string



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

--001a11474b8c0cadb805393d13e9--