![]() Time to read up on the Python issue tracker etc to see what might be going on. Something has subtly changed in Python 3.5 (perhaps a bug).įile "/home/pc40583/lib/python3.5/http/client.py", line 446, in readįile "/home/pc40583/lib/python3.5/http/client.py", line 594, in _safe_read Interestingly the error happens at line 134, remainder = handle.read(), at which point we should be at the end of the file (if it was a single record file), and expect to get back an empty string. : IncompleteRead(0 bytes read, 6066 more expected)īoth of those example work fine on the same machine using Python 3.4. Type "help", "copyright", "credits" or "license" for more information.įile "/Volumes/DataDrive/repositories/biopython/Bio/SwissProt/_init_.py", line 134, in readįile "/Users/pjcock/lib/python3.5/http/client.py", line 446, in readįile "/Users/pjcock/lib/python3.5/http/client.py", line 594, in _safe_read Whereas Python 3.4.4 (biopython 1.66 np110p圓4_0) version passes a header with The Python 3.5.1 version (biopython 1.66 np110p圓5_0) passes http/client.read a header with Such that when handle.read() of http/client is called,ĭifferent values are sent than were before. It seems something changed in how lines are read in _init_.py of SwissProt IncompleteRead: IncompleteRead(0 bytes read, 6066 more expected)įrom what I can tell (not much experience here) ![]() > 598 raise IncompleteRead(b''.join(s), amt) ![]() IncompleteRead Traceback (most recent call last)Ĭ:\Anaconda3\lib\site-packages\Bio\SwissProt\_init_.py in read(handle)ġ35 #print(handle.url," ",handle," ",handle.fp)Ĭ:\Anaconda3\lib\http\client.py in read(self, amt)Ĭ:\Anaconda3\lib\http\client.py in _safe_read(self, amt) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |