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

KeyError: 4132 #211

Open
XXS122 opened this issue Mar 6, 2025 · 0 comments
Open

KeyError: 4132 #211

XXS122 opened this issue Mar 6, 2025 · 0 comments

Comments

@XXS122
Copy link

XXS122 commented Mar 6, 2025

File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\bot_ai_internal.py", line 277, in _abilities_count_and_build_progress
for order in unit.orders:
File "D:\anaconda\envs\textcraft\lib\functools.py", line 981, in get
val = self.func(instance)
File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\unit.py", line 1029, in orders
return [UnitOrder.from_proto(order, self._bot_object) for order in self._proto.orders]
File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\unit.py", line 1029, in
return [UnitOrder.from_proto(order, self._bot_object) for order in self._proto.orders]
File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\unit.py", line 96, in from_proto
ability=bot_object.game_data.abilities[proto.ability_id],
KeyError: 4132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant