Re: [Trac] Ticket Template not working in 1.5.3

Ryan Ollos <[email protected]> Thu, 29 Aug 2024 00:09:50 -0700
Newsgroups gmane.comp.version-control.subversion.trac.general
Message-ID <CA+BGpn_aFqqX7ebyyZdDMQHCZV_gZcVwEdb88FF2b8mUcUh-fQ@mail.gmail.com>
On Thu, Aug 29, 2024 at 12:01 AM Daniel Antequera <[email protected]>
wrote:

> Hi,
>
> I want to migrate a few projects from a Trac server (1.2.2), to another
> Trac (1.5.3), I have managed to migrate them, but the problems come with
> the plugins, especially with the Ticket Template plugin, which is giving me
> this error:
>
> 2024-08-29 10:51:00,765 Trac[loader] ERROR: Skipping "tickettemplate =
> tickettemplate.ttadmin": ImportError: cannot import name
> 'ITemplateStreamFilter' from 'trac.web.api'
> (/usr/lib/python3/dist-packages/trac/web/api.py)
>
> I recently had a bug with ITemplateStreamFilter with another plugin, but I
> can't get this one to work.
>
> What is happening and how do I make it work?
>

See
https://trac.edgewall.org/wiki/TracDev/PortingFromGenshiToJinja#ReplacingITemplateStreamFilter

-- 
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CA%2BBGpn_aFqqX7ebyyZdDMQHCZV_gZcVwEdb88FF2b8mUcUh-fQ%40mail.gmail.com.