hi Thomas,

On Wed, Jul 20, 2005 at 12:06:09PM +0200, Thomas Poindessous wrote:
> Hi, I got a new bug with raggle. When I navigate, sometime raggles quits
> with this error :
> 
> /usr/bin/raggle:3399:in `select_item': undefined local variable or
> method `host_url' for Raggle::Interfaces::NcursesInterface:Module
> (NameError)
>         from /usr/bin/raggle:2695:in `select_win_item'
>         from /usr/bin/raggle:3129:in `set_active_win'
>         from /usr/bin/raggle:2183:in `next_window'
>         from (eval):1:in `_load'
>         from (eval):1:in `call'
>         from /usr/bin/raggle:4080:in `main_loop'
>         from /usr/bin/raggle:5367:in `main'
>         from /usr/bin/raggle:6276
> Thanks for using Raggle!

thanks for your report. Can you try the attached patch and see if it
fixes the problem? It seems like a typo to me (host_url instead of
host_uri, which actually is defined).

bye,
    - michael
--- raggle.orig 2005-07-20 12:55:41.000000000 +0200
+++ raggle      2005-07-20 12:55:50.000000000 +0200
@@ -3396,7 +3396,7 @@
           item_url = feed['items'][id]['url'].dup
           item_url = case item_url
             when (/(\w+):\/\//):  item_url
-            else [host_url, item_url].join('/')
+            else [host_uri, item_url].join('/')
           end
         end
         

Reply via email to