You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/10/12 12:43:36 UTC
[GitHub] fparrel commented on issue #3182: 'module' object has no attribute 'NullTranslations'
fparrel commented on issue #3182: 'module' object has no attribute 'NullTranslations'
URL: https://github.com/apache/incubator-superset/issues/3182#issuecomment-336121251
What i did to fix on Centos, I added the following lines in /usr/lib/python2.7/site-packages/flask_babel/__init__.py:
```
try:
return support.NullTranslations()
except AttributeError:
import gettext
return gettext.NullTranslations()
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services