Comments (7)
I just released Appmode 0.3.0 and I decided to include the patch for this issue after all. Hopefully, this minimizes the trouble for everybody else once Jupyter notebook make their release.
from appmode.
Hi, which version of Jupyter are you using?
from appmode.
jupyter --version
4.4.0
from appmode.
So, I think the root cause is this recent commit: jupyter/notebook@198d74a. It added a new argument get_custom_frontend_exporters
to the render_template()
call is which replicated in Appmode .
What's puzzling me though is that you are already using this code, because it is only in the master branch and not yet in 5.4.x branch. Therefore, it is also not part of the latest release.
I will however have to adopt Appmode soon. So, thanks for the early warning :-)
from appmode.
yes, true most of my system runs on git:master branch for the main repository. I'll keep an eye on your changes and install appmode
from git:master as well. Thanks!
from appmode.
Before I adopt Appmode, I would like to wait until this change actually gets released by the notebook project. In the meantime I would suggest that you patch server_extension.py yourself. It should look kinda like this (haven't tested it):
from notebook.notebook.handlers import get_custom_frontend_exporters # new line
...
self.write(self.render_template('appmode.html',
notebook_path=tmp_path,
notebook_name=tmp_name,
kill_kernel=False,
mathjax_url=self.mathjax_url,
mathjax_config=self.mathjax_config,
get_custom_frontend_exporters=get_custom_frontend_exporters, # new line
)
)
from appmode.
Applied the patch, it works great!
on both single user notebook and multiuser jupyterhub.
Thanks!
from appmode.
Related Issues (20)
- How to hide the tree of an ipywidgets application with appmode? HOT 2
- Any plan to support jupyterlab? HOT 7
- How can I pause the execution of the rest of the notebook until a form is completed? HOT 8
- 404 Page not found error - AWS Sagemaker HOT 3
- Temp notebook copies and kernels never removed HOT 17
- Replaceable gears? HOT 4
- 404 Not Found Error after clicking "Appmode" button HOT 8
- 404 Error When Automatically Triggering Appmode HOT 3
- Appmode button doesn't show up in Jupyter notebook HOT 1
- How could I keep the same kernel when I lanch the appmode HOT 1
- Is it possible to autostart in appmode? HOT 1
- Unable to view the appmode button on google colab HOT 2
- command line startup HOT 1
- Disable buttons and allow only Appmode HOT 1
- Permission issue HOT 1
- HTTP 400 : Bad Request HOT 16
- Setting a default kernel for appmode? HOT 1
- Got unstable kernel when appmode installed HOT 3
- ModuleNotFoundError: No module named 'appmode' HOT 2
- Launch directly to Appmode view in MyBinder sessions doesn't seem to be working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appmode.