Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242372 - app-misc/booh-0.9.1 booh-backend cannot locate gettext/locale.rb
Summary: app-misc/booh-0.9.1 booh-backend cannot locate gettext/locale.rb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dams (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 18:27 UTC by Harri Hukkanen
Modified: 2010-02-27 08:13 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 Harri Hukkanen 2008-10-16 18:27:05 UTC
Emerged booh-0.9.1 to a system, which had no previous ruby installs.
booh-backend fails with the following error message after setting basic properties to a new album in booh:

(booh:15882): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.HalVolumeMonitor is not supported
mkdir: hakemiston ”/home/alcyone/kuvat/TokyoWEB” luominen ei onnistu: Tiedosto on olemassa
booh-backend --source '/home/alcyone/kuvat/Tokyo' --destination '/home/alcyone/kuvat/TokyoWEB' --config-skel '/home/alcyone/.booh/Tokyo' --for-gui --verbose-level 2 --theme dark --sizes medium,large --thumbnails-per-row 4  --made-with 'made with <a href=%booh>booh</a>!' --index-link '' --mproc 4 --comments-format '%t'  --info-pipe /tmp/boohpipe.15882.0
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- gettext/locale (LoadError)
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
	from /usr/bin/booh-backend:25



Reproducible: Always

Steps to Reproduce:
1. emerge booh
2. Run booh from shell
3. File->New
4. Select a directory with JPG files and set output directory.
5. Click OK
Actual Results:  
Above error message in shell and booh shows dialog "There was something wrong, sorry:".

Expected Results:  
Started thumbnail creation etc.

This fixes the problem (found from https://www.zarb.org/pipermail/booh-discuss/2008-June/000261.html):
Change line 25 of /usr/bin/booh-backend from:
require 'gettext/locale'
to:
require 'locale'



emerge --info:
alcyone /usr/bin # emerge --info
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc12 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.23.17 i686)
=================================================================
System uname: Linux-2.6.23.17-i686-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.0
Timestamp of tree: Thu, 16 Oct 2008 16:34:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=amdfam10 -mtune=amdfam10 -fomit-frame-pointer -pipe -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=amdfam10 -mtune=amdfam10 -fomit-frame-pointer -pipe -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://ftp.linux.ee/pub/gentoo/distfiles/  http://mirror.uni-c.dk/pub/gentoo/ http://213.186.33.37/gentoo-distfiles/   ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fi_FI.UTF-8"
LC_ALL="fi_FI.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all"
LINGUAS="fi"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/roslin /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amr amrnb amrwb apache2 asf audiofile browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cjk cli cracklib crypt cups curl dar64 dbus device-mapper dga directfb divx divx4linux djvu dri dts dv dvb dvd dvdr dvdread dvi ecc edl enca encode erandom exif fame fbcon ffmpeg firefox flac fontconfig fortran fpx gd gdbm gif glitz glut gmedia gnome gpm graphviz gs gtk gtk2 hal hdri iconv id3 id3tag idea idn imagemagick imap imlib injection ipv6 isdnlog jack java jbig jikes jpeg jpeg2k ladspa lame lcms lesstif libcaca libsamplerate live loop-aes lzo mad madwifi maildir matroska midi mikmod mjpeg mmap mmx mmxext mng mod modplug motif mozbranding mozilla moznocompose moznoirc moznomail mp2 mp3 mpeg mpeg2 mplayer mpm-prefork mudflap musepack mysql ncurses network nls no-htdocs nptl nptlonly nuv nvidia ogg oggvorbis openal openexr opengl openmp oss pam pcre pdf pdflib perl pic pie player plotutils png pnm pppd pvr python qt quicktime rar readline real realmedia reflection rle rtc sasl sdk sdl session slang smp sndfile speex spell spl sqlite srt sse sse2 ssl ssse3 stream subp subtitles svg sysfs t1lib tcltk tcpd tetex tga theora threads threadsafe tiff toolbar truetype unicode urandom usb v4l v4l2 vcd vhosts videos vorbis wifi win32codecs wmf wmp wxgtk1 wxwindows x264 x86 xanim xext xinerama xml xml2 xorg xosd xscreensaver xulrunner xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling unique_id vhost_alias auth_digest" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stephan Friedrichs 2008-11-01 23:24:01 UTC
Same here on x86_64 with booh-0.9.1

paludis --info:
paludis 0.30.3
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2 p1.1)
        CXXFLAGS:              -march=nocona -O2 -pipe
        LDFLAGS:               -Wl,-O1
        DATE:                  2008-10-11T17:27:15+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20070214

    Reduced Privs:
        reduced_uid:           1000
        reduced_uid->name:     igel
        reduced_uid->dir:      /home/igel
        reduced_gid:           100
        reduced_gid->name:     users

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib64/python2.5/site-packages
        RUBYINSTALLDIR:        

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/lib/portage/world

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi:              0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p39
        dev-java/java-config:  1.3.7 2.1.6-r1
        dev-lang/python:       2.4.4-r14 2.5.2-r8
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/cmake:        2.6.2
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.0
        sys-apps/openrc:       0.3.0-r1
        sys-apps/sandbox:      1.2.18.1-r3
        sys-devel/autoconf:    2.13 2.63
        sys-devel/automake:    1.10.1-r1 1.4_p6 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.19
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     2.2.6a
        virtual/os-headers:    2.6.27-r2 (for sys-kernel/linux-headers::installed)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /

Repository gentoo-haskell:
    format:                    ebuild
    location:                  /usr/local/overlays/gentoo-haskell
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/overlays/gentoo-haskell/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/overlays/gentoo-haskell/.cache/names
    newsdir:                   /usr/local/overlays/gentoo-haskell/metadata/news
    profile_eapi:              0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0
    securitydir:               /usr/local/overlays/gentoo-haskell/metadata/glsa
    setsdir:                   /usr/local/overlays/gentoo-haskell/sets
    sync:                      darcs+http://code.haskell.org/gentoo/gentoo-haskell/
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository gentoo-local:
    format:                    ebuild
    location:                  /usr/local/overlays/gentoo-local
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/overlays/gentoo-local/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/overlays/gentoo-local/.cache/names
    newsdir:                   /usr/local/overlays/gentoo-local/metadata/news
    profile_eapi:              0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0
    securitydir:               /usr/local/overlays/gentoo-local/metadata/glsa
    setsdir:                   /usr/local/overlays/gentoo-local/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

No packages were specified on the command line, so detailed information is not
available (Paludis can display detailed information for both installed and
installable packages).
Comment 2 Hans de Graaff gentoo-dev Security 2010-02-27 08:13:07 UTC
Thank for the report. This should be fixed in booh 0.9.2.2.