Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103593

Summary: [recode 3.6] cannot launch pybliographer due to a possible bug in recode 3.6
Product: Gentoo Linux Reporter: Ben Cov <csy150>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED DUPLICATE    
Severity: normal CC: text-markup+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ben Cov 2005-08-24 09:37:35 UTC
cannot launch pybliographer due to a possible bug in recode 3.6

Reproducible: Always
Steps to Reproduce:
1.#emerge pybliographer
2.#pybliographer 
3.

Actual Results:  
This is pybliographer, version 1.2.6.2
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 151, in ?
    execfile (filename, user_global)
  File "/usr/share/pybliographer/pybrc.py", line 5, in ?
    from Pyblio.TextUI import *
  File "/usr/share/pybliographer/Pyblio/TextUI.py", line 28, in ?
    from Pyblio import Base, Help, Search, Types, Autoload, Fields
  File "/usr/share/pybliographer/Pyblio/Base.py", line 31, in ?
    from Pyblio import Config, Open, Utils, Key, Iterator, Selection, Autoload
  File "/usr/share/pybliographer/Pyblio/Open.py", line 25, in ?
    from Pyblio import Autoload, Fields, Help, Exceptions
  File "/usr/share/pybliographer/Pyblio/Fields.py", line 24, in ?
    import copy, os, re, recode, string, time, types, urlparse
  File "/usr/share/pybliographer/Pyblio/recode.py", line 22, in ?
    import _recode
ImportError: No module named _recode



This seems due to be a known bug in recode.

The list of SUSE report the following problem/solution:
http://lists.suse.com/archive/suse-amd64/2004-Jul/0323.html

A possible patch for recode is here:
http://www.pybliographer.org/help/recode/view?searchterm=recode

Could somebody more knowledgable could look at the problem/patch and apply it if
it is Ok? thanks

# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.11-gentoo-r2 i686)
=================================================================
System uname: 2.6.11-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts bonobo bootsplash cdr crypt cups
curl dlloader eds emboss encode esd f77 fam flac foomaticdb fortran g77 gcj gdbm
gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal howl i8x0 imagemagick imlib
ipv6 java jpeg ldap libg++ libwww mad mikmod motif mozilla moznomail mp3 mpeg
ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png ppds python
qt quicktime readline real sdl slang spell ssl svga symlink tcltk tcpd tetex
theora tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv xvid
zlib video_cards_i810 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-09-25 04:32:07 UTC

*** This bug has been marked as a duplicate of 68263 ***