epall / rpiplanner

RPI Planner
http://rpiplanner.svallens.com/blog/
GNU General Public License v2.0
4 stars 1 forks source link

ripcatalog.rb breaks at random points #3

Closed okeefm closed 14 years ago

okeefm commented 14 years ago

The following error occurs somewhat randomly when running parsecatalog (or more specifically, ripcatalog): I've had it happen twice, at different spots in the catalog.

  ./ripcatalog.rb:70: undefined method `[]' for nil:NilClass (NoMethodError)
  from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/request.rb:76:in `call'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/request.rb:76:in `call_handlers'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/hydra.rb:165:in `handle_request'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/hydra.rb:137:in `get_easy_object'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/easy.rb:201:in `call'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/easy.rb:201:in `failure'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/multi.rb:20:in `multi_perform'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/multi.rb:20:in `perform'
    from /usr/lib/ruby/gems/1.8/gems/typhoeus-0.1.22/lib/typhoeus/hydra.rb:65:in `run'
    from ./ripcatalog.rb:80
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `each_slice'
    from ./ripcatalog.rb:61:in `each'
    from ./ripcatalog.rb:61:in `each_slice'
    from ./ripcatalog.rb:61
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from parsecatalog.rb:10
epall commented 14 years ago

I really think you've got a problem with your Ruby installation. This looks suspiciously similar to #1

okeefm commented 14 years ago

I reinstalled Ruby, and things seem better. I guess we'll call this closed for now.