Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Urrlib2 IncompleteRead error

Reply
Thread Tools

Urrlib2 IncompleteRead error

 
 
dirknbr
Guest
Posts: n/a
 
      07-27-2010
I am running urllib2.request and get this response when I do the read.
Any ideas what causes this?

return response.read()
File "C:\Python26\lib\socket.py", line 329, in read
data = self._sock.recv(rbufsize)
File "C:\Python26\lib\httplib.py", line 518, in read
return self._read_chunked(amt)
File "C:\Python26\lib\httplib.py", line 561, in _read_chunked
raise IncompleteRead(''.join(value))
IncompleteRead: IncompleteRead(3235 bytes read)

Dirk
 
Reply With Quote
 
 
 
 
Gabriel Genellina
Guest
Posts: n/a
 
      08-04-2010
On 27 jul, 11:00, dirknbr <(E-Mail Removed)> wrote:

> I am running urllib2.request and get this response when I do the read.
> Any ideas what causes this?
>
> return response.read()
> * File "C:\Python26\lib\socket.py", line 329, in read
> * * data = self._sock.recv(rbufsize)
> * File "C:\Python26\lib\httplib.py", line 518, in read
> * * return self._read_chunked(amt)
> * File "C:\Python26\lib\httplib.py", line 561, in _read_chunked
> * * raise IncompleteRead(''.join(value))
> IncompleteRead: IncompleteRead(3235 bytes read)


Looks like a server error; a chunked transfer encoding finished before
reaching the expected size.

--
Gabriel Genellina
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get wikipedia source failed (urrlib2) shahargs@gmail.com Python 3 08-07-2007 02:18 PM
urrlib2 multithreading error viscanti@gmail.com Python 2 01-17-2007 04:48 PM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 ASP .Net 2 03-27-2006 08:43 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM



Advertisments