<type 'exceptions.KeyError'>
Python 2.7.12: /usr/bin/python
Wed Nov 20 09:22:27 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/rocwiki/sycamore/Sycamore/support/wsgi_server/scgi_base.py in run(self=<Sycamore.support.wsgi_server.scgi_base.Request object>)
    181 
    182         try:
=>  183             self._conn.server.handler(self)
    184         except:
    185             self.logger.exception('Exception caught from handler')
self = <Sycamore.support.wsgi_server.scgi_base.Request object>, self._conn = <Sycamore.support.wsgi_server.scgi_base.Connection object>, self._conn.server = <Sycamore.support.wsgi_server.scgi_fork.WSGIServer object>, self._conn.server.handler = <bound method WSGIServer.handler of <Sycamore.support.wsgi_server.scgi_fork.WSGIServer object>>
 /home/rocwiki/sycamore/Sycamore/support/wsgi_server/scgi_base.py in handler(self=<Sycamore.support.wsgi_server.scgi_fork.WSGIServer object>, request=<Sycamore.support.wsgi_server.scgi_base.Request object>)
    427             self._appLock.acquire()
    428         try:
=>  429             result = self.application(environ, start_response)
    430             try:
    431                 for data in result:
result = None, self = <Sycamore.support.wsgi_server.scgi_fork.WSGIServer object>, self.application = <function basic_handle_request>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/rocwiki/sycamore/share/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_HOST': 'rocwiki.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Geck...patible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH_INFO': '/One_Eleven_on_East', 'QUERY_STRING': 'sendfile=trueu0026file%3Dfireplace.JPGu0026thumb%3Dyesu0026size%3D300', ...}, start_response = <function start_response>
 /home/rocwiki/sycamore/Sycamore/request.py in basic_handle_request(env={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/rocwiki/sycamore/share/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_HOST': 'rocwiki.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Geck...patible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH_INFO': '/One_Eleven_on_East', 'QUERY_STRING': 'sendfile=trueu0026file%3Dfireplace.JPGu0026thumb%3Dyesu0026size%3D300', ...}, start_response=<function start_response>)
   1079             return [compressed_content] # WSGI spec wants a list returned
   1080         else:
   1081             return req.output_buffer
   1082     else:
=> 1083         return RequestWSGI(env, start_response).run()
global RequestWSGI = <class 'Sycamore.request.RequestWSGI'>, env = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/home/rocwiki/sycamore/share/web', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_HOST': 'rocwiki.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Geck...patible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH_INFO': '/One_Eleven_on_East', 'QUERY_STRING': 'sendfile=trueu0026file%3Dfireplace.JPGu0026thumb%3Dyesu0026size%3D300', ...}, start_response = <function start_response>, ).run undefined
 /home/rocwiki/sycamore/Sycamore/request.py in run(self=<Sycamore.request.RequestWSGI object>)
    720           self.form = self.args 
    721 
=>  722           fileSend(self)
    723           return self.finish()
    724 
fileSend = <function fileSend>, self = <Sycamore.request.RequestWSGI object>
 /home/rocwiki/sycamore/Sycamore/file.py in fileSend(request=<Sycamore.request.RequestWSGI object>, pagename=u'One Eleven on East', filename=None)
     94 
     95     if not filename:
=>   96         filename_encoded = request.form['file'][0]
     97         filename = urllib.unquote(filename_encoded)
     98     
filename_encoded undefined, request = <Sycamore.request.RequestWSGI object>, request.form = {'sendfile': [u'trueu0026file=fireplace.JPGu0026thumb=yesu0026size=300']}

<type 'exceptions.KeyError'>: 'file'
      args = ('file',)
      message = 'file'