500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/home/sjakk/.local/lib/python3.8/site-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/home/sjakk/.local/lib/python3.8/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/home/sjakk/.local/lib/python3.8/site-packages/cherrypy/lib/encoding.py", line 223, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/sjakk/.local/lib/python3.8/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/sjakk/bgp3/cherry/usf_cherrypy/klubblist_cp.py", line 555, in id_oppslag
    return self.svar(svar)
  File "/home/sjakk/bgp3/cherry/usf_cherrypy/klubblist_cp.py", line 584, in svar
    return t.render_unicode(qnavn=qnavn, qklubb=qklubb, aar=self.aar,
  File "/home/sjakk/.local/lib/python3.8/site-packages/mako/template.py", line 444, in render_unicode
    return runtime._render(
  File "/home/sjakk/.local/lib/python3.8/site-packages/mako/runtime.py", line 874, in _render
    _render_context(
  File "/home/sjakk/.local/lib/python3.8/site-packages/mako/runtime.py", line 916, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/home/sjakk/.local/lib/python3.8/site-packages/mako/runtime.py", line 943, in _exec_template
    callable_(context, *args, **kwargs)
  File "bgpsql_svar_html", line 46, in render_body
IndexError: list index out of range
Powered by CherryPy 18.8.0