Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78456 - Straw 0.25.1 not starts
Summary: Straw 0.25.1 not starts
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 78474 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-17 18:34 UTC by Aldo "xoen" Giambelluca
Modified: 2005-01-22 17:53 UTC (History)
0 users

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 Aldo "xoen" Giambelluca 2005-01-17 18:34:25 UTC
When I try to start Straw (Version 0.25.1) nothing appears...
If I try in a terminal, appear this :


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 557, in create_instance
    convert_if_necessary(config)
  File "/usr/lib/python2.3/site-packages/straw/Config.py", line 492, in convert_if_necessary
    if feeds is not None and feeds[0].get('_n_items_unread', None) is None:
IndexError: list index out of range

Reproducible: Always
Steps to Reproduce:
1. #ACCEPT_KEYWORDS="~x86" emerge =straws-0.25.1
2. $straws
Actual Results:  
Show this :


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 557, in
create_instance
    convert_if_necessary(config)
  File "/usr/lib/python2.3/site-packages/straw/Config.py", line 492, in
convert_if_necessary
    if feeds is not None and feeds[0].get('_n_items_unread', None) is None:
IndexError: list index out of range

Expected Results:  
Straw starts

dev-lang/python-2.3.4
dev-python/pygtk-2.4.1


emerge info :

Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(TM) XP 2000+
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -mcpu=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mcpu=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo
rsync://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.inode.at/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib adns alsa apm arts avi berkdb bitmap-fonts bonobo cd cdr
crypt cups doc dvd dvdr encode esd f77 fam flac font-server foomaticdb fortran
gcj gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
imagemagick imlib ipv6 jabber jack java jpeg kde libg++ libwww mad mikmod mime
mmx mng motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl
png ppds python qt quicktime readline ruby sdl slang socks5 spell sse ssl svg
svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb
videos wmf x86 xine xml xml2 xmms xpm xv xvid zlib"
Comment 1 Aldo "xoen" Giambelluca 2005-01-17 22:43:07 UTC
Solution :

$rm -rf ~/.straw
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2005-01-20 01:14:46 UTC
*** Bug 78474 has been marked as a duplicate of this bug. ***
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2005-01-20 01:17:56 UTC
if feeds is not None and feeds[0]. (index out of range) - not quite sure how that works - ie feeds != None and there's no feeds[0].

Anyway, you mentioned removing your configs fixed this. Can you reproduce the bug?
Comment 4 Aldo "xoen" Giambelluca 2005-01-22 09:44:00 UTC
I've installed another time stable version 0.19.2 because I had this other problem : http://bugs.gentoo.org/show_bug.cgi?id=78956

Now I've reinstalled this 0.25.1 version to view if this problem persist, but I think the problem was resolved deleting the config dir, maybe in this directory were configs from the older version.

Now the program not crash at start. So I think this bug is fixed.
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2005-01-22 17:53:10 UTC
Thanks for responding.