Skip to content

make monitor error after ctrl+] (GIT8266O-888) #1310

@ceewanna

Description

@ceewanna

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

Encounter this message after ctrl+] and have to press ctrl+] twice to quit make monitor.
Somehow in debian 12 there was none of this error but recently in new setups such as ubuntu and debian 13, I found this error.

Traceback (most recent call last): File "/home/cw/esp8266/ESP8266_RTOS_SDK/tools/idf_monitor.py", line 846, in <module> main() ~~~~^^ File "/home/cw/esp8266/ESP8266_RTOS_SDK/tools/idf_monitor.py", line 758, in main monitor.main_loop() ~~~~~~~~~~~~~~~~~^^ File "/home/cw/esp8266/ESP8266_RTOS_SDK/tools/idf_monitor.py", line 373, in main_loop self.handle_key(data) ~~~~~~~~~~~~~~~^^^^^^ File "/home/cw/esp8266/ESP8266_RTOS_SDK/tools/idf_monitor.py", line 410, in handle_key self.console_reader.stop() ~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/cw/esp8266/ESP8266_RTOS_SDK/tools/idf_monitor.py", line 144, in stop self._cancel() ~~~~~~~~~~~~^^ File "/home/cw/esp8266/ESP8266_RTOS_SDK/tools/idf_monitor.py", line 204, in _cancel fcntl.ioctl(self.console.fd, termios.TIOCSTI, b'\0') ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 5] Input/output error make: *** [/home/cw/esp8266/ESP8266_RTOS_SDK/components/esptool_py/Makefile.projbuild:113: monitor] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions