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.

git folder not being recognized

See original GitHub issue

This is with jupyterlab 0.31.1 and the latest master of jupyterlab-git.

In the terminal I’m seeing 404 messages of the form:

[W 15:45:45.040 LabApp] 404 POST /git/API?1516772745105 (10.200.18.81) 4.00ms
[W 15:45:52.422 LabApp] 404 POST /git/API?1516772752486 (10.200.18.81) 4.00ms 
[W 15:45:52.851 LabApp] 404 POST /git/API?1516772752917 (10.200.18.81) 3.99ms 
[W 15:46:00.031 LabApp] 404 POST /git/API?1516772760098 (10.200.18.81) 4.00ms 

image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
leaftycommented, Aug 15, 2018

@dunjoye4real I made a PR(#210) which uses the server server_root_dir setting instead of os.getcwd().

This worked for me when launching using the --notebook-dir option.

1reaction
dunjoye4realcommented, Aug 14, 2018

I have the same issue with Git tab looking in the wrong folder. I tried to use open terminal from Git menu and i figured out jupyter-lab is referencing from /home/username/ which apparently, i started jupyterlab from that path, fine. I did a git init in this same folder /home/username/ but jupyterlab-git could not still recognise the folder as a git repository even after multiple restart. I could do all git task in this repository but jupyterlab-git extension can’t recognise it as a git repository. Kindly, @zzhangjii @AmadeusSG @hjalmarlucius does anyone know a fix for this issue?

Also is there anyway to point jupyterlab-git to --notebook-dir if i had specify my --notebook-dir when starting jupyterlab?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github doesn't detect new folder - Stack Overflow
Git will ignore empty folders. Make sure at least one file is present in the new folder in the Git repository, or else...
Read more >
can't add folder in git - Super User
I went to that folder and remove non needed files (folders) and .git folder too. I checked git status, nothing strange. Then commit...
Read more >
Git error - Fatal: Not a git repository and how to fix it | Datree.io
A Git command needs to be run on a specific repository, so this error typically occurs when a Git command is run in...
Read more >
[SOLVED] Newly created folder not added to GIT?
My git repository seems to be local. Looking at the folders in Windows file explorer, and I see folder with ticks and exclamation...
Read more >
Git doesn't recognize my local repo out of nowhere - Reddit
Now out of nowhere Git just won't recognize the folder as a git repo anymore! The . git folder is still there.
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