Comments (5)
I agree, that should have a more useful error message. Do you want to make a PR?
from nbconvert.
Depends: at this point I don't understand neither how to install current nbconvert nor the testing policy. If it's just editing the error type&message, then sure.
from nbconvert.
You can install it from a clone with pip install --pre -e .
(--pre
because it will pull in a pre-release version of IPython). You can run the tests with nosetests
.
I expect you'll need to catch the Empty
error and raise a new exception in its place.
from nbconvert.
OK, after checking the source I saw there is already a description of what happens, and moreover it is very decent in nbconvert 4.0 compared to ipython 3. The only problem in my view is that it is buried by the traceback (the one I've copied in the original message). Would re-raising CellExecutionError("Cell execution timed out, see log for details.")
instead of Empty
be a reasonable way to point to the log?
from nbconvert.
I think I'd leave CellExecutionError for actual errors in the user code. I'd use TimeoutError in Python 3, and maybe RuntimeError in Python 2. The message you suggest looks fine, though.
from nbconvert.
Related Issues (20)
- Can someone help me out with why my images wont display on my pdf print
- Error in docs example: Using nbconvert as a library: KeyError: 'template_paths' HOT 1
- Section numbering in HTML
- Nbconvert >= 7.14 produces error in Sphinx build HOT 9
- Allow pre-fetching of css files? HOT 2
- matplotlib widgets not interactive when exported to html
- Rendering to HTML generates an error in bleach.clean HOT 5
- No way to disable traceback colors when executing notebook HOT 1
- Jupyter Magic stops `CellExecutionError` handling from working
- jupyter/nbconvert/templates only has latex HOT 5
- Unable to convert .ipynb to .pdf on Mac
- Erreur with date metadata
- Export to PDF with bengali language failed
- Error with ucs package when exporting .ipynb to pdf file HOT 2
- nbconvert not recognizing filepaths when appending .ipynb to the end of the filename
- Attached images not exported when converting to reStructuredText
- mermaid only renders after pressing "F5" on reveal slides (including semi fix...) HOT 2
- Unable to convert notebook to Markdown ("ModuleNotFoundError"; macOS)
- execute a notebook without a file extension, the notebook_name will lose the last character
- Image Size in PDF
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 nbconvert.