I'm trying to upload files from a Flex app to TG.
It does not seem to be dispatching to my controller method, but rather
is timing out for some reason...
I'm getting this:
2007-01-24 12:42:48,184 cherrypy.msg INFO HTTP: Traceback (most recent
call last):
File
"/opt/python2.4.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
line 98, in _run
self.processBody()
File
"/opt/python2.4.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py",
line 230, in processBody
keep_blank_values=1)
File
"/opt/python2.4.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpcgifs.py",
line 8, in __init__
cgi.FieldStorage.__init__(self, *args, **kwds)
File "/opt/python2.4.4/lib/python2.4/cgi.py", line 530, in __init__
self.read_multi(environ, keep_blank_values, strict_parsing)
File "/opt/python2.4.4/lib/python2.4/cgi.py", line 655, in read_multi
environ, keep_blank_values, strict_parsing)
File
"/opt/python2.4.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpcgifs.py",
line 8, in __init__
cgi.FieldStorage.__init__(self, *args, **kwds)
File "/opt/python2.4.4/lib/python2.4/cgi.py", line 532, in __init__
self.read_single()
File "/opt/python2.4.4/lib/python2.4/cgi.py", line 665, in
read_single
self.read_lines()
File "/opt/python2.4.4/lib/python2.4/cgi.py", line 687, in read_lines
self.read_lines_to_outerboundary()
File
"/opt/python2.4.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpcgifs.py",
line 31, in read_lines_to_outerboundary
line = self.fp.readline(1<<16)
File
"/opt/python2.4.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/lib/httptools.py",
line 496, in readline
data = self.rfile.readline(size)
File "/opt/python2.4.4/lib/python2.4/socket.py", line 359, in
readline
data = self._sock.recv(self._rbufsize)
timeout: timed out
Request Headers:
Content-Length: 3971
USER-AGENT: Shockwave Flash
CONNECTION: Keep-Alive
CONTENT-LENGTH: 3971
HOST: www01.videoonramp.com:8080
CACHE-CONTROL: no-cache
CONTENT-TYPE: multipart/form-data;
boundary=----------gL6GI3KM7GI3KM7Ef1Ij5Ef1Ef1Ef1
ACCEPT: text/*
Remote-Addr: 74.192.146.128
Content-Type: multipart/form-data;
boundary=----------gL6GI3KM7GI3KM7Ef1Ij5Ef1Ef1Ef1
Remote-Host: 74.192.146.128
74.192.146.128 - - "POST /postFile HTTP/1.1" 500 2505 "" "Shockwave
Flash"
The header infon seems correct, except for the ACCEPT param. That
should probably be something like 'binary/*' or 'image/*'...
I'm kinda stumped...any thoughts?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---