On Friday, January 1, 2021 at 6:30:56 AM UTC-8 Clemens Feige wrote:

> Hello and Happy New Year. 
>
> Are there any plans to make TracBackLinkPlugin compatible to Trac 1.4? 
>
> https://trac-hacks.org/wiki/TracBackLinkPlugin 
>
> We are currently planning migration from TRAC 1.2 to TRAC 1.4. But 
> unfortunately it seems that the TracBackLinkPlugin is not compatible to 
> 1.4. 
>
> Shall I raise a ticket on that matter? 
>
> We really much appreciate this plugin. The back-reference are a great 
> enhancement because it helps to find important context information. 
> Without this plugin we would be forced to stick with Trac 1.2. 
>
> After installing the plugin in Trac 1.4 and running the upgrade command 
> the following error appears: 
>
> "trac-admin [snip] upgrade" fails due to "TypeError: 
> environment_needs_upgrade() takes exactly 2 arguments (1 given)" 
>
> I already learned that this is due to API changes in Trac 1.3, where the 
> db parameter has been removed from 
> IEnvironmentSetupParticipant.environment_needs_upgrade() in [14888]. 
> Furthermore, I inspected the plugin code and found a bunch of import 
> statements for the deprecated Genshi templates. 
> However, unfortunately I cannot do much, because I neither have 
> knowledge about Python programming nor about Trac programming. 
>
> Any help would be greatly appreciated because we really love this plugin. 
>
> best regards 
> Clemens 
>

Yeah, it will take some work to make the plugin compatible with Jinja2 
template. The HTML injection needs to be ported to JavaScript. I hope to 
use the plugin in a Trac 1.4 installation within the next 2 months, so I 
may make a patch if it's not ported before then.
https://trac-hacks.org/ticket/13619#comment:1 

Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/52865201-cd93-4a4f-8bc8-58695fbfefa9n%40googlegroups.com.

Reply via email to