On Tue, Nov 24, 2020 at 5:29 AM ONeal Freeman wrote:
> I use bitnami stack as a matter of speed and convenience. I had a
> catastrophic failure on a server that hosts our trac. So after the server
> was back online I installed that latest bitnami stack. It is version 1.5.1.
> - I created my environment, copied by backup into the newly created
> environment overwriting the default files.
> - I ran trac-admin upgrade with no errors.
> - I ran trac-admin wiki upgrade with no errors.
> When I launch the site I am getting the following error:
> File "e:\trac\knowledgebase\templates\layout.html", line 8, in top-level
> template code ${select('title/text()')} UndefinedError:
> 'select' is undefined
>
> Any help is greatly appreciated.
>
That's a Genshi template. The new templating engine is Jinja2, so you'll
need to convert the template:
https://trac.edgewall.org/wiki/TracUpgrade#Jinja2isthenewtemplateengine
https://trac.edgewall.org/wiki/TracDev/Proposals/Jinja
https://trac.edgewall.org/wiki/TracDev/Proposals/Jinja/TracInterfaceCustomization
https://trac.edgewall.org/wiki/TracDev/PortingFromGenshiToJinja#Changesinthetemplatesyntax
https://trac.edgewall.org/wiki/TracDev/PortingFromGenshiToJinja/Example
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/CA%2BBGpn8Kdh4UK6%3D_R3pzG7EtSO-1WQ_Mx8o1fbGrH5L_k59j2w%40mail.gmail.com.