Code Monkey home page Code Monkey logo

netkeiba-crawler's People

Contributors

kawakubox avatar

Watchers

 avatar

netkeiba-crawler's Issues

ActiveRecord::RecordInvalid: Validation failed: Horse has already been taken

https://sentry.io/kawakuboxcom/uma/issues/288319819/

ActiveRecord::RecordInvalid: Validation failed: Horse has already been taken
  app/models/scraper/race_entry.rb:38:in `block (2 levels) in scrape!'
    hr = HorseResult.find_or_create_by!(
  app/models/scraper/race_entry.rb:33:in `block in scrape!'
    tr.search('td')[4..-1].each do |td|
  app/models/scraper/race_entry.rb:21:in `scrape!'
    entry_table.search('tr')[1..-1].each do |tr|
  app/jobs/scrape_race_entry_job.rb:9:in `perform'
    Scraper::RaceEntry.new(race_id).scrape!
  bin/rails:9:in `<top (required)>'
    require 'rails/commands'
...
(94 additional frame(s) were not displayed)

ActiveRecord::RecordInvalid: Validation failed: Horse has already been taken

ActiveRecord::RecordInvalid: Validation failed: Race name must exist

https://sentry.io/kawakuboxcom/uma/issues/312066964/

ActiveRecord::RecordInvalid: Validation failed: Race name must exist
  app/models/scraper/race_entry.rb:47:in `block (2 levels) in scrape!'
    r = Race.find_or_create_by!(key: parser.race_key)
  app/models/scraper/race_entry.rb:44:in `block in scrape!'
    tr.search('td')[4..-1].each do |td|
  app/models/scraper/race_entry.rb:30:in `scrape!'
    entries.each do |tr|
  app/jobs/scrape_race_entry_job.rb:9:in `perform'
    Scraper::RaceEntry.new(race.key).scrape!
  bin/rails:9:in `<top (required)>'
    require 'rails/commands'
...
(98 additional frame(s) were not displayed)

ActiveRecord::RecordInvalid: Validation failed: Race name must exist

NoMethodError: undefined method `text' for nil:NilClass

https://sentry.io/kawakuboxcom/uma/issues/290761698/

NoMethodError: undefined method `text' for nil:NilClass
  app/models/scraper/race_entry.rb:127:in `ordinal'
    end
  app/models/scraper/race_entry.rb:13:in `scrape!'
    ordinal:        ordinal,
  app/jobs/scrape_race_entry_job.rb:9:in `perform'
    Scraper::RaceEntry.new(race_id).scrape!
  bin/rails:9:in `<top (required)>'
    require 'rails/commands'
...
(72 additional frame(s) were not displayed)

NoMethodError: undefined method `text' for nil:NilClass

ActiveRecord::RecordInvalid: Validation failed: Horse has already been taken

https://sentry.io/kawakuboxcom/uma/issues/293264438/

ActiveRecord::RecordInvalid: Validation failed: Horse has already been taken
  app/models/scraper/race_entry.rb:64:in `block (2 levels) in scrape!'
    hr = HorseResult.find_or_create_by!(
  app/models/scraper/race_entry.rb:59:in `block in scrape!'
    tr.search('td')[4..-1].each do |td|
  app/models/scraper/race_entry.rb:55:in `scrape!'
    @doc2.at('table.denmaLs').search('tr')[1..-1].each do |tr|
  app/jobs/scrape_race_entry_job.rb:9:in `perform'
    Scraper::RaceEntry.new(race.key).scrape!
  bin/rails:9:in `<top (required)>'
    require 'rails/commands'
...
(97 additional frame(s) were not displayed)

ActiveRecord::RecordInvalid: Validation failed: Horse has already been taken

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.