Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Ticket Template not working in 1.5.3

28 views
Skip to first unread message

Daniel Antequera

unread,
Aug 29, 2024, 3:01:32 AM8/29/24
to Trac Users
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?

Ryan Ollos

unread,
Aug 29, 2024, 3:10:14 AM8/29/24
to trac-...@googlegroups.com

Jun Omae

unread,
Aug 29, 2024, 3:24:18 AM8/29/24
to trac-...@googlegroups.com, dantequ...@gmail.com
Hi,

It seems no one reports that issue on trac-hacks.org. Could you please create new ticket about the issue via https://trac-hacks.org/newticket?component=TracTicketTemplatePlugin ?

Also, investigating tickettemplate/ttadmin.py quickly, I think we could make the plugin not require the ITemplateStreamFilter interface.

BTW, why are you using Trac 1.5.3, not 1.6? I'd suggest using 1.6.
--
Jun Omae <jun...@gmail.com> (大前 潤)

Jun Omae

unread,
Aug 29, 2024, 5:28:44 AM8/29/24
to trac-...@googlegroups.com, dantequ...@gmail.com
I've filed it at https://trac-hacks.org/ticket/14355 and pushed
changes to support Trac 1.6 and Python 3.
Please try the latest of
https://trac-hacks.org/svn/tractickettemplateplugin/1.0.
Reply all
Reply to author
Forward
0 new messages