Modify ↓
Opened 10 years ago
Closed 10 years ago
#11726 closed defect (duplicate)
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'
Reported by: | admin | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.0.1 |
Severity: | normal | Keywords: | babel |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{}
User agent: Mozilla/5#0 #Windows NT 6#1; Trident/7#0; SLCC2; #NET CLR 2#0#50727; #NET CLR 3#5#30729; #NET CLR 3#0#30729; Media Center PC 6#0; InfoPath#2; #NET4#0C; #NET4#0E; rv:11#0# like Gecko
System Information
Trac | 1#0#1
|
Babel | 1#3
|
Genshi | 0#7 #without speedups#
|
mod_python | 3#3#1
|
pysqlite | 2#4#1
|
Python | 2#6#6 #r266:84292, May 1 2012, 13:52:17# ##br## #GCC 4#4#6 20110731 #Red Hat 4#4#6-3##
|
pytz | 2014#4
|
setuptools | 0#6c11
|
SQLite | 3#6#20
|
jQuery | 1#7#2
|
Enabled Plugins
Python Traceback
Traceback #most recent call last#: File "build/bdist#linux-x86_64/egg/trac/web/main#py", line 497, in _dispatch_request dispatcher#dispatch#req# File "build/bdist#linux-x86_64/egg/trac/web/main#py", line 179, in dispatch chosen_handler# File "build/bdist#linux-x86_64/egg/trac/web/main#py", line 325, in _pre_process_request chosen_handler = filter_.pre_process_request#req, chosen_handler# File "build/bdist.linux-x86_64/egg/trac/versioncontrol/api.py", line 340, in pre_process_request if is_default#reponame#: File "build/bdist.linux-x86_64/egg/trac/versioncontrol/api.py", line 34, in is_default return not reponame or reponame in #'#default#', _#'#default#'## File "build/bdist.linux-x86_64/egg/trac/util/translation.py", line 195, in gettext if not self.isactive: File "build/bdist.linux-x86_64/egg/trac/util/translation.py", line 190, in __getattr__ return getattr#self.active, name# AttributeError: NullTranslationsBabel instance has no attribute 'isactive'
Attachments (0)
Change History (1)
comment:1 by , 10 years ago
Keywords: | babel added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
A duplicate of #10903, also that issue has been fixed in forthcoming Trac 1.0.2. Otherwise, please downgrade to Babel 0.9.6.