Re: recode probs

Zoltan Kota <[email protected]> Thu, 8 Jan 2009 18:16:50 +0100 (CET)
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
On Thu, 8 Jan 2009, Ken Dere wrote:

> first, pybliographic from the command line
> 
> > pybliographic &
> [1] 17566
> kpd/photos> This is Pybliographic 1.2.11 [Python 2.6.0, Gtk 2.14.4, PyGTK 
> 2.12.1]
> pybliographer: warning: unable to convert `\angst'
> pybliographer: warning: unable to convert `\minus'
> pybliographer: warning: unable to convert `\lt'
> pybliographer: warning: unable to convert `\gt'
> pybliographer: warning: unable to convert `\lt'
> pybliographer: warning: unable to convert `\gt'
> pybliographer: warning: unable to convert `\lt'
> pybliographer: warning: unable to convert `\lt'
> Traceback (most recent call last):
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 933, in 
> add_entry
>     edit = Editor.Editor (self.data, entry, self.w, _("Create new entry"))
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Editor.py", line 1082, in 
> __init__
>     self.toggle_native()
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Editor.py", line 1127, in 
> toggle_native
>     self.editor = NativeEditor(self.database, self.current)
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Editor.py", line 964, in 
> __init__
>     self.original = database.get_native(entry)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 386, in 
> get_native
>     entry_write(entry, stream)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 419, in 
> entry_write
>     output.write('@%s{%s,\n' % (tp.name, entry.key.key))
> AttributeError: 'NoneType' object has no attribute 'key'


I think it is due to a bug in pybliographer 1.2.11. Is the 
"Native-as-default" option checked in Settings->Preferences->Gnome? You 
should switch off this option. (It is fixed in 1.2.12.)

Zoltan


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB