public inbox for [email protected]  
help / color / mirror / Atom feed
Possible error in latest git pull
3+ messages / 2 participants
[nested] [flat]

* Possible error in latest git pull
@ 2016-08-04 11:12 Colin Beckingham <[email protected]>
  2016-08-04 11:15 ` Re: Possible error in latest git pull Ashesh Vashi <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Colin Beckingham @ 2016-08-04 11:12 UTC (permalink / raw)
  To: pgadmin-hackers

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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Possible error in latest git pull
  2016-08-04 11:12 Possible error in latest git pull Colin Beckingham <[email protected]>
@ 2016-08-04 11:15 ` Ashesh Vashi <[email protected]>
  2016-08-04 11:25   ` Re: Possible error in latest git pull Colin Beckingham <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Ashesh Vashi @ 2016-08-04 11:15 UTC (permalink / raw)
  To: Colin Beckingham <[email protected]>; +Cc: pgadmin-hackers

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.enterprisedb.com;


*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi;

On Thu, Aug 4, 2016 at 4:42 PM, Colin Beckingham <[email protected]>
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 ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Possible error in latest git pull
  2016-08-04 11:12 Possible error in latest git pull Colin Beckingham <[email protected]>
  2016-08-04 11:15 ` Re: Possible error in latest git pull Ashesh Vashi <[email protected]>
@ 2016-08-04 11:25   ` Colin Beckingham <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Colin Beckingham @ 2016-08-04 11:25 UTC (permalink / raw)
  To: pgadmin-hackers

Thanks Ashesh, all good now.

On 04/08/16 07:15, Ashesh Vashi wrote:
> 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.enterprisedb.com;
>
>
> /http://www.linkedin.com/in/asheshvashi/
>
>
> On Thu, Aug 4, 2016 at 4:42 PM, Colin Beckingham <[email protected] 
> <mailto:[email protected]>> 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
>     ([email protected]
>     <mailto:[email protected]>)
>     To make changes to your subscription:
>     http://www.postgresql.org/mailpref/pgadmin-hackers
>
>



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-08-04 11:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-04 11:12 Possible error in latest git pull Colin Beckingham <[email protected]>
2016-08-04 11:15 ` Ashesh Vashi <[email protected]>
2016-08-04 11:25   ` Colin Beckingham <[email protected]>

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