Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12109 closed defect (duplicate)

AttributeError: NullTranslationsBabel instance has no attribute 'isactive'

Reported by: admin Owned by:
Priority: normal Milestone:
Component: general Version: 1.0
Severity: normal Keywords:
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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36

System Information

Trac 1.0
Babel 1.3 (translations unavailable)
Genshi 0.7 (without speedups)
MySQL server: "5.1.73", client: "5.1.73", thread-safe: 1
MySQLdb 1.2.3c1
Python 2.6.6 (r266:84292, Jan 22 2014, 09:37:14)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
pytz 2010h
setuptools 0.6
jQuery 1.7.2

Enabled Plugins

TracCustomFieldAdmin 0.2.12

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 179, in dispatch
    chosen_handler)
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py", line 325, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/versioncontrol/api.py", line 340, in pre_process_request
    if is_default(reponame):
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/versioncontrol/api.py", line 34, in is_default
    return not reponame or reponame in ('(default)', _('(default)'))
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/util/translation.py", line 195, in gettext
    if not self.isactive:
  File "/usr/lib/python2.6/site-packages/Trac-1.0-py2.6.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 (2)

comment:1 by Jun Omae, 9 years ago

Resolution: duplicate
Status: newclosed

Many duplicates of #11345. Please search tickets befere submitting a new ticket.

Last edited 9 years ago by Jun Omae (previous) (diff)

comment:2 by Jun Omae, 9 years ago

That issue has been fixed in Trac 1.0.2. Please upgrade to Trac 1.0.2 or later.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.