Skip to content

Kubeflow-JupyterLab - Jupyterlab-git is unable to recognize git folder #1314

@Mayurji

Description

@Mayurji

We have setup a kubeflow environment, where we are running our JupyterLab as part of docker-image(kubeflownotebookswg/jupyter-scipy:v1.7.0). We are able to clone the repository in the JupyterLab, but when we click the git icon on JupyterLab for the cloned repo, we are unable to see branch or changes. It still shows the below message

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.

Also looked at the Issue: #179

Modified the --notebook-dir, it still didn't work.

FYI

while cloning the repo in jupyterlab, we see a log on notebook server as follows

E 2024-02-07 12:28:40.798 ServerApp] 500 POST /notebook/project-name/test-git-nb/git/clone?1707308919343
[E 2024-02-08 05:10:26.071 ServerApp] 500 POST /notebook/project-name/test-git-nb/git/show_top_level?1707369025823

Next, we also checked if jupyterlab_git is enabled

` Validating jupyterlab_git...

jupyterlab_git 0.30.1 OK

  • Extension successfully enabled.`
    @jupyterlab/git v0.30.1 enabled OK (python, jupyterlab-git)

How to move forward with this issue?

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