I have been hunting for the update that is responsible for the recent crashing of straw. Sometime in the last week an update of my system has caused straw to crash as soon as you click on a feed to display its current articles. Running straw in console gives the following results. Note these error messages occur before i click on anything on the reader. trent@insanity ~ $ straw /usr/lib/python2.3/site-packages/straw/MainWindow.py:836: DeprecationWarning: use gtk.UIManager self._item_factory = gtk.ItemFactory(gtk.Menu, '<feed_list_popup>') /usr/lib/python2.3/site-packages/straw/MainWindow.py:640: DeprecationWarning: use gtk.UIManager self.item_factory = gtk.ItemFactory(gtk.Menu, "<category_menu>") /usr/lib/python2.3/site-packages/straw/MainWindow.py:324: DeprecationWarning: use gtk.UIManager self._item_factory = gtk.ItemFactory(gtk.Menu, '<item_list_popup>') /usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py:90: GtkDeprecationWarning: gtk.mainiteration is deprecated, use gtk.main_iteration instead self.warn(message, DeprecationWarning) Reproducible: Always Steps to Reproduce: 1.execute straw 2.click on any feed in the left vertical pane of rss feeds. 3. Actual Results: I get the error dialog box that the program has crashed. Expected Results: It should have listed the articles retrieved for that feed. Note I have been using version 0.25.1 for some time now so the problem lies with something that has been updated lately. I will continue to search for the underlying cause. Sorry that I don't have anymore info than this. Oh I have already tried rolling back libxml2 from 2.6.19 to 2.6.17. This had no effect. I doubt that it is the problem but could com_err or ss have any effect on straw. com_err was added in the last update and it caused a major revdep-rebuild of my system. And yes i have already completed the revdep-rebuild. insanity log # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 AMD Duron(tm) Processor Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 13:45:29)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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 /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/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d aalib acpi adns alsa amd apache2 apm arts artswrappersuid authdaemond avi berkdb bitmap-fonts blender-game bonobo bootspla c cdparanoia cdr cdrom cjk clamav codecs crypt cups curl dga directfb divx4linux dmx dnd doc dv dvd dvdread eds emboss emoticon encode erandom esd fam fbcon ffmpeg fftw flac fmod foomaticdb foreign-package foreign-sysvinit fortran freetds freetype fs gb gd gdbm gif gimpprint glade glut gnome gnomedb gpm graphviz gsl gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib imlib2 innodb ipv6 ithreads jabber java javascript jikes joystick jpeg junit jython kde kerberos lcms ldap libclamav libg++ libgda libwww lzo mad maildir mailwrapper mbox mcal md5sum memlimit mikmod mmx mmx2 motif mozcalendar mozdomi mozilla mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn music mysql mysqli native ncurses net nls nntp nptl nvidia oav offensive ogg oggvorbis openal opengl opens oscar oss pam pdf pdflib pear-db perl php png ppds prelude pthreads python qt quicktime readline regexp ruby samba sasl scanner sdl slang slp snmp soap sockets socks5 softmmu speedo speex spell spl sqlite ssl svg svga tcltk tcpd tetex threads tiff tools transcode truetype truetype-fonts type1 type1-fonts unicode unsafe usb vhosts videos virus-scan vorbis wifi wmf wxwin wxwindows xine xinetd xml xml2 xmms xpm xscreensaver xsl xv xvid yahoo zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
i can reproduce this problem, i'm looking at the code right now.
If there is anything you want me to try just let me know. I am looking at the straw ebuild and going through my emerge logs. So far nothing is really jumping out at me.
okay, after debugging, i think i know how to fix the problem. Basically the program would crash on line 159 in MainWindow.py when it was trying to close the stream to the gtkhtml2 document. Heres the steps to fix it: 1. emerge gnome-python-extras ( need to unmask this, as well as gnome-python-2.10.0 and pyorbit-2.0.1 since they are ~ dependencies ) Make sure you are emerging both with gtkhtml use flag set. This has to do with the gtkhtml2 module, which is now located in gnome-python-extras. Please let me know if this works for you, because some packs will have to have their deps adjusted. Thanks!
John, thanks for the info. The program is working now. There are some items in the output in the console window that the writers of straw will probably have to look into with regards to deprecated python objects. I wonder though how much of that is due to them keeping this program runnable on older versions of python. To recap, I umasked gnome-python-extras and its dependencies as required to install as you suggested and the program is running now.
all the deprecated messages are quite easy to fix, I actually fixed them as I was going along. it should be even faster for the maintainers since they already know the code. I'll close this bug when the dependencies are changed, thanks for the quick replies.
shouldn't straw be downgraded or something until this is sorted out?
all the deps have been sorted out, in CVS.