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

Ida 7.7 show error name 'AS_NOTAB' is not defined #21

Open
joroMaser opened this issue Apr 2, 2022 · 3 comments
Open

Ida 7.7 show error name 'AS_NOTAB' is not defined #21

joroMaser opened this issue Apr 2, 2022 · 3 comments

Comments

@joroMaser
Copy link

PROCESSOR_ENTRY: C:\Program Files\IDA Pro 7.7\procs\xtensa.py: name 'AS_NOTAB' is not defined
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.7\python\3\ida_idaapi.py", line 612, in IDAPython_LoadProcMod
    procmod = imp.load_module(procmod_name, fp, pathname, description)
  File "C:\Users\XXXXXX\AppData\Local\Programs\Python\Python37\Lib\imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "C:\Users\XXXXX\AppData\Local\Programs\Python\Python37\Lib\imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:/Program Files/IDA Pro 7.7/procs\xtensa.py", line 201, in <module>
    class XtensaProcessor(processor_t):
  File "C:/Program Files/IDA Pro 7.7/procs\xtensa.py", line 215, in XtensaProcessor
    | AS_ASCIIC | AS_ASCIIZ,
NameError: name 'AS_NOTAB' is not defined
@TakenTo
Copy link

TakenTo commented Jul 5, 2024

I also encountered the same bug, my software version is IDA_Pro_v8.3

@DeePunk42
Copy link

DeePunk42 commented Jul 7, 2024

It seems that it`s just a flag to control texts alignment, I added the line at the head of it:

AS_NOTAB = 0x0001

and it works

@TakenTo
Copy link

TakenTo commented Jul 8, 2024

It seems that it`s just a flag to control texts alignment, I added the line at the head of it:

AS_NOTAB = 0x0001

and it works

Thank you for solving my problem

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

3 participants