Re: httplib raises ValueError reading chunked content

2006-03-08 Thread Etienne Desautels
Hi Philip, > Hi all, > Has anyone ever seen Python 2.4.1's httplib choke when reading chunked > content? Yes, it's a know bug. See for yourself: https://sourceforge.net/tracker/? func=detail&atid=305470&aid=900744&group_id=5470 Etienne > I'm using it via urrlib2, and I ran into a particular s

Re: [Python-Help] Reading from socket file handle took too long

2006-03-03 Thread Etienne Desautels
Hi, thanks Matthew for the answer. It help me think a little bit more. I found a solution and I think I found the culprit but I would need to do more investigation to be sure. My solution is to work directly with the socket library instead of using the higher level urllib2 library. Now it tak

Reading from socket file handle took too long

2006-02-24 Thread Etienne Desautels
Hi, I'm working on project where I need to grab video from an Axis IP camera. This camera send a stream of a multipart message on HTTP. I write this code (at the bottom of the message) to read and uncompress each jpeg images. I call nextFrame() 24 times per seconds (or every 0,0416 sec.)