-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28.06.2013 11:20, ini wrote: > Am Dienstag, 25. Juni 2013 22:42:34 UTC+2 schrieb Steffen Hoffmann: > > Hello, > > your email clients quotation support is seriously flawed, trying to > redo > correctly here. > > Sorry, i don't know where to change this, i send a request for this group with my first email account but i sign in with my google email account.
Never mind, seems like Thunderbird is getting it wrong here. However, much better now without top-posting - thanks for taking care. On 25.06.2013 08:45, ini wrote: > Am Montag, 24. Juni 2013 20:51:45 UTC+2 schrieb Steffen Hoffmann: >> If you mention different files here, ITemplateProvider might not be >> implemented in the same class as the request handler, but exactly this >> must be done, you see? > > I implement the ITemplateProvider only in the first (main.py) file, in > the tracdeveloperplugin it is also implemented only in the main.py. Now > i implement it also in the second (designflow.py) file but it is still > not working. Hm, you'll have to learn about the difference of classes vs. modules. What I wanted to tell is, that ITemplateProvider must be implemented by the same class, that wants to serve static content, like an IRequestHandler [1]. >>> A DEBUG log of the request to <env>/support/designflow could help >>> too, sure. >> Here is the log file: > ... >> It seems for me like the designflow request is sending by the >> server but the py file is not reacting. >> Do i think wrong? What is the problem with this plugin? > >> I can only see reception of the request and no error processing it at >> Trac's side. It would take at least a few (self.)env.log.debug() >> statements in the plugin code to make sure it is really executed as >> intended. >> > I'm a beginner in python and trac as well. The next days i will try to > figure out how to implement this statements, then hopefully i can say > more about my problem or maybe solve it finally. > Can you recommend me an another plugin which i can refer to as a help? Sure, there are a lot, as the PluginDevelopment wiki page [1] mentioned before points out. Well, for a not too complicated example you could look at CcSelectorPlugin [2]. Cautiously reading existing code not taking everything for perfect at first sight you'll be able to learn a lot. Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.web.api.IRequestHandler [2] https://trac-hacks.org/browser/ccselectorplugin/trunk/cc_selector/cc_selector.py -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlHODukACgkQ31DJeiZFuHfkLwCgoQhP39CPNLstftD4qpoTvSO3 zPkAnRKIuX06OuPdh0p9YYq/fdW7eoDa =yTYf -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Development" 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-dev. For more options, visit https://groups.google.com/groups/opt_out.
