Modify ↓
Opened 10 years ago
Closed 10 years ago
#12104 closed defect (cantfix)
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'
Reported by: | Owned by: | Steffen Hoffmann | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
How to Reproduce
While doing a GET operation on /admin
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'cat_id': None, 'panel_id': None, 'path_info': None}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
System Information
Trac | 1.0.1
|
Trac | 1.0.1
|
Babel | 1.3
|
Docutils | 0.11
|
Genshi | 0.7 (with speedups)
|
GIT | 1.9.1
|
mod_python | 3.3.1
|
MySQL | server: "5.5.40-0ubuntu0.14.04.1", client: "5.5.40", thread-safe: 1
|
MySQLdb | 1.2.3
|
Pygments | 1.6
|
Python | 2.7.6 (default, Mar 22 2014, 23:03:14) [GCC 4.8.2]
|
Python | 2.7.6 (default, Mar 22 2014, 23:03:14) [GCC 4.8.2]
|
pytz | 2012c
|
pytz | 2012c
|
setuptools | 3.3
|
setuptools | 3.3
|
jQuery | 1.7.2
|
Enabled Plugins
SimpleMultiProject | 0.0.4dev
|
TracAccountManager | 0.4.4
|
TracAnnouncer | 1.0dev
|
TracDiscussion | 0.9dev
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.7/dist-packages/trac/admin/web_ui.py", line 89, in process_request panels, providers = self._get_panels(req) File "/usr/lib/python2.7/dist-packages/trac/admin/web_ui.py", line 169, in _get_panels p = list(provider.get_admin_panels(req) or []) File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 196, in get_admin_panels yield ('accounts', _("Accounts"), 'config', _("Configuration")) File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 290, in <lambda> return lambda *args, **kw: _functions[symbol](domain, *args, **kw) File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 202, in dgettext if not self.isactive: File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 190, in __getattr__ return getattr(self.active, name) AttributeError: NullTranslationsBabel instance has no attribute 'isactive'
Attachments (0)
Note: See
TracTickets for help on using
tickets.
This is a Trac issue that is fixed in milestone:1.0.2. Please upgrade.