<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 29, 2016 at 9:19 PM, Thomas De Schampheleire <span dir="ltr"><<a href="mailto:patrickdepinguin@gmail.com" target="_blank">patrickdepinguin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
> Currently, paster is still used. I briefly tried using gearbox (the<br>
> supposed replacement) but it did not work. I did not spend more time<br>
> on that to focus on the rest, but it should be tackled at some point.<br></span></blockquote><div><br></div><div>Switching to gearbox should be relatively easy, I'll try to check the reason in the next days.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
> Other stuff like 'debugbar' also seems very useful, but did not work<br>
> out of the box either.<br></span></blockquote><div><br></div><div>Issue is that the debugbar, like most TG applications, uses the dotted notation for template files.</div><div>Which in Kallithea is disabled because kallithea renders templates as '/filename.html' instead of 'kallithea.filename'.</div><div><br></div><div>Using the debugbar would require the dotted template engine resolution, which can't be enabled because the mako renderer in TG doesn't support mixing the two syntaxes.</div><div>Other renderers like the genshi one are smarter and allow mixing path and dotted notations inside same project, but as the mako was one of the less used on TurboGears it is not as refined as the others.</div><div><br></div><div>I can probably fix this by subclassing the mako renders in Kallithea and providing a custom renderer that supports both syntaxes.</div><div><br></div></div></div></div>