Pokemon Information Error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the Pokedex initialization described in the issue and isolate the first failing Pokémon, beginning with deoxys. Compare the failing height access with the standalone .height access, then verify that initialization completes for all 898 Pokémon and that the listed cases no longer require the try/except workaround.
Written by the indexing model from the issue text.
Description
So I have the really clunky, awful code above in a program I am running (I know there are functions to do this, but I had to do it on my own using certain commands for a class), and I am trying to initialize a "Pokedex" for all 898 Pokemon. However I keep getting height errors for the following Pokemon:
deoxys
wormadam
giratina
shaymin
basculin
darmanitan
tornadus
thundurus
landorus
keldeo
meloetta
meowstic
aegislash
pumpkaboo
gourgeist
zygarde
oricorio
lycanroc
wishiwashi
minior
mimikyu
toxtricity
eiscue
indeedee
morpeko
urshifu
I don't exactly know what the error is, but I know it doesn't like it and I had to add the try/except here so it would at least initialize what it could. I just no it freaks out whenever it gets to those Pokemon, so I thought I would let you know.

This is a screenshot of the error that I get when it gets to deoxys, again not sure why that's happening because when I use the .height outside of this function for deoxys, it works just fine.
Please let me know, thank you.
- Dominant language
- Python
- Stars
- 361
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PokeAPI/pokebase
-
Status updateOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in PokeAPI/pokebase
Similar issues
-
correction metadata
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
acl-org/acl-anthology#10104 · 1 comment ·
Maintainers usually reply within 1 day
-
bug status/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
prowler-cloud/prowler#12885 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug in GaussianTailProbabilityCalibrator: running_statistics=False still uses a windowed varianceOpenbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
selimfirat/pysad#107 ·
Maintainers usually reply within 1 day
-
bug ci-failure high priority
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vllm-project/vllm-omni#8194 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day