Package: rbbr Version: 0.6.0-3 Severity: normal Tags: patch --- Please enter the report below this line. ---
When no method selected in methods tab and i trying to type
something there (search as you type feauture) I getting following error
/usr/local/lib/site_ruby/1.8/rbbr/ui/browselist.rb:48:in `initialize':
undefined method `path' for nil:NilClass
from /usr/local/lib/site_ruby/1.8/rbbr/ui.rb:69:in `call'
from /usr/local/lib/site_ruby/1.8/rbbr/ui.rb:69:in `main'
from /usr/local/lib/site_ruby/1.8/rbbr/ui.rb:69:in `main'
from /usr/bin/rbbr:22
Attached patch against upstream svn fixes this bug.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.24-1-686
Debian Release: lenny/sid
500 unstable ftp.mgts.by
500 unstable debian.o-hand.com
500 testing ftp.mgts.by
1 experimental ftp.mgts.by
--- Package information. ---
Depends (Version) | Installed
=================================-+-===========
ruby1.8 | 1.8.6.111-4
libgettext-ruby1.8 (>= 0.5.2) | 1.10.0-1
libgtk2-ruby (>= 0.9.1) | 0.16.0-10
Index: lib/rbbr/ui/browselist.rb
===================================================================
--- lib/rbbr/ui/browselist.rb (revision 2818)
+++ lib/rbbr/ui/browselist.rb (working copy)
@@ -45,7 +45,7 @@
end
signal_connect("cursor-changed") do
- data = selection.selected.path.to_str
+ data = selection.selected.path.to_str if selection.selected
if @first
@first = false
save_memento(nil)
signature.asc
Description: This is a digitally signed message part

