Skip to content

hermes init fails when no Git remotes are configured #458

@thunze

Description

@thunze

hermes init fails without any error message printed to stdout and a cryptic error message in hermes.log when no Git remotes are configured. Probably similar to #308.

Steps to reproduce:

  • Have hermes and git available
  • Switch to a new empty directory
  • Run git init .
  • Run hermes init

Output of hermes init is:

Run subcommand init

hermes.log contains the following messages:

1765197804.182297:          hermes.cli:     ERROR | An error occurred during execution of init (Find details in './hermes.log')
1765197804.182344:          hermes.cli:     DEBUG | Original exception was: No connection adapters were found for ':///api/v4/version'

Reproduced with:

  • HERMES 0.9.0
  • Python 3.13.9
  • Git 2.51.2

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