Hi all,
I just installed the current ExtendedVersionPlugin in a Trac 1.0.1 (Linix)
that was running fine.
In the initial (wiki) page, I now get this message at the top of the page:
* Warning:* Error with navigation contributor "TicketModule"
Any other item I try to access in the navigation bar (e.g., Tickets,
Timeline) fail with:
AttributeError: NullTranslationsBabel instance has no attribute
'isactive'
I checked the Trac issue list (via the link provided in the page when the
error occurs), but was none the wiser.
I am running (The multiple lines are as shown in the error page):
Trac 1.0.1 Trac 1.0.1 Babel 1.3 FullBlog 0.1.1-r0 Genshi 0.7 (with speedups)
mod_python 3.3.1 Pygments 1.6 pysqlite 2.6.0 Python 2.7.3 (default, Apr 14
2012, 08:58:41) [GCC] Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]
pytz 2014.2 pytz 2014.2 RPC 1.1.2-r0 setuptools 3.6 setuptools 3.6 SQLite
3.7.14.1 Subversion 1.7.17 (r1591372) jQuery1.7.2
The Trac log has the following:
2014-06-11 13:10:34,224 Trac[chrome] ERROR: Error with navigation
contributor TicketModule: AttributeError: NullTranslationsBabel instance
has no attribute 'isactive'
2014-06-11 13:16:15,279 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 497, in
_dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.7/site-packages/trac/web/main.py", line 214, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.7/site-packages/trac/timeline/web_ui.py", line
155, in process_request
available_filters += event_provider.get_timeline_filters(req) or []
File "/usr/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 242,
in get_timeline_filters
yield ('ticket', _("Tickets opened and closed"))
File "/usr/lib/python2.7/site-packages/trac/util/translation.py", line
195, in gettext
if not self.isactive:
File "/usr/lib/python2.7/site-packages/trac/util/translation.py", line
190, in __getattr__
return getattr(self.active, name)
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'
I disabled the ExtendedVersionPlugin, but that did not help.
I installed the plugin as follows (including the messages):
# easy_install http://trac-hacks.org/svn/extendedversionplugin/trunk
Downloading http://trac-hacks.org/svn/extendedversionplugin/trunk
Doing subversion checkout from
http://trac-hacks.org/svn/extendedversionplugin/trunk to
/tmp/easy_install-CCe0dO/trunk
Processing trunk
Writing /tmp/easy_install-CCe0dO/trunk/setup.cfg
Running setup.py -q bdist_egg --dist-dir
/tmp/easy_install-CCe0dO/trunk/egg-dist-tmp-dSAvkS
Adding ExtendedVersionPlugin 1.0dev-r13342 to easy-install.pth file
Installed
/usr/lib/python2.7/site-packages/ExtendedVersionPlugin-1.0dev_r13342-py2.7.egg
Processing dependencies for ExtendedVersionPlugin==1.0dev-r13342
Finished processing dependencies for ExtendedVersionPlugin==1.0dev-r13342
# trac-admin /vol1/trac/systems upgrade
Upgrade done.
You may want to upgrade the Trac documentation now by running:
trac-admin /vol1/trac/systems wiki upgrade
# trac-admin /vol1/trac/systems wiki upgrade
TracRss is already up to date
WikiFormatting is already up to date
TracTimeline is already up to date
TracWorkflow is already up to date
TracEnvironment is already up to date
TracTickets is already up to date
TracModWSGI is already up to date
WikiProcessors is already up to date
WikiPageNames is already up to date
WikiDeletePage is already up to date
TracLogging is already up to date
TracSupport is already up to date
TracQuery is already up to date
TitleIndex is already up to date
TracModPython is already up to date
TracNotification is already up to date
TracBrowser is already up to date
TracLinks is already up to date
InterTrac is already up to date
TracBatchModify is already up to date
TracSyntaxColoring is already up to date
WikiNewPage is already up to date
CamelCase is already up to date
TracTicketsCustomFields is already up to date
TracUpgrade is already up to date
TracUnicode is already up to date
TracGuide is already up to date
TracPermissions is already up to date
TracFineGrainedPermissions is already up to date
TracRoadmap is already up to date
RecentChanges is already up to date
TracChangeset is already up to date
TracNavigation is already up to date
WikiMacros is already up to date
WikiRestructuredText is already up to date
TracFastCgi is already up to date
TracAdmin is already up to date
WikiHtml is already up to date
TracWiki is already up to date
TracRevisionLog is already up to date
TracCgi is already up to date
InterMapTxt already exists
PageTemplates is already up to date
TracIni is already up to date
TracSearch is already up to date
TracReports is already up to date
TracRepositoryAdmin is already up to date
WikiRestructuredTextLinks is already up to date
InterWiki is already up to date
TracAccessibility is already up to date
TracStandalone is already up to date
TracInstall is already up to date
SandBox is already up to date
TracImport is already up to date
TracInterfaceCustomization is already up to date
TracBackup is already up to date
TracPlugins is already up to date
--
Roger Oberholtzer
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.