You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip install hermes and later with pip install git+https://github.com/hermes-hmc/hermes.git and pip install git+https://github.com/softwarepub/hermes.git
Only hermes -h gives something except the error message: "An error occurred during execution of[subcommand]".
Then I tried it with:
docker run --rm -it python:3.11.11-slim-bookworm bash
pip install hermes
hermes help
and again get:
An error occurred during execution of help.
root@0d8a83a371f6:/# cat hermes.log
1738314539.112698: hermes.cli: DEBUG | Running hermes with the following command line arguments: Namespace(subcommand=None, path=PosixPath('.'), config=PosixPath('hermes.toml'), options=[], command=<hermes.commands.base.HermesHelpCommand object at 0xffff999328d0>)
1738314539.112782: hermes.cli: DEBUG | Loading settings...
1738314539.112812: hermes.cli: ERROR | An error occurred during execution of help
1738314539.112936: hermes.cli: DEBUG | Original exception was: [Errno 2] No such file or directory: 'hermes.toml'
root@0d8a83a371f6:/#
The text was updated successfully, but these errors were encountered:
I agree that the error message on the command line is not very useful. Especially if users don't find the hermes.log file of which you added the contents to the description.
You can create a hermes.toml config file by running hermes init
As for how we should handle this: I think this is the same general problem as #238
My python version is:
I installed hermes with:
pip install hermes
and later withpip install git+https://github.com/hermes-hmc/hermes.git
andpip install git+https://github.com/softwarepub/hermes.git
Only hermes -h gives something except the error message: "An error occurred during execution of[subcommand]".
Then I tried it with:
and again get:
An error occurred during execution of help.
The text was updated successfully, but these errors were encountered: