Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11781 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:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /logout, 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/37.0.2062.0 Safari/537.36

System Information

Trac 1.0.1
Babel 1.3
Genshi 0.7 (without speedups)
Pygments 1.6
pysqlite 2.6.0
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]
pytz 2014.7
setuptools 5.8
SQLite 3.6.21
jQuery 1.7.2

Enabled Plugins

tracpaththeme 1.0
tracthemeengine 2.2.1

Python Traceback

Traceback (most recent call last):
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\trac\web\main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\trac\web\main.py", line 179, in dispatch
    chosen_handler)
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\trac\web\main.py", line 325, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\trac\versioncontrol\api.py", line 340, in pre_process_request
    if is_default(reponame):
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\trac\versioncontrol\api.py", line 34, in is_default
    return not reponame or reponame in ('(default)', _('(default)'))
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\trac\util\translation.py", line 195, in gettext
    if not self.isactive:
  File "c:\users\admini~1\appdata\local\temp\easy_install-ynvhvb\Trac-1.0.1-py2.7-win32.egg.tmp\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 Jun Omae, 10 years ago

Resolution: duplicate
Status: newclosed

A duplicate of #10903. Try to downgrade Babel 0.9.6.

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

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.