Re: A bug!

"Frédéric Gobry" <[email protected]> Wed, 13 Sep 2006 16:06:11 -0700
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
Sorry for not answering before. Did you have the opportunity to check
with a more recent version? (I'll probably try it on my side ASAP, but
just in case). Dates are handled in a special way, as BibTeX stores
them in two different fields (year and month), whereas the interface
handle them in a more coherent way.

2006/9/13, Soren ONeill <[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
> _______________________________________________
> Pybliographer-general mailing list
> Pybliographer-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pybliographer-general
>
>


-- 
Frédéric

-------------------------------------------------------------------------
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