question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to detect a Git repository.

See original GitHub issue

I installed the program extention with:

conda create -c conda-forge -n MLPB -y python=3.8 pandas>1.0 scikit-learn pip matplotlib seaborn biopython pyvis jupyterlab jupyterlab-git ipywidgets jupyter_nbextensions_configurator xlrd statsmodels
conda activate MLPB
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install @jupyterlab/git

The extension appears in Jupyter lab but it is unable to detect existing git repositories.

Clicking on detect repositories gets me to the file browser. I can navigate to a git repository and go back to the git tab, but the same message appears.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fcollonvalcommented, May 8, 2020

Hey @soerendip

Could you test if the frontend and server extensions are enabled and have the same version by executing:

jupyter labextension list
jupyter serverextension list

If the server extension is disable, execute in your environment:

jupyter serverextension enable --sys-prefix --py jupyterlab_git

Note: if the serverextension is still disabled after running the previous command, this means you have conflicts between your user settings and the environment settings. Run again jupyter serverextension list and look at the path mentioned to discover where the bad setting is stored; for example for me:

config dir: C:\Users\myname\Anaconda3\etc\jupyter jupyterlab enabled - Validating…

0reactions
fcollonvalcommented, May 18, 2020

Thanks @scdevries to share back here to help the community. An issue is opened #635 that will result with checking existence and compatibility version of Git and the jupyter server extension. So l let this one opened for the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the “fatal: not a git repository” Error - ContainIQ
Make sure you correctly typed the name of the directory. · Check that you correctly created the repo. If the directory doesn't contain...
Read more >
Git error - Fatal: Not a git repository and how to fix it | Datree.io
This error means you attempted to run a Git command, but weren't inside a Git repository. Make sure you've: Navigated to the right...
Read more >
Git suddenly cant find Github repository - Stack Overflow
Add the repo on Github Website and set it as private · Add my Github Account as Collaborator · On terminal switch into...
Read more >
Solving “Fatal: Not A Git Repository” (Or Any Of The Parent ...
In this article, we will explore what causes, how to prevent, and how to solve the “fatal: not a git repository” error.
Read more >
What to Do If GitHub Desktop Cannot Find Your Repositories
What to Do If GitHub Desktop Cannot Find Your Repositories · Close GitHub Desktop · Remove everything in the folder %APPDATA%\GitHub Desktop\ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found