On 2022/10/19 21:12, Roger Oberholtzer wrote:
> Shouldn't it be enough to disable it in the Trac admin page? Seems
> not. I have disabled it and the pages now load.
> 
>>   File 
>> "/usr/lib/python3.10/site-packages/TracCollapsiblePlugin-0.1-py3.10.egg/traccollapsible/__init__.py",
>>  line 29, in <lambda>
>>     TracError.__str__ = lambda self: unicode(self).encode('ascii', 'ignore')
>> NameError: name 'unicode' is not defined
> 
> The thing is, this plugin is not used on this page. And, at the places
> it is used, it is working fine. And all other pages work. Just not
> these three. No matter. I have sorted the issue. I just don't
> understand how it presents itself...

The root cause is monkey patch from the plugin. The monkey patch is invoked
even if disabling the plugin. Uninstall the plugin rather than disable.

It has been filed in https://trac-hacks.org/ticket/14162.

> Isn't there a new Trac facility for doing this? I see there is a
> FoldMacroProcessorMacro. Maybe that's it. It seems to do what I need.
> So I will convert to using this.

I don't know.

-- 
Jun Omae <jun6...@gmail.com> (大前 潤)

-- 
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/3823a8e6-885b-3ed3-18d3-3837dc8ac203%40gmail.com.

Reply via email to