Message301582
An error occurs when uploading a file ~<10kb:
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/html/file-uploader/uploader.py in ()
39
40 # A nested FieldStorage instance holds the file
=> 41 fileitem = form['file']
42
43 # Test if the file was uploaded
fileitem undefined, form = FieldStorage(None, None, '')
/usr/lib/python3.4/cgi.py in __getitem__(self=FieldStorage(None, None, ''), key='file')
591 """Dictionary style indexing."""
592 if self.list is None:
=> 593 raise TypeError("not indexable")
594 found = []
595 for item in self.list:
builtin TypeError = <class 'TypeError'>
TypeError: not indexable
args = ('not indexable',)
with_traceback = <built-in method with_traceback of TypeError object>
but not when file is ~> 10kb |
|
Date |
User |
Action |
Args |
2017-09-07 12:31:49 | mschaming | set | recipients:
+ mschaming |
2017-09-07 12:31:49 | mschaming | set | messageid: <1504787509.49.0.0241547941572.issue31382@psf.upfronthosting.co.za> |
2017-09-07 12:31:49 | mschaming | link | issue31382 messages |
2017-09-07 12:31:49 | mschaming | create | |
|