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

Binder example doesn't work #276

Closed
remram44 opened this issue Jul 1, 2019 · 8 comments · Fixed by #277
Closed

Binder example doesn't work #276

remram44 opened this issue Jul 1, 2019 · 8 comments · Fixed by #277

Comments

@remram44
Copy link

remram44 commented Jul 1, 2019

I followed the link from the README but couldn't find any JupyText action in the palette:

Screenshot_20190701_105430

mwouts added a commit that referenced this issue Jul 1, 2019
Install the bundled extension rather than the one from npm

#259 #276
@mwouts
Copy link
Owner

mwouts commented Jul 1, 2019

Thanks @remram44 for reporting this. I have not much insight yet of what can cause this error... I'll see if I can get more information about this. Until we can fix this, I suggest you go to Help / Launch Classic Notebook, and use the Jupytext menu (under File) to run the demo.

@choldgraf , I've executed jupyter lab build in a terminal (in JupyterLab in binder) and it works (but still no extension). Outputs are consistent with what I get locally. There are a few warnings like this one

WARNING in @jupyterlab/apputils
  Multiple versions of @jupyterlab/apputils found:
    0.19.1 ./~/@jupyterlab\apputils from ./~/@jupyterlab\apputils\style\index.css
    1.0.0 ./~/jupyterlab-jupytext/~/@jupyterlab\apputils from ./~/jupyterlab-jupytext/~/@jupyterlab\apputils\lib\index.js

but I doubt they are related to the issue. I will also have a look at this hint:

Check how you can resolve duplicate packages:
https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#resolving-duplicate-packages-in-your-bundle

@mwouts mwouts added the help wanted Extra attention is needed label Jul 1, 2019
@choldgraf
Copy link
Contributor

hmmmm, this is super confusing - it was working a few days ago and I don't believe we changed anything, did we?

@mwouts
Copy link
Owner

mwouts commented Jul 2, 2019

I see that there is a message in the browser logs about this:
image

Also, I am afraid that the issue is not only with Binder... Locally I get the same problem on both Ubuntu and Windows. I'm very far from being a JS/TS expert, but I will have a look at this!

@remram44
Copy link
Author

remram44 commented Jul 2, 2019

I don't think I can help with this... good luck! I appreciate the work on non-JSON Jupyter!

@choldgraf
Copy link
Contributor

hmmm, maybe this is a dependency issue? You could ask around in the jupyterlab section of the community forum to see if others have the same issue

mwouts added a commit that referenced this issue Jul 3, 2019
Install the bundled extension rather than the one from npm

#259 #276
mwouts added a commit that referenced this issue Jul 3, 2019
Filter pairing options on text files (Fixes #213)
New command 'include metadata'
mwouts added a commit that referenced this issue Jul 3, 2019
@mwouts
Copy link
Owner

mwouts commented Jul 3, 2019

Interesting... the extension does work with Jupyter 1.0 ! Cf. https://mybinder.org/v2/gh/mwouts/jupytext/jupyter_lab_build?urlpath=lab/tree/demo/get_started.ipynb

@choldgraf
Copy link
Contributor

lol, that's weird...

@mwouts
Copy link
Owner

mwouts commented Jul 6, 2019

I have published a version 0.19.0 (that's the last version of jupyerlab on npm before 1.0) of the extension on npmjs. People who use Jupyter Lab 0.35 can install it with:

jupyter labextension install jupyterlab-jupytext@0.19

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

Successfully merging a pull request may close this issue.

3 participants