Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Pokemon Information Error

Đang mở
#37 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Screen Shot 2022-03-16 at 22 13 24

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.
Screen Shot 2022-03-16 at 22 11 39

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.

Ngôn ngữ chính
Python
Star
361
Fork
58
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PokeAPI/pokebase

Tất cả issue của PokeAPI/pokebase

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.