Skip to content

Silent error on git error 128 Error: fatal: detected dubious ownership in repository #1391

Open
@Sieboldianus

Description

@Sieboldianus

I already commented here on a closed issue:
#1282 (comment)

Description

@krassowski Using jupyterlab 4.3.4, (jupytext 1.16.6), collaboration-extension 3.1.0, and jupyterlab-git 0.50.2, the issue that was solved in #1285 is back for me:

RTC: is not a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository.

If I install the latest jupyterlab and RTC versions pip install --pre "jupyterlab>=4.4.0a2" "jupyter-collaboration>=4.0.0a0", the RTC tag disappears, but jupyterlab-git is still unable to recognize the git repo. It now says:

You are not currently in a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository.

.. even if I am in a git repo. I guess this has something to do with the new/updated content-providers API or workspaces (?)

Reproduce

  1. Install jupyterlab 4.3.4, (jupytext 1.16.6), collaboration-extension 3.1.0, and jupyterlab-git 0.50.2
  2. Open a folder with a .git folder
  3. See > RTC: is not a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository.

Expected behavior

Git folders are recognized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions