IT WORKS!!
Actually, there was a mistake in the TicketBox.py code :
Line 138 :
"if show_summary:
html = string.join([wiki_to_oneliner("%s (#%d)" % (v,k),
env,
env.get_db_cnx()
req=formatter.req) for k,v in
long_items.iteritems()], "<br>")"
After " env.get_db_cnx()", the coma had been forgotten.
I put one and, surprise, it worked immediatly.
I'm going to signal this to the author of the plugin.
Thanks for your help.
Eleonore
-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la part de
Eleonore DUVELLE
Envoyé : mercredi 11 juin 2008 09:22
À : [email protected]
Objet : [Trac] Re: Installation of ticketBox plugin
>>Hi to all,
>>
>>
>>
>>I 'm trying to install the ticketBox plugin on my Trac 0.11b2 version.
>>I've followed the instructions on this page
(http://trac->>hacks.org/wiki/TicketBoxMacro) : just copy the .py file
in my plugin >>directory.
>>
>>Then I restart Trac and try to use the macro on my wiki start page,
but >>I've got an error like 'there is no ticketBox macro'.
>>
>>
>>
>>Do you think I have to restart my Apache server ?
>>
>>
>>
>>Config :
>>
>>- windows XP
>>
>>- apache 2.2
>>
>>- python 2.5
More precisely, when I write "[[TicketBox(1)]]" in the wiki, I have the
error :
'Error: Failed to load processor TicketBox
No macro or processor named 'TicketBox' found'
>The macro would be called "TicketBox". Check the Trac log to see if it
is >loading.
>
>--Noah
>
Thanks for your answer, but please can you tell me how to check the log?
I searched in the folder 'log' in my trac environment (I just have one)
but there's nothing in there..
>Did you installed the macro into shared system-wide plugin directory?
>If so, try placing TicketBox.py to plugins folder which each project
>(trac environment) has.
># Then restart trac
>
>P.S.
>The description of installation in TicketBox wiki page may wrong about
>system-wide installation of such a "single-file-plugin".
>
>--
>Shun-ichi GOTO
Thanks too, but I've directly copied the ticketBox.py file in the
'plugin' folder of my environment (I only have one environment).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---