[Biopython-dev] Bug

Eirik Sønneland eirik.sonneland at student.umb.no
Fri Feb 11 07:44:37 EST 2005


Hi!

Just wondered how it's possible to handle/bypass the bug:

This was Bug#1627. I just upgraded to 1.3. I rediscovered this bug while 
running www_blast.py in Bio/Doc/examples. Error code: plorch% python 
www_blast.py Doing the BLAST and retrieving the results... Parsing the 
results and extracting info... Traceback (most recent call last): File 
"www_blast.py", line 37, in ? b_record = 
b_parser.parse(string_result_handle) File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/Bio/ 
Blast/NCBIWWW.py", line 47, in parse self._scanner.feed(handle, 
self._consumer) File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/Bio/ 
Blast/NCBIWWW.py", line 96, in feed has_re=re.compile(r'<b>.?BLAST')) 
File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/Bio/ 
ParserSupport.py", line 335, in read_and_call_until line = 
safe_readline(uhandle) File 
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/Bio/ 
ParserSupport.py", line 411, in safe_readline raise SyntaxError, 
"Unexpected end of stream." SyntaxError: Unexpected end of stream.

Thanks!

Regards,
Eirik



More information about the Biopython-dev mailing list