[BioPython] Problem using GenBank.Dictionary

Michael Sorich mike_sorich@hotmail.com
Thu, 16 May 2002 14:11:14 +0930


This is a multi-part message in MIME format.

------=_NextPart_000_0004_01C1FCE3.8A2179F0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi
=20
I am having some trouble making a GenBank database (using an index file
and GenBank.Dictionary). I can use an GenBank.Iterator to parse through
genbank records in a file, however, if I make a GenBank database of the
file and then request a particular record, I get a parsing error
=93ParserPositionException: error parsing at or beyond character 0=94. =
The
dictionary seems to be created properly (ie it has keys corresponding to
all the records in the file) and the error only occurs when I call for a
particular record.
=20
I have included an example below, parsing a file containing only 1
genbank record into a FeatureRecord using a GenBank.Iterator (which
works) and then a GenBank.Dictionary (which does not work). I would
appreciate it if someone could let me know where I have gone wrong.=20
=20
--Script
from Bio import GenBank
=20
gb_file =3D "C:\\Documents and Settings\\MikeUser\\Desktop\\Z71185.gb"
=20
#first parse using GenBank.Iterator
gb_handle =3D open(gb_file, 'r')
parser =3D GenBank.FeatureParser()
gb_iterator =3D GenBank.Iterator(gb_handle, parser)
cur_record =3D gb_iterator.next()
if cur_record:
    print dir(cur_record)
    print "Accession No is", cur_record.id
=20
#now parse with GenBank.Dictionary
indexFile =3D 'Z71185.idx'
GenBank.index_file(gb_file, indexFile)
gbDict =3D GenBank.Dictionary(indexFile, GenBank.FeatureParser())
print "keys in dictionary =3D",gbDict.keys()
cur_record =3D gbDict['Z71185']
if cur_record:
    print dir(cur_record)
    print "Accession No is", cur_record.id
=20
--Output
['annotations', 'description', 'features', 'id', 'name', 'seq']
Accession No is Z71185.1
keys in dictionary =3D ['Z71185']
Traceback (most recent call last):
  File "C:\PROGRA~1\Python21\Pythonwin\pywin\framework\scriptutils.py",
line 396, in ImportFile
    reload(sys.modules[modName])
  File "C:\Documents and Settings\MikeUser\My
Documents\Python\scripts\testGenbank.py", line 19, in ?
   =20
  File "c:\progra~1\python21\Bio\GenBank\__init__.py", line 114, in
__getitem__
    return self._parser.parse(File.StringHandle(data))
  File "c:\progra~1\python21\Bio\GenBank\__init__.py", line 268, in
parse
    self._scanner.feed(handle, self._consumer)
  File "c:\progra~1\python21\Bio\GenBank\__init__.py", line 1250, in
feed
    self._parser.parseFile(handle)
  File "c:\progra~1\python21\Martel\Parser.py", line 230, in parseFile
    self.parseString(fileobj.read())
  File "c:\progra~1\python21\Martel\Parser.py", line 258, in parseString
    self._err_handler.fatalError(result)
  File "c:\progra~1\python21\lib\xml\sax\handler.py", line 38, in
fatalError
    raise exception
ParserPositionException: error parsing at or beyond character 0
=20
=20
Thanks
=20
Michael Sorich
PhD Student
School of Pharmaceutical, Molecular and Biomedical Sciences
University of South Australia
Email: michael.sorich@postgrads.unisa.edu.au
           mike_sorich@hotmail.com
=20

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.362 / Virus Database: 199 - Release Date: 7/05/2002
=20

------=_NextPart_000_0004_01C1FCE3.8A2179F0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C1FCE3.88A7F950">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;
	mso-header-margin:35.4pt;
	mso-footer-margin:35.4pt;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-AU link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am having some trouble making a <span =
class=3DSpellE>GenBank</span>
database (using an index file and <span =
class=3DSpellE>GenBank.Dictionary</span>).
I can use an <span class=3DSpellE>GenBank.Iterator</span> to parse =
through <span
class=3DSpellE>genbank</span> records in a file, however, if I make a =
<span
class=3DSpellE>GenBank</span> database of the file and then request a =
particular
record, I get a parsing error =93<span =
class=3DSpellE>ParserPositionException</span>:
error parsing at or beyond character 0=94. The dictionary seems to be
created properly (<span class=3DSpellE>ie</span> it has keys =
corresponding to all
the records in the file) and the error only occurs when I call for a =
particular
record.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have included an example below, parsing a file =
containing
only 1 <span class=3DSpellE>genbank</span> record into a <span =
class=3DSpellE>FeatureRecord</span>
using a <span class=3DSpellE>GenBank.Iterator</span> (which works) and =
then a <span
class=3DSpellE>GenBank.Dictionary</span> (which does not work). I would
appreciate it if someone could let me know where I have gone wrong. =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>--Script<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>from</span></font></span><fo=
nt
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> Bio import <span
class=3DSpellE>GenBank</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>gb_file</span></font></span>=
<font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D
&quot;C:\\Documents and =
Settings\\MikeUser\\Desktop\\Z71185.gb&quot;<o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#first parse using <span =
class=3DSpellE>GenBank.Iterator</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>gb_handle</span></font></spa=
n><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D <span
class=3DGramE>open(</span><span class=3DSpellE>gb_file</span>, =
'r')<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>parser</span></font></span><=
font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D <span
class=3DSpellE>GenBank.FeatureParser</span>()<o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>gb_iterator</span></font></s=
pan><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D <span
class=3DSpellE><span class=3DGramE>GenBank.Iterator</span></span><span =
class=3DGramE>(</span><span
class=3DSpellE>gb_handle</span>, parser)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cur_record</span></font></sp=
an><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D <span
class=3DSpellE>gb_<span class=3DGramE>iterator.next</span></span><span =
class=3DGramE>()</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>if</span></font></span><font=
 size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <span
