[Biopython-dev] [Bug 2503] New: An error when parsing NCBIWWW Blast output

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sat May 24 12:15:23 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2503

           Summary: An error when parsing NCBIWWW Blast output
           Product: Biopython
           Version: Not Applicable
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: hebbar.prashanth at gmail.com


Hi All,
I get following error when I start parsing NCBIWWW balst output.
Traceback (most recent call last):
 File "<pyshell#17>", line 1, in -toplevel-
   b_record = b_parser.parse(blast_results)
 File "C:\Python24\Lib\site-packages\Bio\Blast\NCBIWWW.py", line 43, in
parse
   self._scanner.feed(handle, self._consumer)
 File "C:\Python24\Lib\site-packages\Bio\Blast\NCBIWWW.py", line 94, in
feed
   has_re=re.compile(r'<b>.?BLAST'))
 File "C:\Python24\Lib\site-packages\Bio\ParserSupport.py", line 335, in
read_and_call_until
   line = safe_readline(uhandle)
 File "C:\Python24\Lib\site-packages\Bio\ParserSupport.py", line 411, in
safe_readline
   raise SyntaxError, "Unexpected end of stream."
SyntaxError: Unexpected end of stream.
Can any one please help me to solve this? I am using biopython 1.44 version (I
tried with 1.45 too, the same error comes)
in windows system
Thank you in anticipation,
Prashanth


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list