KeyError: 'title'
Gregor Hlawacek <[email protected]> Tue, 30 Aug 2005 10:05:09 +0200
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <1125389109.20031.7.camel@localhost> |
Hi!
I am using pybliographic 1.2.6.2 and I get the following error when ever
I clieck on the title column header to sart by title. This also affects
the search box. I can perform a search but after that it is impossible
to display all data again.
Any Ideas?
python: 2.3.5
python-bibtex: 1.2.1
Traceback (most recent call last):
File "/usr/share/pybliographer/Pyblio/GnomeUI/Index.py", line 400, in
click_column
self.issue ('click-on-field', self.fields [column])
File "/usr/share/pybliographer/Pyblio/Connector.py", line 137, in
issue
apply(Issue, (self, channel,) + args)
File "/usr/share/pybliographer/Pyblio/Connector.py", line 81, in Issue
apply(func, args + fargs)
File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 700,
in sort_by_field
self.redisplay_index ()
File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 209,
in redisplay_index
self.index.display (self.selection.iterator (self.data.iterator ()))
File "/usr/share/pybliographer/Pyblio/Selection.py", line 125, in
iterator
return SortSelection (self.sort, iterator)
File "/usr/share/pybliographer/Pyblio/Selection.py", line 75, in
__init__
self.data = sort.sort (iterator)
File "/usr/share/pybliographer/Pyblio/Sort.py", line 47, in sort
s.extend (f (e))
File "/usr/share/pybliographer/Pyblio/Sort.py", line 68, in <lambda>
extractor (e))
File "/usr/share/pybliographer/Pyblio/Sort.py", line 141, in extractor
return [str(entry[self.field]).rstrip().lower()]
File "/usr/share/pybliographer/Pyblio/Base.py", line 77, in
__getitem__
return self.field_and_loss (key) [0]
File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 269, in
field_and_loss
obj = self.dict [key]
KeyError: 'title'
--
Dipl.-Ing. Gregor Hlawacek -- http://www.unileoben.ac.at/~hlawacek
8700 Leoben, Austria
(o_ (o_ (o<)< (o< -!
//\ //\ //\ //\
V_/_ [ ]/_ V_/_ V_/_
penguin eating fish
travelling being noisy
GPG ID: FBCDF36E
GPG Finger Print: 1AA0 DC5C 186F 6144 01F0 8FB2 7ABD D7FB FBCD F36E
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) iD8DBQBDFBM1er3X+/vN824RAm7CAKCIunBM2FCk/ouJ/gExxdpCOiSaxACaAgVk UEq+ndbL+92wESN9lLPk8Is= =gfTj -----END PGP SIGNATURE-----