-
Notifications
You must be signed in to change notification settings - Fork 392
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
Jupytext on JupyterLab 3.0.5 is not automatically syncing notebooks on save #721
Comments
Hi @djakubiec , thank you for the detailed report! The issues seems to be very similar to #713 , i.e. the Jupytext server extension is not loaded when Jupyter starts. Because of that, the contents manager is not substituted by Jupytext's contents manager, and thus you can't use paired files. May I ask you to try the following?
The above will be mostly useful to find out what is happening. Note that if this really is the same problem as #713, known workarounds are
|
Thanks for the very speedy response @mwouts. I checked This looks correct now:
But I am not seeing I further followed the install instructions to create a Honestly I am confused about whether I should be using the jupyer_notebook_config.* file(s) or whether I should be making the jupyter_lab_config.* file(s) and doing something there, but FWIW I followed the instructions for now. Lastly, per your suggestion I also uninstalled jupytext and installed jupytext==1.8.2:
I restarted JupyterLab but still no luck. |
FWIW, I have been studying #713 and it sounds like there is some overlap between our issues. I think my extension is also not loading (based on the missing contents_manager_class log) even though it is now showing up in |
Thanks @djakubiec for your reports. Thanks for testing Is this an option for you to install That might be easier than trying to use config files (and sorry you can't use the |
I got conda installed and used your suggested environment... all is working great now THANK YOU @mwouts ! I see the advantage of using Anaconda now too, so thanks for that as well. I suppose there is still some issue getting Jupytext to work with the native install? Let me know if I can help debug anything there... otherwise you are welcome to close this issue if you like. Thanks again. |
I have been successfully using Jupytext with JupyterLab Lab 2 on a remote Ubuntu machine for about a year now. It is great thank you!
I am now trying to get it installed and working with JupyterLab 3 on my macOS machine. All the extensions seem to be loaded fine per the docs, and the configuration shows that I have percent files enabled for my Notebook. But when I save the Notebook it does not generate the .py file.
I was able to get it to sync manually from the command-line (via 'jupytext --sync notebook.ipynb'), but have not been able to get the auto-sync working from within the lab Notebook.
Here are various details. Any suggestions would be greatly appreciated, thanks:
Note the timestamps (.py file never modified prior to manual --sync):
What else can I provide?
The text was updated successfully, but these errors were encountered: