Danny MacMillan wrote: > Hi, > > I have written a number of macros extending the WikiMacroBase class and > put them all in a single file named 'macros.py'. When I put the > macros.py file in the plugins directory inside a trac environment, the > macros work. When I put them in /usr/local/share/trac/plugins the > macros no longer work -- I get a `No macro or processor named > 'MacroName' found`. > > At first I thought a configuration issue was preventing trac from > reading the files in the shared plugins directory at all, but with > debugging enabled this is the very first line printed in the log file: > > 2007-03-27 17:36:11,708 Trac[loader] DEBUG: Loading file plugin macros > from /usr/local/share/trac/plugins/macros.py > > Any ideas? > > The environment: > > FreeBSD 6.2-RELEASE-p2, Apache 2.0.59, mod_fcgid-2.0, and Trac 0.10.3 as > I mention earlier. All installed from the FreeBSD ports system. Trac > was initially installed from 0.9.something and subsequently upgraded, > also using the ports system. > > Thanks, > > Plugins in the local folder are automatically enabled, while global ones are not. Try adding 'macros.* = enabled' in the [components] section of trac.ini.
--Noah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
