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/termin.py", line 687, in vis valg = self._hente3(klubb) File "/home/sjakk/bgp3/cherry/usf_cherrypy/termin.py", line 599, in _hente3 svar = self.c3.fetchone()[0] TypeError: 'NoneType' object is not subscriptable