-
Notifications
You must be signed in to change notification settings - Fork 28
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
InvalidDataException Unable to find deck with gatherling id '84479' -- recurrence of the gatherling-deck-changed-id problem #7072
Comments
This may not be a recurrence of that problem as we have this entry in our db:
Meanwhile this page loads just fine and shows a deck: https://gatherling.com/deck.php?mode=view&id=84479 Whereas with the former bug I'd expect the URL in the db to lead us to a blank page with id not known. |
I am not able to repro this bug on local. Local finds the deck and adds it fine and passes over it in subsequent runs fine too. |
The problem seems to be that https://gatherling.com/deck.php?mode=view&id=68249 has no matches in the db. The competition is partially scraped. Edit: that's a pauper deck I'm not sure what I meant here. |
First occurrence of the error is Sat, Feb 22, 11:28 PM (2 days ago) GMT so the failure that caused the partial scrape is probably an hour before that. Note that the PD server is on Australian time. |
That's 10:28am AEDT on Feb 23. There is nothing suspicious in the log at that time. But does the scraper log to uwsgi journal? |
scraper.log just logs the last run so nothing interesting there. |
OK so the problem is that https://pennydreadfulmagic.com/decks/68137/ (Gatherling identifier 84479) has an id in the decksite db and matches in the decksite db. Then when we try to
|
84489 was 84486 when we scraped the tournament. This is the root cause of the issue. Gatherling ids should be stable. See PennyDreadfulMTG/gatherling#273 |
Reported on Discord by bakert#2193
The text was updated successfully, but these errors were encountered: