Hi,

I'm definitely a newbie in Trac. Pardon my question.

I'm trying to create a Component based on this article/page:
http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture

My problem is an error is returned once I run the module. Python says
that ComponentManager is not defined.

Here's the code:

-------------------------------------------------

from trac.core import *

class MyComponent(Component):
    pass

myComponentManager = ComponentManager()
myComponent = MyComponent(myComponentManager)

-------------------------------------------------

I'm wondering if I need to relocate/build/install something first. By
the way, I'm already done installing my Trac page in http://localhost/Trac
that's why I don't think it's a problem in my Trac installation/setup.

I hope to hear a reply from you guys. Thanks! (^_^)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to