-
-
Notifications
You must be signed in to change notification settings - Fork 970
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
Pokemon species from Paldea have wrong id #812
Comments
came here to say this. Everything is good for me up until #917. |
Yes, I can confirm. To solve this problem we can split the resolution in two steps:
|
if you could be a little more specific with the formatting, I might be willing to help. would you want it like (wrongId1, rightId1), (wrongId2, rightId2), (wrongId3, rightId3), etc.? |
Hi, are you talking about the same issue @oneirocosm mentioned here? Let me understand, the new pokemon have been released but their ID hasn't? |
Yeah, the problem is the same mentioned there. Now we have the official ids, you can find them here : https://www.serebii.net/pokemon/nationalpokedex.shtml |
Thanks @NathanGuidry, the format should be: |
Here it is. Be wary of the null #980 and #987 that I mentioned earlier. |
If you know the correct ID feel free of submitting a PR fixing the order and the gaps |
Wow, good job @NathanGuidry! A fast work! |
Perfect, It will be easy to create a script to fix this, but there is a problem. This change will affect all these relations:
Just the ones with star could give problems related to concurrency, but if someone else merges changes made using the wrong Ids from another branch, we'll have inconsistent data... In addition to that, do I have permissions to directly push a branch on pokeapi, or should I just send you the updated files, so you can commit them? @Naramsim |
Hi, we'll need to change the There are currently two PRs that still use the old So I think the best is to wait for me to review those PRs and have them merged. Then we can run your script which should change the I'd also like to know what @giginet thinks. Currently, you @tillfox don't have any permission here on this repo. The best would be: wait for those PRs to be merged, fork |
Ok @Naramsim, update me when I can go! |
@Naramsim sorry to bother you again, can you confirm me that these relations that I mentioned before are the only ones that contain ids of pokemons from Paldea? If you confirm this, I know that I have to focus only on these. Thanks in advance for the answer! |
Can't confirm, an analysis has to be done. And I don't have time 😥 |
Got it! So, I made the script to fix the ids of Pokemons from Paldea in these relations:
If someone knows other relations that contains pokemons from Paldea with wrong ids, report them here, so I will extend the script! Now, while the other pull requests are waiting to be accepted I'll refine and fix my script properly... Please notify me when I can apply the script, as soon as possible, before other data is added to the relations using wrong ids! |
@NathanGuidry I spotted an error in the csv; Gholdengo id in pokeapi is 977, but it should be 1000. The line "977,1000" should be added to the file. if you can, please check if there are other things missing, so when I will apply the script there won't be errors left... Thanks in advance! |
Apologies, I double checked all the data and that was the only error. |
Perfect, thanks! |
Hello everyone! @giginet's PRs are merged! Can you update your master and re run your tests? Many thanks! |
@Naramsim so is everything ok with data? |
I guess yes! Can you test a bit the API? @simonorono you can submit the other sprites i think |
the https://pokeapi.co/api/v2/pokemon-species/ endpoints still return the incorrect pokemon including #980 and #987 in which still dont exist |
Hi! The API didn't get updated. Can you please try tomorrow? It would be nice if you could also update the |
Questa è censura @Naramsim! Apart from jokes, I'll fix it now I guess... |
Ok, sad news, I can't fix this problem by script, because the order is something that has to be updated manually, since the order is not just related to pokemon ids, but to their evos and pre-evos too. So it needs a human intervention, or a more complicate script that I don't have time to write by now... I'll just close the issue and open a new one! |
The ids of pokemons from Paldea region are inconsistent with the actual numbering reported on serebii.net. This problem obviously exists even on other relations, like "pokemon_stats" and "pokemon". The ids should be changed evenly.
The text was updated successfully, but these errors were encountered: