Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105474 - pybliographic does not start, TypeError
Summary: pybliographic does not start, TypeError
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-10 03:35 UTC by Eckhart Guthöhrlein
Modified: 2005-09-16 10:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eckhart Guthöhrlein 2005-09-10 03:35:08 UTC
app-office/pybliographer-1.2.6.2 seems broken in some way. I cannot start
pybliographic. It simply quits with some python error messages, as shown below.

Reproducible: Always
Steps to Reproduce:
1. run pybliographic from the command lime
2.
3.

Actual Results:  
Quit with error message:

Dies ist Pybliographic 1.2.6.2 [Python 2.4.1, Gtk 2.6.8, PyGTK 2.6.1]
Traceback (most recent call last):
  File "/usr/bin/pybliographer", line 166, in ?
    execfile (filename, user_global)
  File "/usr/share/pybliographer/pybliographic.py", line 44, in ?
    main.new_document ()
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Pybliographic.py", line 55, in
new_document
    doc = Document.Document (db)
  File "/usr/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'>, ())


Expected Results:  
Start up and open gui for pybliographer.

# emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c
/usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LC_ALL="de_DE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acpi alsa audiofile avi bash-completion berkdb
bitmap-fonts bonobo bzip2 cdparanoia cdr cjk crypt cups curl doc dvd dvdr
dvdread eds emboss encode examples exif fam ffmpeg flac foomaticdb fortran gdbm
gif glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib ipv6 java
jpeg junit ldap libwww lm_sensors lzw lzw-tiff mad motif mp3 mpeg ncurses nls
ogg oggvorbis opengl pam pdflib perl png python quicktime readline ruby sdl
slang spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode usb userlocales vcd vorbis wmf xine xml xml2 xmms xpm xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Eckhart Guthöhrlein 2005-09-16 10:25:00 UTC
Obviuosly, some old configuration files from previous versions were the problem.
I did:

find ${HOME} -name \*pyb\* -exec rm -r {} \;

and pybliographic works flawlessly now.