Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixnum (NameError) #47

Open
Griogair opened this issue Aug 16, 2023 · 0 comments
Open

Fixnum (NameError) #47

Griogair opened this issue Aug 16, 2023 · 0 comments

Comments

@Griogair
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant