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

Bug 102914

Summary: straw-0.25.1-r1 fails to load as a user
Product: Gentoo Linux Reporter: Andrew Sayman <lorien420>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Sayman 2005-08-17 16:00:47 UTC
When attempting to run straw, I get the following error message:
/usr/lib/python2.3/site-packages/gtk-2.0/gnome/vfs.py:4: DeprecationWarning:
Module gnome.vfs is deprecated; please import gnomevfs instead
  DeprecationWarning)
Traceback (most recent call last):
  File "/usr/bin/straw", line 35, in ?
    s = straw.Main()
  File "/usr/lib/python2.3/site-packages/straw/Main.py", line 22, in __init__
    self._initialize_config_from_environment()
  File "/usr/lib/python2.3/site-packages/straw/Main.py", line 104, in
_initialize_config_from_environment
    config = straw.Config.get_instance()
  File "/usr/lib/python2.3/site-packages/straw/Config.py", line 564, in get_instance
    config_instance = create_instance()
  File "/usr/lib/python2.3/site-packages/straw/Config.py", line 548, in
create_instance
    cp = ConfigPersistence(
  File "/usr/lib/python2.3/site-packages/straw/Config.py", line 540, in
create_gconf_persistence
    client.add_dir(GCONF_STRAW_ROOT, gconf.CLIENT_PRELOAD_ONELEVEL)
gobject.GError: Adding client to server's list failed, CORBA error:
IDL:omg.org/CORBA/COMM_FAILURE:1.0

If I run straw as root, I don't get this problem. Running straw as root isn't a
reasonable option however.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-09-29 16:55:27 UTC
are you still having this issue?

if so, have you run revdep-rebuild lately?

what version of gconf and orbit are you using, have you tried re-emerging them?

Are you trying to run this as a local user or remotely?

Please provide your emerge info as well.

Thanks
Comment 2 Andrew Sayman 2005-09-29 22:52:06 UTC
It seems that I'm no longer having this problem. I emerged gnome-python,
gnome-python-extras, and then straw again and everything works now.
Comment 3 Kurt Guenther 2005-10-12 13:09:13 UTC
I'm getting the same issue.  From root, I can run straw fine.  But, from a user,
I get the same error as above:

kurtg@seeker ~ $ straw
/usr/lib/python2.4/site-packages/gtk-2.0/gnome/vfs.py:4: DeprecationWarning:
Module gnome.vfs is deprecated; please import gnomevfs instead
  DeprecationWarning)
Traceback (most recent call last):
  File "/usr/bin/straw", line 35, in ?
    s = straw.Main()
  File "/usr/lib/python2.4/site-packages/straw/Main.py", line 22, in __init__
    self._initialize_config_from_environment()
  File "/usr/lib/python2.4/site-packages/straw/Main.py", line 104, in
_initialize_config_from_environment
    config = straw.Config.get_instance()
  File "/usr/lib/python2.4/site-packages/straw/Config.py", line 564, in get_instance
    config_instance = create_instance()
  File "/usr/lib/python2.4/site-packages/straw/Config.py", line 557, in
create_instance
    convert_if_necessary(config)
  File "/usr/lib/python2.4/site-packages/straw/Config.py", line 510, in
convert_if_necessary
    config.feeds = _convert_feeds(feeds, None)
  File "/usr/lib/python2.4/site-packages/straw/Config.py", line 496, in
_convert_feeds
    itemstore = ItemStore.get_instance(config.straw_dir)
  File "/usr/lib/python2.4/site-packages/straw/ItemStore.py", line 529, in
get_instance
    itemstore_instance = ItemStore(straw_dir)
  File "/usr/lib/python2.4/site-packages/straw/ItemStore.py", line 433, in __init__
    self._db = MyDB(DATABASE_FILE_NAME, straw_dir, create = 1)
  File "/usr/lib/python2.4/site-packages/straw/ItemStore.py", line 81, in __init__
    hig_alert.reportError(
NameError: global name '_' is not defined
Exception exceptions.AttributeError: "'Config' object has no attribute '_slots'"
in <bound method FeedList.__del__ of []> ignored

I've reemerged these two: 

dev-python/gnome-python-2.12.0
dev-python/gnome-python-extras-2.12.0

I have: 

gnome-base/gconf-2.12.0
gnome-base/orbit-2.12.4

Here's the straw version: 

net-news/straw-0.25.1-r1
 
revdep-rebuild is clean.  It's the first thing I ran. 

Comment 4 Kurt Guenther 2005-10-12 13:16:48 UTC
Here is my `emerge info`: 

seeker linux # emerge info
Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.50GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
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/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cli
crypt cups curl dba dga doc dvd eds elibc_glibc emacs emboss encode esd fam
foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile hal howloss imagemagick imlib ipv6 ithreads java jpeg junit ldap libg++
libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis
opengl oss pam pdflib perl png postgres python quicktime readline samba scanner
sdl slang snmp spell ssl svga tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode usb vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY