junron/auto-enum

Type Error

hyjun0407 opened this issue · 2 comments

Traceback (most recent call last):
File "C:\redacted\python\3\ida_idaapi.py", line 577, in IDAPython_ExecScript
exec(code, g)
File "C:/redacted/plugins/auto_enum.py", line 168, in
class FunctionMap:
File "C:/redacted/plugins/auto_enum.py", line 195, in FunctionMap
def expand_enum(self, enum: dict[str, int], enum_id: str) -> dict[str, int]:
TypeError: 'type' object is not subscriptable

Error Occured.

junron commented

Please use Python 3.9 or newer: https://stackoverflow.com/a/75202688

junron commented

Should be fixed with ac26373