Comments (3)
The thing is that the error happens in a callback that is called when a cell value has changed, the sheet has nothing to do with it.
Also, depending on whether you are using JupyterLab or the Jupyter Notebook I think the behavior can be different. This is not really related to ipysheet, but more to the Python kernel and the client (Jupyter Notebook, JupyterLab or even the console), it's the Python kernel that decides under which cell to send the standard output stream and error stream, and the client will decide where to put it.
I know this can be inconvenient when working... The only thing I can say is that your workaround could be actually the best way to fix it, it redirects everything to the widget.
If you don't mind I'll close this issue as it is not really related to ipysheet.
from ipysheet.
Thanks @martinRenou.
You're right; in my JupyterLab, neither error is shown (original report was using Jupyter Notebook).
Quite a mess...
from ipysheet.
Quite a mess...
I do agree with you 😄. But if you think about it, the answer to the question Where should I put the error stream?
might not be obvious. Say the sheet produces an error but you displayed two views of this sheet, under which view should we put the error stream? Maybe both, but if the error stack is really long you can end up with a big mess in the notebook. I might be wrong but I think the default behavior is to put it under the last view.
The thing is that Jupyter developers chose to put error streams and standard outputs under code cells. Usually, an IDE would put it in a console, in an other pane, next to the text editor. In that case there is only one place for output streams.
from ipysheet.
Related Issues (20)
- Setting numeric format with custom renderer
- Add style to sheet-row from_dataframe() HOT 2
- Sorted column cannot stay if you update any cell values
- to_array() does not return cell value changed by clicking inside table HOT 2
- Error displaying widget: model not found HOT 8
- Loading failed for ... ipysheet@~0.5.0/dist/index.js HOT 6
- fail to build on jupyterlab 3.1.7 for @5.0.0 HOT 7
- Documentation site is broken HOT 2
- Adding javascript renderer causes columns to change size randomly
- Uncaught (in promise) Error: Script error for "ipysheet" HOT 1
- Sorting does not re-order the row headers
- Unable to render outside of a notebook context
- to_dataframe() and to_array() do not return values manually entered into the cells HOT 11
- Get the index of the clicked row
- ipysheet persistence? HOT 2
- /dist AMD modules not published HOT 4
- Incompatability with ipywidgets 8.x HOT 2
- Enable ipysheet to run on pyodide HOT 1
- Support for JupyterLite HOT 1
- How do you index cells in a sheet
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 ipysheet.