sqlmapproject/sqlmap · error · SqlmapSystemException
unable to create ncurses UI ('%s')
Error message
unable to create ncurses UI ('%s') What it means
Error "unable to create ncurses UI ('%s')" thrown in sqlmapproject/sqlmap.
Source
Thrown at lib/utils/tui.py:933
# ncurses waits ESCDELAY ms (default 1000) after Esc to disambiguate escape sequences, which
# makes Esc feel like it hangs for ~1s; shrink it so Esc reacts immediately
os.environ.setdefault("ESCDELAY", "25")
try:
# Initialize and run
def main(stdscr):
if hasattr(curses, "set_escdelay"):
try:
curses.set_escdelay(25)
except curses.error:
pass
ui = NcursesUI(stdscr, parser)
ui.run()
curses.wrapper(main)
except Exception as ex:
errMsg = "unable to create ncurses UI ('%s')" % getSafeExString(ex)
raise SqlmapSystemException(errMsg)
View on GitHub (pinned to 0a35b20e39)
When it happens
Trigger: Thrown at lib/utils/tui.py:933 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of sqlmapproject/sqlmap@0a35b20e39 (2026-08-26).
Data as JSON: /api/errors/54a5515dae951368.
Report an issue: GitHub.