Re: A bug!
"Frédéric Gobry" <[email protected]> Thu, 14 Sep 2006 04:40:54 +0100
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <[email protected]> |
> > 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. I tried to reproduce this on 1.2.9 with no success. There is a problem though, as you will loose all info except the year (as there is no defined field for the month) I guess you need more than the year, don't you? Frederic ------------------------------------------------------------------------- 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