public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Startup error on RHEL 7
Date: Mon, 12 Sep 2016 10:05:22 +0100
Message-ID: <CA+OCxoymHm-Mu5hFG09H+XZ9NB3N23GFopfGPZo-Lz3eujnnUw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
On Sun, Sep 11, 2016 at 9:33 AM, Devrim Gündüz <[email protected]> wrote:
>
> 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?
Hmm, not sure. Questions:
- What version of Babel?
- I assume (hope) you haven't changed config.py, but what's in
config_distro.py and config_local.py?
- Is the web/pgadmin/translations/ directory present and containing
files (a test French message catalog)?
- Is babel.cfg present?
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
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], [email protected]
Subject: Re: Startup error on RHEL 7
In-Reply-To: <CA+OCxoymHm-Mu5hFG09H+XZ9NB3N23GFopfGPZo-Lz3eujnnUw@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