A bug!
Soren ONeill <[email protected]> Wed, 13 Sep 2006 19:47:45 +0200
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <[email protected]> |
Hi folks, Im using Pybliographic 1.2.6.2 on Ubuntu 6.06 with LyX 1.3.7 Im using the vancouver.bst style from http://www.tug.org/tex-archive/biblio/bibtex/contrib/vancouver/ Im trying to create a Webpage entry, which isn't in pybliographics entry list by default (as far as I an tell). For those purposes I've added some new fields : part [text], lastchecked [date] and updated [date]) I have then added a new Webpage entry and assigned a number of fields to it, including the three new ones (as optional) So far so good ... If I enter a date into either the updated or lastchecked fields and try to save the bibliography (or try native editing), I get an error: Traceback (most recent call last): File "/usr/share/pybliographer/Pyblio/GnomeUI/Editor.py", line 1125, in apply_changes new = self.editor.update (self.database, self.current) File "/usr/share/pybliographer/Pyblio/GnomeUI/Editor.py", line 889, in update result = item.update (self.entry) File "/usr/share/pybliographer/Pyblio/GnomeUI/Editor.py", line 382, in update del entry [self.field] File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 158, in __delitem__ del self.dict [key] KeyError: 'updated' If I do not enter any data into those two fields (update, lastchanged) - there is no problem. If I manually change the .bib file and add the two fields, there is no problem! Thus: this is a pybliographer bug, it is consistently reproducible and I hope this is useful to the developers! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642