Unable to navigate to Admin -> Authentication to configure LDAP

Long Vu long.vu at intelerad.com
Tue Mar 21 03:04:58 UTC 2017


I upgraded to 0.3.2 and the error is gone.

Sorry for the noise.


On Mon, Mar 20, 2017 at 3:25 PM, Long Vu <long.vu at intelerad.com> wrote:
> Hi,
>
> We have Kallithea 0.3.
>
> Navigating to Admin -> Authentication gives " WebApp Error: <type
> 'exceptions.TypeError'>: render_title() got an unexpected keyword
> argument 'c' ".
>
> Anyone has seen this error before?
>
> Below is the full stacktrace:
>
>
>
> URL: http://lvudockerhost.intelerad.com:8044/_admin/auth
> Module weberror.errormiddleware:171 in __call__
>>>  app_iter = self.application(environ, sr_checker)
> Module kallithea.lib.middleware.sessionmiddleware:62 in __call__
>>>  return self.wrap_app(environ, session_start_response)
> Module routes.middleware:131 in __call__
>>>  response = self.app(environ, start_response)
> Module pylons.wsgiapp:103 in __call__
>>>  response = self.dispatch(controller, environ, start_response)
> Module pylons.wsgiapp:313 in dispatch
>>>  return controller(environ, start_response)
> Module kallithea.lib.base:446 in __call__
>>>  return WSGIController.__call__(self, environ, start_response)
> Module pylons.controllers.core:214 in __call__
>>>  response = self._dispatch_call()
> Module pylons.controllers.core:164 in _dispatch_call
>>>  response = self._inspect_call(func)
> Module pylons.controllers.core:107 in _inspect_call
>>>  result = self._perform_call(func, args)
> Module pylons.controllers.core:57 in _perform_call
>>>  return func(**args)
> Module kallithea.controllers.admin.auth_settings:98 in index
>>>  return self.__render(defaults=None, errors=None)
> Module kallithea.controllers.admin.auth_settings:89 in __render
>>>  render('admin/auth/auth_settings.html'),
> Module pylons.templating:244 in render_mako
>>>  cache_type=cache_type, cache_expire=cache_expire)
> Module pylons.templating:219 in cached_template
>>>  return render_func()
> Module pylons.templating:241 in render_template
>>>  return literal(template.render_unicode(**globs))
> Module mako.template:452 in render_unicode
>>>  as_unicode=True)
> Module mako.runtime:803 in _render
>>>  **_kwargs_for_callable(callable_, data))
> Module mako.runtime:835 in _render_context
>>>  _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
> Module mako.runtime:855 in _exec_template
>>>  _render_error(template, context, compat.exception_as())
> Module mako.runtime:864 in _render_error
>>>  result = template.error_handler(context, error)
> Module pylons.error:22 in handle_mako_error
>>>  raise (exc, None, sys.exc_info()[2])
> TypeError: render_title() got an unexpected keyword argument 'c'
> CGI Variables
> CONTENT_TYPE'; charset="utf-8"'
> HTTP_ACCEPT'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
> HTTP_ACCEPT_ENCODING'gzip, deflate'
> HTTP_ACCEPT_LANGUAGE'en-US,en;q=0.5'
> HTTP_CONNECTION'keep-alive'
> HTTP_COOKIE'kallithea=cd60377de2172e3cd4691929c7a414a52b3e34c5a412854ee7a347cca741d59bfaca6dfd'
> HTTP_DNT'1'
> HTTP_HOST'lvudockerhost.intelerad.com:8044'
> HTTP_REFERER'http://lvudockerhost.intelerad.com:8044/_admin'
> HTTP_UPGRADE_INSECURE_REQUESTS'1'
> HTTP_USER_AGENT'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0)
> Gecko/20100101 Firefox/52.0'
> PATH_INFO'/_admin/auth'
> REMOTE_ADDR'10.93.4.235'
> REQUEST_METHOD'GET'
> SERVER_NAME'localhost'
> SERVER_PORT'5000'
> SERVER_PROTOCOL'HTTP/1.1'
> SERVER_SOFTWARE'waitress'
> WSGI Variables
> application<kallithea.lib.middleware.sessionmiddleware.SecureSessionMiddleware
> object at 0x7f7c4f29fe10>
> beaker.get_session<bound method SecureSessionMiddleware._get_session
> of <kallithea.lib.middleware.sessionmiddleware.SecureSessionMiddleware
> object at 0x7f7c4f29fe10>>
> beaker.session{'_authentication_token':
> '226852444160348654986937953220299071090', 'authuser':
> {'is_authenticated': True, 'is_external_auth': False, 'user_id': 2},
> '_accessed_time': 1490036829.123231, '_creation_time':
> 1490036725.302054}
> paste.registry<paste.registry.Registry object at 0x7f7c3795b7d0>
> paste.throw_errorsTrue
> pylons.action_method<bound method AuthSettingsController.index of
> <kallithea.controllers.admin.auth_settings.AuthSettingsController
> object at 0x7f7c379bfb50>>
> pylons.controller<kallithea.controllers.admin.auth_settings.AuthSettingsController
> object at 0x7f7c379bfb50>
> pylons.environ_config{'session': 'beaker.session', 'cache': 'beaker.cache'}
> pylons.log_debugTrue
> pylons.pylons<pylons.util.PylonsContext object at 0x7f7c379bf590>
> pylons.routes_dict{'action': u'index', 'controller': u'admin/auth_settings'}
> routes.route<routes.route.Route object at 0x7f7c4f93d8d0>
> routes.url<routes.util.URLGenerator object at 0x7f7c379bfe90>
> webob._parsed_query_vars(GET([]), '')
> wsgi process'Multithreaded'
> wsgi.file_wrapper<class 'waitress.buffers.ReadOnlyFileBasedBuffer'>
> wsgiorg.routing_args(<routes.util.URLGenerator object at
> 0x7f7c379bfe90>, {'action': u'index', 'controller':
> u'admin/auth_settings'})
>
>
>
> --
> Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743



-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.



More information about the kallithea-general mailing list