Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12180 closed defect (duplicate)

AttributeError: NullTranslationsBabel instance has no attribute 'isactive'

Reported by: petros 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 /admin/general/plugin, Trac issued an internal error.

Ubuntu 14.04, apt-get installed trac 1.0.1 (as is the default), genshi 1.3 (as is the default),

just enabled the accountmanager plugin (apt-get installed, default version), and everything gone black. :)

http://trac.edgewall.org/ticket/10903#comment:5 applied by hand (yikes), trac still fails.

14.04 is an lts version, so I don't want to tweak anything, just use it as is, as long as it is. If there must be a backport, please patch the 1.0.1 or update the package in the ubuntu repo. Thank you.

Request parameters:

{'cat_id': u'general', 'panel_id': u'plugin', 'path_info': None}

User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

System Information

Trac 1.0.1
Trac 1.0.1
Babel 1.3
Docutils 0.11
Genshi 0.7 (with speedups)
mod_python 3.3.1
Pygments 1.6
pysqlite 2.6.0
Python 2.7.6 (default, Jun 22 2015, 18:01:27)
[GCC 4.8.2]
Python 2.7.6 (default, Jun 22 2015, 18:01:27)
[GCC 4.8.2]
pytz 2012c
pytz 2012c
setuptools 3.3
setuptools 3.3
SQLite 3.8.2
Subversion 1.8.8 (r1568071)
jQuery 1.7.2

Enabled Plugins

DiaVisViewPlugin 0.1
graphviz 0.7.5
icalview 0.4
Roadmap-Plugin 0.4.1
sensitivetickets 0.21
Trac-jsGantt 0.9
TracAccountManager 0.4.3

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 179, in dispatch
    chosen_handler)
  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 325, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.7/dist-packages/trac/versioncontrol/api.py", line 340, in pre_process_request
    if is_default(reponame):
  File "/usr/lib/python2.7/dist-packages/trac/versioncontrol/api.py", line 34, in is_default
    return not reponame or reponame in ('(default)', _('(default)'))
  File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 195, in gettext
    def _gettext():
  File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 190, in __getattr__
    
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 9 years ago

Milestone: translations
Resolution: duplicate
Status: newclosed

A duplicate of #11345. That has been fixed in 1.0.2.

in reply to:  description comment:2 by Jun Omae, 9 years ago

14.04 is an lts version, so I don't want to tweak anything, just use it as is, as long as it is. If there must be a backport, please patch the 1.0.1 or update the package in the ubuntu repo. Thank you.

You should report to package maintainers of trac in Ubuntu.

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.