Skip to content
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

TypeError trying to import traps or icons (SKYTEMPLE-1BA) #584

Open
theCapypara opened this issue Jul 29, 2023 · 0 comments
Open

TypeError trying to import traps or icons (SKYTEMPLE-1BA) #584

theCapypara opened this issue Jul 29, 2023 · 0 comments

Comments

@theCapypara
Copy link
Member

Some unknown circumstances may cause item or trap image import to fail with this exception:

TypeError: 'NoneType' object is not subscriptable
  File "module\dungeon_graphics\controller\trp_itm_img.py", line 142, in on_import_clicked
  File "module\dungeon_graphics\controller\trp_itm_img.py", line 151, in _init_sprites
  File "module\dungeon_graphics\controller\trp_itm_img.py", line 184, in _switch_entry
  File "skytemple_files\graphics\img_itm\model.py", line 62, in to_pil
  File "skytemple_files\common\tiled_image.py", line 145, in to_pil

This was reported via Sentry (22 times). First: 1.4.7 - last: 1.5.4

@theCapypara theCapypara added this to To do in Core: All open issues via automation Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Status: No status
Development

No branches or pull requests

1 participant