Bug 173913 - app-admin/system-config-samba runtime error
Bug#: 173913 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dberkholz@gentoo.org Reported By: ssl@uns.ns.ac.yu
Component: Applications
URL: 
Summary: app-admin/system-config-samba runtime error
Keywords:  Inclusion
Status Whiteboard: 
Opened: 2007-04-09 13:56 0000
Description:   Opened: 2007-04-09 13:56 0000
emerge system-config-samba went fine, but starting it gives this error:

(system-config-samba.py:29892): Gdk-WARNING **: DESKTOP_STARTUP_ID contains
invalid UTF-8
Traceback (most recent call last):
  File "/usr/share/system-config-samba/system-config-samba.py", line 40, in ?
    import mainWindow
  File "/usr/share/system-config-samba/mainWindow.py", line 20, in ?
    import sambaBackend
  File "/usr/share/system-config-samba/sambaBackend.py", line 26, in ?
    from rhpl.translate import _, N_
ImportError: No module named rhpl.translate

My net-fs/samba USE flags and other informations are:
[I] net-fs/samba
     Available versions:  3.0.22-r3 3.0.24
     Installed versions:  3.0.24(23:57:13 03/10/07)(-acl -async -automount
-caps cups -doc -examples fam -kerberos kernel_linux -ldap -linguas_ja
-linguas_pl -oav pam python -quotas readline -selinux -swat -syslog -winbind)

emerge --info gives:

Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.5-r0,
2.6.21-rc3-git4 i686)
=================================================================
System uname: 2.6.21-rc3-git4 i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 06 Apr 2007 11:30:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aim alsa audiofile avahi beagle berkdb bidi bluetooth bonobo
bzlib cairo cdr cli composite cracklib crypt cscope cups daap dbus dlloader dri
eds emboss encode epiphany esd evo fam firefox flac fontconfig foomaticdb
galago gd gif gimpprint glitz gnome gnomedb gphoto2 gstreamer gtk gtk2 gtkhtml
hal howl iconv imap imlib ipod isdnlog jabber jpeg kdgraphics lcms libnotify
libsexy libwww mad maildir matroska mbox midi mmx mono moznocompose moznoirc
moznomail mp3 mpeg msn nautilus ncurses nls nptl nptlonly ogg opengl oss pam
pcre pdflib pic png ppds pppd python readline reflection samba session speex
spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts
type1-fonts unicode usb vcd vorbis x264 x86 xml xml2 xorg xpm xprint xv xvid
yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="r128 ati vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Slobodan D. Sredojevic 2007-04-09 14:12:21 0000 -------
emerge rhpl -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-python/pyxf86config-0.3.30  331 kB 
[ebuild  N    ] dev-python/rhpl-0.188  293 kB 

Total: 2 packages (2 new), Size of downloads: 624 kB

Installed it and now everything (that I tried) works well.
Seems the RDEPEND dev-python/rhpl item solves this bug?

------- Comment #2 From Donnie Berkholz 2007-04-25 02:17:04 0000 -------
Fixed, thanks for your report!