Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbdiff-web <file-path> inside a git repo shows the spinner #776

Open
pinchedsquare opened this issue Nov 10, 2024 · 1 comment
Open

nbdiff-web <file-path> inside a git repo shows the spinner #776

pinchedsquare opened this issue Nov 10, 2024 · 1 comment

Comments

@pinchedsquare
Copy link

Installed pip package is:

Name: nbdime
Version: 4.0.2

I have also ran:
nbdime config-git --enable for my repo.

when I run nbdiff-web <file-path> browser open correctly but there is a spinner and it shows no diff.

I have tried many combos, it looks like the only way I can get nbdiff-web to show diff is if I save the different revision of the files using git show in temporary files and then run `nbdiff-web <old_tmp_file> <new_tmp_file>

I am not sure why diffing with my remote repo doesn't work.

screenshot of nbdime show <file-path> working fine.
Image

Screenshot of the issue:
Image

Any help is greatly appreciated.

@adam-kosinski
Copy link

I had a similar issue where it got stuck on loading in this way because of an error thrown by the javascript code. There was an error in the javascript console that helped me debug (so perhaps take a look at the javascript console?). The issue ended up being some weird line-indexing bug where adding text after a latex section caused a range error. So I just added the text in a new cell instead. It was odd that this happened in nbdiff-web but not in the console nbdiff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants