anatoly techtonik wrote:
<mucho snip>
> Do not pay attention in __main__ - the plugin is placed into
> corresponding environment directory and is loaded by Trac, but doesn't
> get the properties like other plugins without trac.env imports that I
> have implementing IWikiSyntaxProvider interface. 80% that the problem
> is related to the instantiation of CacheManager component without
> environment and ComponentMeta registry. I am investigating the details
> right now.

I apologize if this message doesn't really fit, but hopefully this info 
helps.

First, logging is a feature of the Environment Component Manager, not of 
Component Manager itself.  Take a look at:

http://trac.edgewall.org/browser/trunk/trac/env.py#L203

and

http://trac.edgewall.org/browser/trunk/trac/core.py#L210


Second, due to this, Environment is the only component manager used in 
Trac.  I agree with Noah, osimons, and Remy, that if you're 
instantiating you own ComponentManager object, then you're doing it wrong.

Why is it that you need another ComponentManager?

-John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to