Skip to content

Can't exit if Git lock issue on startup? #428

@shyun3

Description

@shyun3

Description

I started jjui one day and this error showed up in the lower right hand pop-up window:

Error: Failed to reset Git HEAD state
Caused by:
1: Could not acquire lock for index file
2: The lock for resource '/path/to/.git/index' could not be obtained immediately after 1 attempt(s). The lockfile at '/path/to/.git/index' might need manual deletion.

(Exact path to lock file has been redacted.)

There was no content in the main windows. The log window just said (no matching revisions).

I'm not sure why this happened, but that's not the focus of this ticket. The problem is I couldn't exit jjui afterward. I tried pressing q, Esc, and Ctrl+C. None of them succeeded in quitting or closing the error window. In the end, I had to press Ctrl+Z to suspend the process and manually kill it.

Even if some unrecoverable error occurred, I feel that it should still be possible to easily exit.

Specifications

  • Platform: WSL Ubuntu 24.04.3 LTS
  • Version: 0.9.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions