Array ( [file_0] => @/home/ankit/public_html/rupee.png;filename=rupee.png [file_1] => @/home/ankit/public_html/sel.jpg;filename=sel.jpg ) string(269) "POST /demo/my_affine_sift/input_upload HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Host: demo.ipol.im Accept: */* Referer: Content-Length: 145 Content-Type: application/x-www-form-urlencoded " string(1258) " 500 Internal Server Error

500 Internal Server Error

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

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/lib/pymodules/python2.6/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/srv/ipol/demo/lib/base_app.py", line 266, in input_upload
    if '' == file_up.filename:
AttributeError: 'str' object has no attribute 'filename'
Powered by CherryPy 3.1.2
"