-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 15.11.2011 18:38, schrieb Chris Nelson: > This may be more of a Python question than Trac but hopefully you > don't mind too much. > > ... > > And tracpm.py has: > > class ITaskScheduler(Interface): ... class TracPM(Component): ... > > But when I build and run that, I get > > Internal Server Error > > TracError: NameError: name 'ITaskScheduler' is not defined > > ... > > Specific advise or reference to a tutorial or clear working example > would be most welcome.
Well, most probably you already know about Trac's component architecture [1]. It holds a number of examples, and there is the growing ExtensionPoint reference [2]. Besides, there is a work-in-progress for complete, auto-generated API docs too [3], if you're looking for a specific class/method. Apart from that, all I know comes from reading Trac and Trac plugin source, Python online documentation [4] and searching the web, with the mailing-list archives of th-users [5] and trac-dev [6] (well here we are just now) as well as StackOverflow [7] standing out as exceptional good resources for reading as well as asking own questions. Yours, Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture [2] http://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints [3] http://trac.edgewall.org/wiki/TracDev/ApiDocs [4] http://docs.python.org [5] http://www.mail-archive.com/th-users@lists.trac-hacks.org/ [6] http://groups.google.com/group/trac-dev/ [7] http://stackoverflow.com/questions/tagged/trac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7C3CUACgkQ31DJeiZFuHe0iACgtLuEjNOCCKic鳆싓 K5YAn00575VUxG3IYrIE3FZ/20OojwGD =iGkK -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.