Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

paging returns an error using next_page - posting workaround

#33

When using the next_page function, this error is showing up and the program exits:

 /usr/local/lib/ruby/gems/1.8/gems/scrubyt-0.4.1/lib/scrubyt/core/navigation/fetch_action.rb:39:in `restore_host_name': uninitialized class variable @@original_host_name in Scrubyt::FetchAction (NameError)

I modified this file: /usr/local/lib/ruby/gems/1.8/gems/scrubyt-0.4.1/lib/scrubyt/core/navigation/fetch_action.rb

I set @@original_host_name to nil and saved. That's it. It appears fixed. See the code segment below.

  module FetchAction
   @@current_doc_url = nil
   @@current_doc_protocol = nil
   @@base_dir = nil
   @@host_name = nil
   @@history = []
   @@current_form = nil
   @@original_host_name = nil #add this line to fix next_page error

Reported by cyberkid81 · May 9th, 2010 @ 12:54 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.