Problem parsing bib file

Fabrice Silva <[email protected]> Sat, 3 Mar 2007 17:01:48 +0000 (UTC)
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
I've got some troubles trying to parse a bib file with this entry :
@InProceedings{terroir1,
  Author         = {Guillemain, Philippe and Terroir, Jonathan},
  Title          = {Dynamic simulation of note transitions in reed
                   instruments : application to the clarinet and the
                   saxophone},
  BookTitle      = {Lecture {N}otes on {C}omputer {S}cience, {V}ol. 3902},
  Editor         = {Kronland-Martinet, Voinier, Ystad},
  Pages          = {1-23},
  Publisher      = {Springer-Verlag Berlin Heidelberg},
  year           = 2006
}

I've the following error message:

Traceback (most recent call last):
  File "CheckBibFile.py", line 43, in ?
    rs = Reader.parse(open('BiblioConsonnes.bib'), DB)
  File "/usr/lib/python2.4/site-packages/pybliographer-1.3.3-py2.4.egg/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 391, in parse
    self.record_parse (data)
  File "/usr/lib/python2.4/site-packages/pybliographer-1.3.3-py2.4.egg/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 361, in record_parse
    self.record_dispatch (k.lower (), v)
  File "/usr/lib/python2.4/site-packages/pybliographer-1.3.3-py2.4.egg/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 342, in record_dispatch
    return self._mapping[attp.type](k, v)
  File "/usr/lib/python2.4/site-packages/pybliographer-1.3.3-py2.4.egg/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 298, in person_add
    self.record [field] = filter(None, map(_person_decode, avail))
  File "/usr/lib/python2.4/site-packages/pybliographer-1.3.3-py2.4.egg/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 295, in _person_decode
    raise Exceptions.ParserError ("%s: unable to parse name %s properly: %d commas" % (
Pyblio.Exceptions.ParserError: (None, u"terroir1: unable to parse name [Text(u'Kronland-Martinet'), Text(u','), Text(u'Voinier'), Text(u','), Text(u'Ystad')] properly: 2 commas")

Could you explain me what's going on? (I'm using pybliographer 1.3.3)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV