On Tue, Sep 14, 2010 at 7:50 AM, <[email protected]> wrote: > > On Tue, 14 Sep 2010 07:57:56 +0200, Erik Andersson <[email protected]> > wrote: > > On Tue, Sep 14, 2010 at 7:30 AM, <[email protected]> wrote: > > > >> > >> Hi! > >> > >> I would like to try to add some Flash video to wiki pages, like a > >> screencast guide. I tried with FlashEmbedMacro plugin, but > unsuccessully. > >> > >> I've done these steps: > >> > >> # easy_install -U setuptools > >> # easy_install http://trac-hacks.org/svn/flashembedmacro/ > >> > >> Next, I went to my project conf/trac.ini and added a [component] > section > >> with the following content > >> > >> [components] > >> racflashembed.macros.embedmacro = enabled > >> tracflashembedmacro = enabled > >> > >> Finally, I edited a page in my project and added the following tag > >> > >> [[Embed(youtube=nr8pwkuTyig)]] > >> > >> However instead of seeing the video, on the page I see: > >> > >> Embed(youtube=nr8pwkuTyig)? > >> > >> I've blogged about it with more details and syntax highlight here > >> http://www.stefanolocati.it/blog/?p=666 > >> > >> Anyone can tell me what I'm doing wrong? > >> > > Trac version? Any other system information? > > Thank you Erik. Trac version is 0.12 on a Linux Ubuntu 10.04 > Note that the FlashEmbedMacro is a 0.11 version. I've not upgraded to 0.12 yet myself, so maybe someone else is better to respond on issues with 0.11 plugins on Trac 0.12.
> > > Is the plugin loading? Anything else useful in the logs?b ( > > http://trac.edgewall.org/wiki/TracLogging) > > Ok, so I've enabled file logging and it works the file starts with > > 2010-09-14 08:00:50,382 Trac[env] INFO: -------------------------------- > environment startup [Trac 0.12] -------------------------------- > 2010-09-14 08:00:50,408 Trac[loader] DEBUG: Loading trac.about from > /usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg > 2010-09-14 08:00:50,408 Trac[loader] DEBUG: Loading trac.admin.console > from /usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg > [...] > > Since is long I grep it, and I've no results. So you're right the plugin > is not loading. > > $ grep -i flash trac.log > $ > > Btw, in the original post I had a spelling error, that I then fixed. > > [components] > - racflashembed.macros.embedmacro = enabled > + tracflashembed.macros.embedmacro = enabled > Did you also have this spelling error in trac.ini? If so, did you restart your frontend after update? > > Ok, so now we know the problem. The plugin is not loading. What should I > do to make it load? Sorry, this is the first Trac plugin I'm trying to > install. > > Thank you! > Stivlo > > -- > 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]<trac-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- 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.
