i'm doing a nice thing with Flot (http://code.google.com/p/flot/) and Json:
- i have a database with values i want to display using flot
- i have successfully set up flot and a json enabled controller
- i can set the date on the webpage for my flot display
- via jquery's .getJSON i get the json encoded data i want to
display in the flot display.
currently the request size is about 70kbytes, but i assume even
bigger requests in the future (around 200-300 kbytes)
so far so good, firefox 2.0.0.18 (linux and windows) handles everything fine ...
however, my app needs to be ie6 compatible :(
i am doing development under linux with firefox, when testing with ie6 on xp,
ie hangs when doing the json request, in tg i get the following error
from cherrypy:
- - "GET /history_data/04.12.2008?1228912684008 HTTP/1.1" 200 69699
"http://mexx:8080/history" "Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1; SV1)"
Traceback (most recent call last):
File "/home/pr/work/python/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cpwsgiserver.py",
line 234, in run
request.parse_request()
File "/home/pr/work/python/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cpwsgi.py",
line 169, in parse_request
_cpwsgiserver.HTTPRequest.parse_request(self)
File "/home/pr/work/python/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cpwsgiserver.py",
line 66, in parse_request
request_line = self.rfile.readline()
File "/home/pr/work/python/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/lib/httptools.py",
line 538, in readline
data = self.rfile.readline(256)
File "/usr/lib/python2.5/socket.py", line 373, in readline
data = self._sock.recv(self._rbufsize)
timeout: timed out
wireshark shows all data gets transferred ...
ie6 is completely frozen and can only be stopped by "brute-force" ;) -
and uses 100% cpu
well, i have googled but havent found any points ... now what i am
wondering is if there is a limit on JSON requests with ie6 or am i
doing something wrong here ?!?! - although i cant image what this
could be ...
interestingly the timeout is in the rfile - i assume it's because ie
stopped responding ...
very short requests are working ... sometimes ... without the timeout
error, even with the timeout error ... and ie working ...
so this is VERY strange to me :(
hopefully some of you powerusers can shed some light on this ...
thanks a lot,
marcus.
sorry for the post .... it's simply ie6 taking ages to draw the flot diagram ;)
i dont know what causes the timeouts however, but it looks like they
dont hurt ;)
wellthen, thanks a lot for listening though ... ;)
hav a nice day !
marcus.