M.
Jason Hildebrand wrote:
On Wed, 2004-12-08 at 19:55 -0500, Michael wrote:
Hi Jason,
I just tried the spanking-new HTTPcontent with the WebKit/Examples/
fileupload servlet.
Here is the traceback.
Best, Michael
Traceback (most recent call last):
File "C:/Webware\WebKit\Application.py", line 436, in dispatchRawRequest
self.runTransaction(trans)
File "C:/Webware\WebKit\Application.py", line 487, in runTransaction
self.runTransactionViaServlet(servlet, trans)
File "C:/Webware\WebKit\Application.py", line 512, in
runTransactionViaServlet
servlet.runTransaction(trans)
File "C:/Webware\WebKit\Servlet.py", line 42, in runTransaction
trans.respond()
File "C:/Webware\WebKit\Transaction.py", line 107, in respond
self._servlet.respond(self)
File "WebKit\HTTPServlet.py", line 38, in respond
File "C:/Webware\WebKit\HTTPContent.py", line 65, in respondToPost
self._respond(transaction)
File "C:/Webware\WebKit\HTTPContent.py", line 96, in _respond
self.handleAction(action)
File "C:/Webware\WebKit\HTTPContent.py", line 199, in handleAction
getattr(self, action)()
TypeError: fileupload() takes exactly 2 arguments (1 given)
Hi Michael,
I just tried the fileupload example here and it worked fine. Can you tell
which fileupload() method is being called? The one defined in
WebKit/Examples/FileUpload.py only takes one parameter, so the error message
suggests that a _different_ fileupload method is being called.
Can anyone confirm this problem?
peace, Jason
-- Michael Palmer Department of Chemistry University of Waterloo 2oo University Ave West Waterloo, ON N2L 3G1 Canada Phone 519 888 4567 ext 5100 Fax 519 746 0435 Office ESC 234 Lab C2-360 Web http://sciborg.uwaterloo.ca/~mpalmer/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel