Comments (7)
from sphinx-gallery.
from sphinx-gallery.
I notice that in stdout there is no traceback, and in the rendered html example I only get the message that the script didn't compile.
But the traceback should be in stderr, right ? I am pretty sure at one point you would see the traceback in the example HTML.
from sphinx-gallery.
from sphinx-gallery.
do you mean not show stdout in final pages? I like having them.
So do I actually. When an example is very slow, it is good to have them
to show progress.
stdout goes always to the final pages. I was claiming that during the build process you get all the stdout of all the examples in the same terminal and is just a mess of text. So, I think it might be nicer not to show it.
Maybe to show progress put an indicator(that might be to complex and not a priority)
But the traceback should be in stderr, right ? I am pretty sure at one point
you would see the traceback in the example HTML.
That's certainly something that we would like to have.
The traceback is printed but becomes hard to find among all the other successful stdout of the other examples. Also it might be possible to keep track of which file is failing because now the execution is done by blocks which have no link to the original file besides the stdout claiming before which file got executed(you also loose the line number correspondence)
Finaly, traceback is not printed in the rendered HTML. I'm starting to think that might be useful.
from sphinx-gallery.
Finaly, traceback is not printed in the rendered HTML. I'm starting to think that might be useful.
I seem to remember it was the case in nilearn at one point but maybe I just dreamt about it!
from sphinx-gallery.
After merging #97 closing this.
The output of a script is written to stdout during build to have the feeling of progress. Errors are written to stderr, and on the rendered example, plus a summary at the end with the traceback.
from sphinx-gallery.
Related Issues (20)
- Add option to set thumbnails for expected failing examples HOT 2
- Define CSS variables when `html[data-theme]` does not exist HOT 6
- Doc: document testing HOT 4
- [Maint] Add HTML parsing library as a testing dependency HOT 2
- Online documentation not deployed HOT 1
- Thumbnail generation is not working for plotly plots HOT 1
- ENH: remove file calling mini-gallery from mini-gallery
- Support for async code
- Missing full stop in download note.
- FEA Integrate download links and binder/juputerlite buttons with `pydata-sphinx-theme` secondary sidebar HOT 2
- `minigallery` with multiple files: deduplicate and should not start new rows HOT 5
- How many sublevels are supported? HOT 10
- Sub-folder gallery TOC header missing in PST theme HOT 6
- Get access to comment-based configuration in the scraper HOT 3
- Scrapper for Sympy output HOT 6
- Ease running on just one file HOT 3
- Feature: Per-code-block options HOT 7
- Build error for epub HOT 5
- Allow configuration of sort orders in a way that does not mess with the sphinx cache HOT 4
- alternative to `! pip install ...` to update env 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 sphinx-gallery.