Open dburr opened 9 years ago
I think I introduced this bug recently when I imported the songs. Some songs required to replace the Japanese character "!" with a regular ASCII "!", so I added that in the cleaner function. Since this event doesn't need this replacement, I moved that in the import_songs script (see @4564254d86b33a6f89876136da7b1cdc6508587e).
Can you tell me if the script works now?
The reason you see the script stop at this number is probably because the cards are not imported in order of ID, but ordered by rarity/promo (not sure). Tell me if you see all of them in your local db or not though.
Thanks for reporting this.
Hi, I am experimenting with the schoolido.lu code in a VM so that I can understand how it works and maybe (eventually) help contribute. Anyway I am following the steps in the Contributor's Guide. Everything is going well until the "Fill database with cards" step at which point the script crashes. It looks like it's having trouble trying to add the event
獲物は…君だよ!
manage.py
supposedly has a-v VERBOSITY
argument to increase verbosity but it does not seem to change the output at all (I tried 1, 2 and 3)So I added my own debug print statement in
import_jp_events()
inapi/management/commands/import_jp_events.py
:I tried going to that URL and it does in fact return a 404 page.
BTW this occurs whether or not I use
noimages
Also why does it stop at card #390 when importing cards? Unless I'm mistaken, I'm pretty sure there are more cards in the game than that.