class=3DSpellE>cur_record</span>:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>print</span> dir(<span =
class=3DSpellE>cur_record</span>)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>print</span> &quot;Accession No is&quot;, <span =
class=3DSpellE>cur_record.id</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#now <span class=3DGramE>parse</span> with <span =
class=3DSpellE>GenBank.Dictionary</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>indexFile</span></font></spa=
n></span><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D
'Z71185.idx'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>GenBank.index_<span =
class=3DGramE>file</span></span></font></span><span
class=3DGramE><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial'>(</span></font></span><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>gb_file</span></font></span>=
<font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>, <span
class=3DSpellE>indexFile</span>)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><span class=3DGramE><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>gbDict</span></font></span><=
/span><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D <span
class=3DSpellE>GenBank.Dictionary</span>(<span =
class=3DSpellE>indexFile</span>, <span
class=3DSpellE>GenBank.FeatureParser</span>())<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>print</span></font></span><f=
ont
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> &quot;keys
in dictionary =3D&quot;,<span =
class=3DSpellE>gbDict.keys</span>()<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>cur_record</span></font></sp=
an><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =3D <span
class=3DSpellE><span class=3DGramE>gbDict</span></span><span =
class=3DGramE>[</span>'Z71185']<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>if</span></font></span><font=
 size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <span
class=3DSpellE>cur_record</span>:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>print</span> dir(<span =
class=3DSpellE>cur_record</span>)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>print</span> &quot;Accession No is&quot;, <span =
class=3DSpellE>cur_record.id</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>--Output<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>['annotations', 'description', 'features', 'id', =
'name', '<span
class=3DSpellE>seq</span>']<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Accession No is Z71185.1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>keys</span></font></span><fo=
nt
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> in
dictionary =3D ['Z71185']<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>Traceback</span></font></spa=
n><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> (most
recent call last):<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;C:\PROGRA~1\Python21\Pythonwin\pywin\framework\scriptutils.py&quot;=
, line
396, in <span =
class=3DSpellE>ImportFile</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>reload(</span><span =
class=3DSpellE>sys.modules</span>[<span
class=3DSpellE>modName</span>])<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;C:\Documents and Settings\<span class=3DSpellE>MikeUser</span>\My
Documents\Python\scripts\<span =
class=3DSpellE>testGenbank.py</span>&quot;, line
19, <span class=3DGramE>in ?</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;c:\progra~1\python21\Bio\GenBank\__init__.py&quot;, line 114, in =
__<span
class=3DSpellE>getitem</span>__<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>return</span> <span =
class=3DSpellE>self._parser.parse</span>(<span
class=3DSpellE>File.StringHandle</span>(data))<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;c:\progra~1\python21\Bio\GenBank\__init__.py&quot;, line 268, in =
parse<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DSpellE>self._<span class=3DGramE>scanner.feed</span></span><span
class=3DGramE>(</span>handle, <span =
class=3DSpellE>self._consumer</span>)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;c:\progra~1\python21\Bio\GenBank\__init__.py&quot;, line 1250, in =
feed<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DSpellE>self._<span =
class=3DGramE>parser.parseFile</span></span><span
class=3DGramE>(</span>handle)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;c:\progra~1\python21\Martel\Parser.py&quot;, line 230, in <span
class=3DSpellE>parseFile</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DSpellE><span class=3DGramE>self.parseString</span></span><span =
class=3DGramE>(</span><span
class=3DSpellE>fileobj.read</span>())<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;c:\progra~1\python21\Martel\Parser.py&quot;, line 258, in <span
class=3DSpellE>parseString</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DSpellE>self._err_<span =
class=3DGramE>handler.fatalError</span></span><span
class=3DGramE>(</span>result)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp; </span>File
&quot;c:\progra~1\python21\lib\xml\sax\handler.py&quot;, line 38, in =
<span
class=3DSpellE>fatalError</span><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; =
</span><span
class=3DGramE>raise</span> exception<o:p></o:p></span></font></p>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>ParserPositionException</spa=
n></font></span><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>: error
parsing at or beyond character 0<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Michael =
Sorich<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>PhD =
Student<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>School of Pharmaceutical, Molecular =
and
Biomedical Sciences<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>University of South =
Australia<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'>Email:
michael.sorich@postgrads.unisa.edu.au<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;mso-no-proof:yes'><span
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;
</span>mike_sorich@hotmail.com<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>
<BR>

<P><FONT SIZE=3D2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.362 / Virus Database: 199 - Release Date: 7/05/2002<BR>
</FONT> </P>

------=_NextPart_000_0004_01C1FCE3.8A2179F0--