Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38002 - [trac] Fix AttributeError: 'NullTranslations' object has no attribute 'add'

Attached to Project: Community Packages
Opened by Jonathan Liu (net147) - Wednesday, 04 December 2013, 04:50 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 04 December 2013, 12:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
trac-admin command fails with:
Traceback (most recent call last):
File "/usr/bin/trac-admin", line 9, in <module>
load_entry_point('Trac==1.0.1', 'console_scripts', 'trac-admin')()
File "/usr/lib/python2.7/site-packages/trac/admin/console.py", line 567, in run
translation.activate(locale)
File "/usr/lib/python2.7/site-packages/trac/util/translation.py", line 325, in activate
translations.activate(locale, env_path)
File "/usr/lib/python2.7/site-packages/trac/util/translation.py", line 152, in activate
t.add(Translations.load(locale_dir, locale or 'en_US',
AttributeError: 'NullTranslations' object has no attribute 'add'

Additional info:
* trac 1.0.1-6
* http://trac.edgewall.org/ticket/10903

Steps to reproduce:
trac-admin

Patch to fix the issue:
http://trac.edgewall.org/changeset/11783?format=diff&new=11783
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 04 December 2013, 12:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  patch applied

Loading...