From a106e9c364ca9f49c2f9ce74a42a70e5eb969c21 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Tue, 2 Jun 2015 08:18:34 +0200 Subject: [PATCH] TODO update. --- doc/TODO.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/doc/TODO.md b/doc/TODO.md index 9c410ec..6b18bee 100644 --- a/doc/TODO.md +++ b/doc/TODO.md @@ -20,6 +20,31 @@ AttributeError: 'list' object has no attribute 'filename' - Don't run as root. - Validate max min of date in browser? -- Repopulate form fields on error. -- Debugging mode: automatically reload the form definition each time. -- Checkbox form input type. +- Fix error (megacorp load employees no file specified) + ---------------------------------------- + Exception happened during processing of request from ('127.0.0.1', 57639) + Traceback (most recent call last): + File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread + self.finish_request(request, client_address) + File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request + self.RequestHandlerClass(request, client_address, self) + File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__ + self.handle() + File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle + self.handle_one_request() + File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request + method() + File "/home/fboender/Temp/scriptform-0.3/webapp.py", line 162, in do_POST + self._call(self.path.strip('/'), params={'form_values': form_values}) + File "/home/fboender/Temp/scriptform-0.3/webapp.py", line 198, in _call + method_cb(**params) + File "/home/fboender/Temp/scriptform-0.3/webapp.py", line 428, in h_submit + form_errors, form_values = form_def.validate(values) + File "/home/fboender/Temp/scriptform-0.3/formdefinition.py", line 57, in validate + v = self._field_validate(field_name, form_values) + File "/home/fboender/Temp/scriptform-0.3/formdefinition.py", line 75, in _field_validate + return validate_cb(field_def, form_values) + File "/home/fboender/Temp/scriptform-0.3/formdefinition.py", line 186, in validate_file + value = form_values[field_def['name']] + KeyError: u'csv_file' + ----------------------------------------