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.

TypeError: "this.props.model.currentBranch is null" (v0.20.0rc0 )

See original GitHub issue

Hi, we are using jupyterlab-git/0.20.0rc0 in jupyterlab/2.1 and get the error TypeError: "this.props.model.currentBranch is null" by this extension in the WebKonsole every roughly every second once.

It seems to my as if the name of a branch is searched in the current folder, which is not a git directory.

jupyterlab-git-0 20 0rc0_branchnull

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jhgoebbertcommented, May 7, 2020

I can confirm, that with an update on git 2.21.0 this problem does not occur any more. Thanks for all your help and of course thanks for jupyterlab-git

0reactions
fcollonvalcommented, May 7, 2020

perhaps you want to check the version of git in jupyterlab-git and warn the user, if they use a too old git

Yep, that sounds like a reasonable check.

Could you report back once you have tested the extension with a newer git version? Then close this if it solves the issue.

Thank again for reporting and diving in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React JS - Uncaught TypeError: this.props.data.map is not a ...
The .map function is only available on array. It looks like data isn't in the format you are expecting it to be (it...
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