Skip to content

Fixnum (NameError) #47

@Griogair

Description

@Griogair

Hello, I am a complete rookie when it comes to Ruby so apologies if this is an obvious fix. After installing all the dependencies I run the Ruby script but keep getting this message:

C:\Users\Griogair\Documents\Planning Portal Database>ruby my_scraper.rb
C:/Users/Griogair/.local/share/gem/ruby/3.2.0/gems/uk_planning_scraper-0.5.0/lib/uk_planning_scraper/authority_scrape_params.rb:15:in `validated_days': uninitialized constant UKPlanningScraper::Authority::Fixnum (NameError)

  check_class(n, Fixnum)
                 ^^^^^^
    from my_scraper.rb:7:in `block in <main>'
    from my_scraper.rb:6:in `each'
    from my_scraper.rb:6:in `<main>'

Would be very grateful if you could please explain why this is happening and make any suggestions on how to resolve the error.

Thank you,

Griogair

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions