Skip to content

Instantly share code, notes, and snippets.

@mateu
Created May 3, 2026 17:33
Show Gist options
  • Select an option

  • Save mateu/1eb62b59e26ed3bfa9196ae46b5dd575 to your computer and use it in GitHub Desktop.

Select an option

Save mateu/1eb62b59e26ed3bfa9196ae46b5dd575 to your computer and use it in GitHub Desktop.
KeyError: '0 is not registered'
Welcome to Hermes Agent! Type your message or /help for commands.
A legacy OpenClaw directory was detected at ~/.openclaw/.
To port your config, memory, and skills over to Hermes, run `hermes claw migrate`.
If you've already migrated and want to archive the old directory, run `hermes claw cleanup` (renames it to ~/.openclaw.pre-migration — OpenClaw will stop working after this).
This tip only shows once.
✦ Tip: hermes chat -t web,terminal enables only specific toolsets for a focused session.
⚠ tirith security scanner enabled but not available — command scanning will use pattern matching only
Goodbye! ⚕
Traceback (most recent call last):
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/asyncio/selector_events.py", line 269, in _add_reader
key = self._selector.get_key(fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/selectors.py", line 192, in get_key
raise KeyError("{!r} is not registered".format(fileobj)) from None
KeyError: '0 is not registered'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/hunter/.local/bin/hermes", line 10, in <module>
sys.exit(main())
^^^^^^
File "/Users/hunter/.hermes/hermes-agent/hermes_cli/main.py", line 10422, in main
args.func(args)
File "/Users/hunter/.hermes/hermes-agent/hermes_cli/main.py", line 1337, in cmd_chat
cli_main(**kwargs)
File "/Users/hunter/.hermes/hermes-agent/cli.py", line 12039, in main
cli.run()
File "/Users/hunter/.hermes/hermes-agent/cli.py", line 11687, in run
app.run()
File "/Users/hunter/.hermes/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 1002, in run
return asyncio.run(coro)
^^^^^^^^^^^^^^^^^
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/hunter/.hermes/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 886, in run_async
return await _run_async(f)
^^^^^^^^^^^^^^^^^^^
File "/Users/hunter/.hermes/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/application/application.py", line 734, in _run_async
with self.input.raw_mode(), self.input.attach(
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/Users/hunter/.hermes/hermes-agent/venv/lib/python3.11/site-packages/prompt_toolkit/input/vt100.py", line 165, in _attached_input
loop.add_reader(fd, callback_wrapper)
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/asyncio/selector_events.py", line 344, in add_reader
self._add_reader(fd, callback, *args)
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/asyncio/selector_events.py", line 271, in _add_reader
self._selector.register(fd, selectors.EVENT_READ,
File "/Users/hunter/.local/share/uv/python/cpython-3.11.14-macos-aarch64-none/lib/python3.11/selectors.py", line 523, in register
self._selector.control([kev], 0, 0)
OSError: [Errno 22] Invalid argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment