Bug#351773: pybliographer: failure to either save or load bib (BibTeX) file

2006-02-07 Thread Chris Lawrence
You need to upgrade Pybliographic too; I will put in a Conflicts line. - CNL

On 2/7/06, Filippo Rusconi <[EMAIL PROTECTED]> wrote:
> Package: pybliographer
> Version: 1.2.6.2-1
> Severity: grave
> Justification: renders package unusable
>
> Hello,
>
> 1. When starting pybliographic, I get the ususal window OK.
>
> 2. When starting pybliographic with a bib filename, I get this:
>
> $ This is Pybliographic 1.2.6.2 [Python 2.3.5, Gtk 2.8.10, PyGTK 2.8.2]
> /usr/share/pybliographer/Pyblio/GnomeUI/Utils.py:141: GtkDeprecationWarning: 
> gtk.mainiteration is deprecated, use gtk.main_iteration instead
>   gtk.mainiteration (False)
> /usr/share/pybliographer/Pyblio/GnomeUI/Document.py:159: DeprecationWarning: 
> use gtk.UIManager
>   factory = gtk.ItemFactory (gtk.Menu, '', None)
> Traceback (most recent call last):
>   File "/usr/bin/pybliographer", line 166, in ?
> execfile (filename, user_global)
>   File "/usr/share/pybliographer/pybliographic.py", line 40, in ?
> main.open_document (str (url))
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Pybliographic.py", line 98, 
> in open_document
> doc.open_document (url, how)
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 382, in 
> open_document
> data = Open.bibopen (url, how = how)
>   File "/usr/share/pybliographer/Pyblio/Open.py", line 111, in bibopen
> base = simple_try (url, how)
>   File "/usr/share/pybliographer/Pyblio/Open.py", line 93, in simple_try
> base = opener (url, 0)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 658, in opener
> base = DataBase (url)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 351, in 
> __init__
> self.__parsefile__ ()
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 374, in 
> __parsefile__
> user [k] [0], 0))
> TypeError: reverse() takes exactly 3 arguments (4 given)
>
>
> and the window shows and very quickly disappears.
>
> 3. When starting pybliographic empty, getting a biblio record using
> Ctrl-M and trying to save a new bib file I get this:
>
> /usr/share/pybliographer/Pyblio/GnomeUI/FileSelector.py:104: 
> DeprecationWarning: use gtk.ComboBox
>   self.menu = gtk.OptionMenu ()
> Traceback (most recent call last):
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 409, in 
> save_document
> self.save_document_as ()
>   File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 470, in 
> save_document_as
> out = file, how = how)
>   File "/usr/share/pybliographer/Pyblio/Open.py", line 193, in bibwrite
> writer (iter, out)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 646, in writer
> entry_write (entry, output)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 555, in 
> entry_write
> dico [field] = _nativify (value, fieldtype)
>   File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 479, in 
> _nativify
> field, 1)
> TypeError: reverse() takes exactly 3 arguments (4 given)
>
>
> and the file does not get saved.
>
>
> There errors apparently have something to do with the BibTeX.py
> file. But I am no pythonist.
>
> I like pybliographer/phic a lot !
>
> Cheers,
>
> Filippo
>
>
>
>
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12-fr3
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>
> Versions of packages pybliographer depends on:
> ii  python2.3.5-5An interactive high-level 
> object-o
> ii  python-bibtex 1.2.2-1Python interfaces to BibTeX and 
> th
> ii  python-glade2 2.8.2-3GTK+ bindings: Glade support
> ii  python-gnome2 2.10.0-4   Python bindings for the GNOME 
> desk
> ii  python2.3-glade2  2.8.2-3GTK+ bindings: Glade support
> ii  python2.3-gnome2  2.10.0-4   Python bindings for the GNOME 
> desk
>
> Versions of packages pybliographer recommends:
> ii  yelp  2.10.0-3   Help browser for GNOME 2
>
> -- no debconf information
>
>


--
Chris Lawrence - http://blog.lordsutch.com/


Bug#351773: pybliographer: failure to either save or load bib (BibTeX) file

2006-02-07 Thread Filippo Rusconi
Package: pybliographer
Version: 1.2.6.2-1
Severity: grave
Justification: renders package unusable

Hello,

1. When starting pybliographic, I get the ususal window OK.

2. When starting pybliographic with a bib filename, I get this:

$ This is Pybliographic 1.2.6.2 [Python 2.3.5, Gtk 2.8.10, PyGTK 2.8.2]
/usr/share/pybliographer/Pyblio/GnomeUI/Utils.py:141: GtkDeprecationWarning: 
gtk.mainiteration is deprecated, use gtk.main_iteration instead
  gtk.mainiteration (False)
/usr/share/pybliographer/Pyblio/GnomeUI/Document.py:159: DeprecationWarning: 
use gtk.UIManager
  factory = gtk.ItemFactory (gtk.Menu, '', None)
Traceback (most recent call last):
  File "/usr/bin/pybliographer", line 166, in ?
execfile (filename, user_global)
  File "/usr/share/pybliographer/pybliographic.py", line 40, in ?
main.open_document (str (url))
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Pybliographic.py", line 98, in 
open_document
doc.open_document (url, how)
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 382, in 
open_document
data = Open.bibopen (url, how = how)
  File "/usr/share/pybliographer/Pyblio/Open.py", line 111, in bibopen
base = simple_try (url, how)
  File "/usr/share/pybliographer/Pyblio/Open.py", line 93, in simple_try
base = opener (url, 0)
  File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 658, in opener
base = DataBase (url)
  File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 351, in __init__
self.__parsefile__ ()
  File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 374, in 
__parsefile__
user [k] [0], 0))
TypeError: reverse() takes exactly 3 arguments (4 given)


and the window shows and very quickly disappears.

3. When starting pybliographic empty, getting a biblio record using
Ctrl-M and trying to save a new bib file I get this:

/usr/share/pybliographer/Pyblio/GnomeUI/FileSelector.py:104: 
DeprecationWarning: use gtk.ComboBox
  self.menu = gtk.OptionMenu ()
Traceback (most recent call last):
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 409, in 
save_document
self.save_document_as ()
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 470, in 
save_document_as
out = file, how = how)
  File "/usr/share/pybliographer/Pyblio/Open.py", line 193, in bibwrite
writer (iter, out)
  File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 646, in writer
entry_write (entry, output)
  File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 555, in 
entry_write
dico [field] = _nativify (value, fieldtype)
  File "/usr/share/pybliographer/Pyblio/Format/BibTeX.py", line 479, in 
_nativify
field, 1)
TypeError: reverse() takes exactly 3 arguments (4 given)


and the file does not get saved.


There errors apparently have something to do with the BibTeX.py
file. But I am no pythonist.

I like pybliographer/phic a lot !

Cheers,

Filippo




-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-fr3
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages pybliographer depends on:
ii  python2.3.5-5An interactive high-level object-o
ii  python-bibtex 1.2.2-1Python interfaces to BibTeX and th
ii  python-glade2 2.8.2-3GTK+ bindings: Glade support
ii  python-gnome2 2.10.0-4   Python bindings for the GNOME desk
ii  python2.3-glade2  2.8.2-3GTK+ bindings: Glade support
ii  python2.3-gnome2  2.10.0-4   Python bindings for the GNOME desk

Versions of packages pybliographer recommends:
ii  yelp  2.10.0-3   Help browser for GNOME 2

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]