<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/02/2018 09:31 PM, Kai Henning
Koch wrote:<br>
</div>
<blockquote type="cite"
cite="mid:606be3e4-6306-822e-21a5-256f722afb2f@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p><tt>Happy New 2018 to you all, <br>
</tt></p>
<p><tt>just would like to let you know. On a fresh minimal
installation, but on top of existing data (etc and repos) from
a previous 0.1 installation inside virtualenv, I may have
stumbled across an incompatibility towards the by default
deployed package mako 1.0.0. Downgrading to 0.9.0 however
seems to work. Clicking any commit message inside the web-view
results in an 500 Internal server error. Following the
backtrace (see below). My first suspicion is that this error
might be closely related to this ticket in mako: </tt><tt><br>
</tt><tt><a
href="http://query402.rssing.com/browser.php?indx=6400379&last=1&item=14"
moz-do-not-send="true">#168: variables implicitly passed to
block cause unexpected error for def</a></tt><tt> (see <a
class="moz-txt-link-freetext"
href="http://query402.rssing.com/chan-6400379/latest.php"
moz-do-not-send="true">http://query402.rssing.com/chan-6400379/latest.php</a>).
</tt><tt><br>
</tt></p>
<p><tt>The </tt><tt>installation is on a stock Bananian 16.04 on
an A20 BananaPi. I will be happily providing more information
if necessary. Just let me know. <br>
</tt></p>
<p><tt>Best<br>
</tt></p>
<pre class="moz-signature" cols="72">Error - <type 'exceptions.TypeError'>: render_title() got an unexpected keyword argument 'c'
URL: <a class="moz-txt-link-freetext" href="https://xxx.xxx.xx.x/code/foo/bar/changeset/1bff0ef43a614aeac22764485d48a92f50a596bb" moz-do-not-send="true">https://xxx.xxx.xx.x/code/foo/bar/changeset/1bff0ef43a614aeac22764485d48a92f50a596bb</a>
</pre>
</blockquote>
<br>
<br>
<tt>Mako 1.0.0 is more than 3 years old (
<a class="moz-txt-link-freetext" href="https://pypi.python.org/pypi/Mako/1.0.0">https://pypi.python.org/pypi/Mako/1.0.0</a> ) and is listed explicitly
as the max version supported by Kallithea 0.3.3 ... and also by
Kallithea 0.1 . It also seems to work fine in most other places.<br>
<br>
I think the problem is elsewhere.<br>
<br>
</tt><tt>Between 0.1 and 0.3.3, title handling changed in our Mako
templates. But I don't see anywhere in either version where a keyword
'c' is passed.<br>
<br>
Perhaps try a clean test installation next to the old one to
verify that it can work and to get something you can compare with.<br>
<br>
Perhaps try to clean the cache_dir (especially templates, usually
"data/templates").<br>
<br>
/Mads<br>
</tt>
</body>
</html>