Re: recode probs

Ken Dere <[email protected]> Thu, 8 Jan 2009 13:50:03 +0000 (UTC)
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
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'

---------------------------------------------------------------------------

next, pybliographer from the command line

> pybliographer solar.bib
This is pybliographer, version 1.2.11
Copyright (C) 1998-2004 Frederic GOBRY
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.
Useful commands:
        help     to get some help
        quit     to quit

Traceback (most recent call last):
  File "/usr/bin/pybliographer", line 166, in <module>
    execfile (filename, user_global)
  File "solar.bib", line 1
    @comment{This file has been generated by Pybliographer}
            ^
SyntaxError: invalid syntax

deleting that line from the bib file did not help.  It still choked on the '{'

hope this is useful,  thanks,

Ken



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