Unable to create trac environment
— at Version 1
Reported by: |
amjad@… |
Owned by: |
|
Priority:
|
normal
|
Milestone:
|
|
Component:
|
general
|
Version:
|
1.0.1
|
Severity:
|
normal
|
Keywords:
|
babel10
|
Cc:
|
|
Branch:
|
|
Release Notes:
|
|
API Changes:
|
|
Internal Changes:
|
|
root@revision-control ~# trac-admin /var/local/trac initenv
Traceback (most recent call last):
File "/usr/local/bin/trac-admin", line 9, in <module>
load_entry_point('Trac==1.0.1', 'console_scripts', 'trac-admin')()
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/admin/console.py", line 567, in run
translation.activate(locale)
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/trac/util/translation.py", line 325, in activate
translations.activate(locale, env_path)
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0.1-py2.7.egg/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'
Change History
(1)
Description: |
modified (diff)
|
Keywords: |
babel10 added; environment removed
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
Version: |
→ 1.0.1
|
A duplicate of #10882, #11345 and #10903. If Trac 1.0.1 with Babel 1.x, the issue raises. Please downgrade to Babel 0.9.6. Also, it has been fixed in 1.0-stable branch.