Opened 8 years ago

Closed 8 years ago

#12104 closed defect (cantfix)

AttributeError: NullTranslationsBabel instance has no attribute 'isactive'

Reported by: bdan12@… Owned by: Steffen Hoffmann
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0


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/", line 497, in _dispatch_request
  File "/usr/lib/python2.7/dist-packages/trac/web/", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.7/dist-packages/trac/admin/", line 89, in process_request
    panels, providers = self._get_panels(req)
  File "/usr/lib/python2.7/dist-packages/trac/admin/", line 169, in _get_panels
    p = list(provider.get_admin_panels(req) or [])
  File "build/bdist.linux-i686/egg/acct_mgr/", line 196, in get_admin_panels
    yield ('accounts', _("Accounts"), 'config', _("Configuration"))
  File "/usr/lib/python2.7/dist-packages/trac/util/", line 290, in <lambda>
    return lambda *args, **kw: _functions[symbol](domain, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/trac/util/", line 202, in dgettext
    if not self.isactive:
  File "/usr/lib/python2.7/dist-packages/trac/util/", line 190, in __getattr__
    return getattr(, name)
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Ryan J Ollos

Resolution: cantfix
Status: newclosed

This is a Trac issue that is fixed in milestone:1.0.2. Please upgrade.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.