id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 11408,Still AttributeError: NullTranslationsBabel instance has no attribute 'isactive',power_zhy,Steffen Hoffmann,"==== Description ==== I have met this problem several days earlier and after search here ticket:10903#comment:5 was found, following which the problem was solved, everything seems good. But when I try to add the Tags Plugin (http://trac-hacks.org/wiki/TagsPlugin) to my trac, the same error occurred again, with the same traceback. (as tags 0.6 has a problem which cannot upgrade the trac env using `trac-admin` tool, after google all said using 0.7dev instead.) Another thing, when connecting to my trac, my browser requires a file called `common/js/messages/zh_Hans_CN.js`, which was not exist, (but `zh_CN.js` is exist there.) I'm not sure if this information helps a little. When I set the language in perferences menu to `English (United States)`, this do not happen but the AttributeError still exist. Sorry for my poor English, Thanks! ==== How to Reproduce ==== While doing a GET operation on `/tags`, Trac issued an internal error. Request parameters: {{{ {'ticket': 'on', 'wiki': 'on'} }}} User agent: `Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0` ==== System Information ==== || '''`Trac`''' || `1.0.1` || || '''`Trac`''' || `1.0.1` || || '''`Babel`''' || `1.3-20131111` || || '''`Docutils`''' || `0.11` || || '''`Genshi`''' || `0.7 (without speedups)` || || '''`Pygments`''' || `1.6` || || '''`pysqlite`''' || `2.6.0` || || '''`Python`''' || `2.7.5 (default, Sep 6 2013, 09:55:21) ` [[br]] `[GCC 4.8.1 20130725 (prerelease)]` || || '''`Python`''' || `2.7.5 (default, Sep 6 2013, 09:55:21) ` [[br]] `[GCC 4.8.1 20130725 (prerelease)]` || || '''`pytz`''' || `2013.8` || || '''`pytz`''' || `2013.8` || || '''`setuptools`''' || `1.3` || || '''`setuptools`''' || `1.3` || || '''`SQLite`''' || `3.8.1` || || '''`jQuery`''' || `1.7.2` || ==== Enabled Plugins ==== || '''`TracAccountManager`''' || `0.4.3` || || '''`TracTags`''' || `0.7dev` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File ""/usr/lib/python2.7/site-packages/trac/web/main.py"", line 497, in _dispatch_request dispatcher.dispatch(req) File ""/usr/lib/python2.7/site-packages/trac/web/main.py"", line 214, in dispatch resp = chosen_handler.process_request(req) File ""build/bdist.linux-x86_64/egg/tractags/web_ui.py"", line 101, in process_request data = dict(page_title=_(""Tags""), checked_realms=checked_realms) File ""/usr/lib/python2.7/site-packages/trac/util/translation.py"", line 290, in return lambda *args, **kw: _functions[symbol](domain, *args, **kw) File ""/usr/lib/python2.7/site-packages/trac/util/translation.py"", line 202, in dgettext if not self.isactive: File ""/usr/lib/python2.7/site-packages/trac/util/translation.py"", line 190, in __getattr__ return getattr(self.active, name) AttributeError: NullTranslationsBabel instance has no attribute 'isactive' }}}",defect,closed,normal,TagsPlugin,normal,cantfix,,,1.0