Proposal for TurboGears2 port

Dominik Ruf dominikruf at gmail.com
Thu Jan 28 16:17:24 UTC 2016


I gave it shot but failed :-(

The first thing were the requirements.
Like you said I had to add some requirements to the setup.py.
"zope.interface" and "repoze.who"
But I don't understand why these are not installed as dependencies of 
turbogeards?

After adding these two dependencies kallithea started.
But when trying to open the root page I got 

...
  File "C:\workspaces\kallithea\kallithea\lib\base.py", line 462, in 
__call__
    return super(BaseController, self).__call__(environ, context)
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\controllers\dispatcher.py", line 128, in __call__
    response = self._perform_call(context)
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\controllers\dispatcher.py", line 109, in _perform_call
    r = self._call(func, params, remainder=remainder, context=context)
  File "C:\workspaces\kallithea\kallithea\lib\base.py", line 468, in 
_call
    return super(BaseController, self)._call(controller, params, 
remainder, context)
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\controllers\decoratedcontroller.py", line 121, in _call
    output = controller_caller(context_config, 
bound_controller_callable, remainder, params)
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\decorators.py", line 44, in _decorated_controller_caller
    return application_controller_caller(tg_config, controller, 
remainder, params)
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\configuration\app_config.py", line 127, in call_controller
    return controller(*remainder, **params)
  File "<string>", line 2, in index
  File "C:\workspaces\kallithea\kallithea\lib\auth.py", line 793, in 
__wrapper
    return func(*fargs, **fkwargs)
  File "C:\workspaces\kallithea\kallithea\controllers\home.py", line 70, 
in index
    return render('/index.html')
  File "C:\workspaces\kallithea\kallithea\lib\base.py", line 66, in 
render
    return render_template({'url': url}, 'mako', template_path)
  File "C:\workspaces\kallithea-venv2\lib\site-packages\tg\render.py", 
line 212, in render
    kwargs['result'] = render_function(template_name, tg_vars, **kwargs)
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\renderers\mako.py", line 126, in __call__
    cache_type=cache_type, cache_expire=cache_expire)
  File "C:\workspaces\kallithea-venv2\lib\site-packages\tg\render.py", 
line 278, in cached_template
    return render_func()
  File "C:\workspaces\kallithea-venv2\lib\site-
packages\tg\renderers\mako.py", line 123, in render_template
    return Markup(template.render_unicode(**template_vars))
  File "C:\workspaces\kallithea-venv2\lib\site-packages\mako-1.0.0-
py2.7.egg\mako\template.py", line 452, in render_unicode
    as_unicode=True)
  File "C:\workspaces\kallithea-venv2\lib\site-packages\mako-1.0.0-
py2.7.egg\mako\runtime.py", line 803, in _render
    **_kwargs_for_callable(callable_, data))
  File "C:\workspaces\kallithea-venv2\lib\site-packages\mako-1.0.0-
py2.7.egg\mako\runtime.py", line 835, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "C:\workspaces\kallithea-venv2\lib\site-packages\mako-1.0.0-
py2.7.egg\mako\runtime.py", line 860, in _exec_template
    callable_(context, *args, **kwargs)
  File "_base_root_html", line 195, in render_body
  File "_index_html", line 63, in render_header_menu
  File "_base_base_html", line 602, in render_menu
AttributeError: 'str' object has no attribute 'landing_rev'
2016-01-28 17:13:23.398 ERROR [waitress] Exception when serving /
...




More information about the kallithea-general mailing list