Added a book to my collection (will add the exact ISBN to the bug when I get the book back) and after doing so, when I mouse over on the book in My Library, alexandria crashes with the following trace : shyam@trinity ~ $ alexandria /usr/lib/ruby/site_ruby/1.8/alexandria/ui/iconview_tooltips.rb:85:in `label_for_book': undefined method `size' for nil:NilClass from /usr/lib/ruby/site_ruby/1.8/alexandria/ui/iconview_tooltips.rb:116:in `on_motion' from /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:51:in `call' from /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:51:in `main' from /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:51:in `start_gtk' from /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:57:in `main' from /usr/lib/ruby/site_ruby/1.8/alexandria.rb:40:in `main' from /usr/bin/alexandria:27 I'm blocking the stablereq bug, since I don't think this is stable enough, yet?
This looks like bug #215634 to me. I definitely found that bug via Alexandria and your backtrace looks similar to what I remember. What version of ruby-gtk2 do you have installed?
(In reply to comment #1) > This looks like bug #215634 to me. I definitely found that bug via Alexandria > and your backtrace looks similar to what I remember. What version of ruby-gtk2 > do you have installed? # eix ruby-gtk2 [I] dev-ruby/ruby-gtk2 Available versions: 0.16.0-r2 (~)0.16.0-r3 0.16.0-r4 Installed versions: 0.16.0-r4(15:11:30 08/01/09) Homepage: http://ruby-gnome2.sourceforge.jp/ Description: Ruby Gtk2 bindings
Sorry, I wasn't thinking when I posted my last comment - that bug caused a segfault not a ruby backtrace but my mind saw tooltips and immediately jumped to it. I've just recreated this on my install - it happens when you have a book with no publisher. You can't add a book like this manually, but you can delete the publisher after its been created. Tonight I'll see if the problem exists in SVN and file a bug upstream if it does.
Created attachment 178413 [details, diff] Backport the fix from upstream SVN This issue seems to be fixed in upstream SVN and this patch applies those changes to the current version.
Created attachment 178414 [details] Updated ebuild to apply the above patch
(In reply to comment #4) > Created an attachment (id=178413) [edit] > Backport the fix from upstream SVN > > This issue seems to be fixed in upstream SVN and this patch applies those > changes to the current version. John, Verified the patch fixes the issue.
In which case, could someone please submit it to CVS?
(In reply to comment #7) > In which case, could someone please submit it to CVS? > [11:51:20] <+CIA-22> a3li * gentoo-x86/app-misc/alexandria/ (3 files in 2 dirs): [11:51:20] <+CIA-22> Revbump to fix bug 254601, thanks to John Keeping for the patch. [11:51:20] <+CIA-22> (Portage version: 2.2_rc22/cvs/Linux 2.6.28-gentoo x86_64) done. :)