public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim Gündüz <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: Startup error on RHEL 7
Date: Sun, 11 Sep 2016 11:33:26 +0300
Message-ID: <[email protected]> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>


Hi,

Just saw this on my RHEL 7 test box. This is pgadmin4 1.0rc1, Python 2.7,
python-flask-babel-0.11.1:

# /usr/bin/python2 /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py", line 58, in <module>
    app = create_app()
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/__init__.py", line 226, in create_app
    driver.init_app(app)
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/driver/__init__.py", line 40, in init_app
    DriverRegistry.load_drivers()
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/driver/registry.py", line 88, in load_drivers
    module = import_module(module_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/driver/psycopg2/__init__.py", line 33, in <module>
    from pgadmin.utils.exception import ConnectionLost
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/exception.py", line 15, in <module>
    from pgadmin.utils.ajax import service_unavailable
  File "/usr/lib/python2.7/site-packages/pgadmin4-web/pgadmin/utils/ajax.py", line 124, in <module>
    def not_implemented(errormsg=_('Not implemented.'), info='', result=None, data=None):
  File "/usr/lib/python2.7/site-packages/flask_babel/__init__.py", line 539, in gettext
    t = get_translations()
  File "/usr/lib/python2.7/site-packages/flask_babel/__init__.py", line 208, in get_translations
    return support.NullTranslations()
AttributeError: 'module' object has no attribute 'NullTranslations'

What am I missing here?

Regards,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

view thread (7+ 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]
  Subject: Re: Startup error on RHEL 7
  In-Reply-To: <[email protected]>

* 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