Re: Pybliographic crashes on startup

Haran <divask-/[email protected]>
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
>> I have a problem using Pybliographic on Debian Sid. I get the 
>> following Python error when starting:
> 
> Have you tried moving ~/.pybrc.conf out of the way and seeing if that
> makes a difference?


I'm getting the same problem with Pybliographic 1.2.6 on Fedora Core 3.
Removing .pybrc.conf doesn't help either. On the same system, 
Pybliographic 1.2.5 works fine using the same dependencies (Python 
2.3.4; Gtk 2.4.14; PyGTK 2.4.0). Here is the traceback:


**********
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90:
GtkDeprecationWarning: gtk.load_font is deprecated, use gtk.gdk.Font instead
   self.warn(message, DeprecationWarning)
This is Pybliographic 1.2.6 [Python 2.3.4, Gtk 2.4.14, PyGTK 2.4.0]
Traceback (most recent call last):
   File "/usr/local/bin/pybliographer", line 166, in ?
     execfile (filename, user_global)
   File "/usr/local/share/pybliographer/pybliographic.py", line 44, in ?
     main.new_document ()
   File "/usr/local/share/pybliographer/Pyblio/GnomeUI/Pybliographic.py",
line 55, in new_document
     doc = Document.Document (db)
   File "/usr/local/share/pybliographer/Pyblio/GnomeUI/Document.py", line
122, in __init__
     if default is not None: default = pickle.loads (default)
TypeError: ('__init__() takes at least 2 arguments (1 given)', <class
'Pyblio.Sort.FieldSort'>, ())
**********

-- 
Haran Sivakumaran



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.