Incompatibility with released kallithea 0.3.3 and mako 1.0.0

Kai Henning Koch henning.koch.mobile at googlemail.com
Tue Jan 2 20:31:32 UTC 2018


Happy New 2018 to you all,

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:
#168: variables implicitly passed to block cause unexpected error for
def
<http://query402.rssing.com/browser.php?indx=6400379&last=1&item=14>(see
http://query402.rssing.com/chan-6400379/latest.php).

The 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.

Best

Error - <type 'exceptions.TypeError'>: render_title() got an unexpected keyword argument 'c'
URL: https://xxx.xxx.xx.x/code/foo/bar/changeset/1bff0ef43a614aeac22764485d48a92f50a596bb
File '.../env/local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__
  app_iter = self.application(environ, sr_checker)
File '.../env/local/lib/python2.7/site-packages/kallithea/lib/middleware/sessionmiddleware.py', line 62 in __call__
  return self.wrap_app(environ, session_start_response)
File '.../env/local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '.../env/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 103 in __call__
  response = self.dispatch(controller, environ, start_response)
File '.../env/local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 313 in dispatch
  return controller(environ, start_response)
File '.../env/local/lib/python2.7/site-packages/kallithea/lib/base.py', line 446 in __call__
  return WSGIController.__call__(self, environ, start_response)
File '.../env/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 214 in __call__
  response = self._dispatch_call()
File '.../env/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 164 in _dispatch_call
  response = self._inspect_call(func)
File '.../env/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
  result = self._perform_call(func, args)
File '.../env/local/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call
  return func(**args)
File '<decorator-gen-3>', line 2 in index
File '.../env/local/lib/python2.7/site-packages/kallithea/lib/auth.py', line 810 in __wrapper
  return func(*fargs, **fkwargs)
File '<decorator-gen-2>', line 2 in index
File '.../env/local/lib/python2.7/site-packages/kallithea/lib/auth.py', line 857 in __wrapper
  return func(*fargs, **fkwargs)
File '.../env/local/lib/python2.7/site-packages/kallithea/controllers/changeset.py', line 326 in index
  return self._index(revision, method=method)
File '.../env/local/lib/python2.7/site-packages/kallithea/controllers/changeset.py', line 314 in _index
  return render('changeset/changeset.html')
File '.../env/local/lib/python2.7/site-packages/pylons/templating.py', line 244 in render_mako
  cache_type=cache_type, cache_expire=cache_expire)
File '.../env/local/lib/python2.7/site-packages/pylons/templating.py', line 219 in cached_template
  return render_func()
File '.../env/local/lib/python2.7/site-packages/pylons/templating.py', line 241 in render_template
  return literal(template.render_unicode(**globs))
File '.../env/local/lib/python2.7/site-packages/mako/template.py', line 452 in render_unicode
  as_unicode=True)
File '.../env/local/lib/python2.7/site-packages/mako/runtime.py', line 803 in _render
  **_kwargs_for_callable(callable_, data))
File '.../env/local/lib/python2.7/site-packages/mako/runtime.py', line 835 in _render_context
  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File '.../env/local/lib/python2.7/site-packages/mako/runtime.py', line 855 in _exec_template
  _render_error(template, context, compat.exception_as())
File '.../env/local/lib/python2.7/site-packages/mako/runtime.py', line 864 in _render_error
  result = template.error_handler(context, error)
File '.../env/local/lib/python2.7/site-packages/pylons/error.py', line 22 in handle_mako_error
  raise (exc, None, sys.exc_info()[2])

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20180102/7ad3dcbf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20180102/7ad3dcbf/attachment.sig>


More information about the kallithea-general mailing list