Skip to content

[Bug]: hermes plugins throws Value error #13688

@UmbraAtrox

Description

@UmbraAtrox

Bug Description

When i run hermes plugins it throws ValueError: Color number is greater than COLORS-1 (7).

Workaround: in /opt/hermes/hermes_cli/plugins_cmd.py replaced all instances of curses.init_pair(4, 8, -1) with curses.init_pair(4, 7, -1) -> no longer throws error. No idea whether changed value is the correct color.

Steps to Reproduce

Docker compose up the hermes container.
enter container with docker exec -it hermes bash
.venv/bin/hermes plugins
Value Error

Expected Behavior

Should have shown the plugin thingy

Actual Behavior

hermes@9143f71809e9:/opt/hermes$ .venv/bin/hermes plugins
Traceback (most recent call last):
  File "/opt/hermes/.venv/bin/hermes", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/opt/hermes/hermes_cli/main.py", line 8444, in main
    args.func(args)
    ~~~~~~~~~^^^^^^
  File "/opt/hermes/hermes_cli/main.py", line 7458, in cmd_plugins
    plugins_command(args)
    ~~~~~~~~~~~~~~~^^^^^^
  File "/opt/hermes/hermes_cli/plugins_cmd.py", line 1123, in plugins_command
    cmd_toggle()
    ~~~~~~~~~~^^
  File "/opt/hermes/hermes_cli/plugins_cmd.py", line 806, in cmd_toggle
    _run_composite_ui(curses, plugin_names, plugin_labels, plugin_selected,
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      disabled, categories, console)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hermes/hermes_cli/plugins_cmd.py", line 1020, in _run_composite_ui
    curses.wrapper(_draw)
    ~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.13/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/opt/hermes/hermes_cli/plugins_cmd.py", line 835, in _draw
    curses.init_pair(4, 8, -1)  # dim gray
    ~~~~~~~~~~~~~~~~^^^^^^^^^^
ValueError: Color number is greater than COLORS-1 (7).

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

No response

Debug Report

Those contain my messages, no thank you...

Operating System

debian 13

Python Version

No response

Hermes Version

Hermes Agent v0.10.0 (2026.4.16) Project: /opt/hermes Python: 3.13.5 OpenAI SDK: 2.32.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsbackend/dockerDocker container executioncomp/cliCLI entry point, hermes_cli/, setup wizardcomp/pluginsPlugin system and bundled pluginstype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions