Comments (9)
0.4.3 is out.
from nbclient.
Did you try with master branch? If so, what does the exception say about info_msg['content']
?
from nbclient.
No good point I should do that.
I messed around with it a load, and have tentatively got it to work, in this case, by removing a code cell.
If it is primarily a memory issue; the retrieval failing because of all the cell outputs now being held in memory, perhaps it would be helpful to put the language_info
retrieval before the execution of the cells?
from nbclient.
Yes I think it doesn't hurt putting the language_info
retrieval before the execution. But if we are out of memory after the execution, we're in pretty bad shape anyway.
from nbclient.
Yeh exactly, I don't know if there is a deeper underlying cause (like memory leakage), but I think that would at least be a band aid
from nbclient.
Thanks for merging 😄
FYI, I did just get an error from 0.4.2 on GH actions this time; https://github.com/executablebooks/jupyter-book/pull/911/checks?check_run_id=1035210652:
WARNING: /Users/runner/work/jupyter-book/jupyter-book/docs/file-types/notebooks.ipynb
Traceback (most recent call last):
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/jupyter_cache/executors/basic.py", line 147, in execute
None,
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/jupyter_cache/executors/basic.py", line 155, in execute_single
nb_bundle.nb, cwd=cwd, timeout=timeout, allow_errors=allow_errors,
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/jupyter_cache/executors/utils.py", line 56, in single_nb_execution
record_timing=False,
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/nbclient/client.py", line 1082, in execute
return NotebookClient(nb=nb, resources=resources, km=km, **kwargs).execute()
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/nbclient/util.py", line 74, in wrapped
return just_run(coro(*args, **kwargs))
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/nbclient/util.py", line 53, in just_run
return loop.run_until_complete(coro)
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/nbclient/client.py", line 536, in async_execute
'Content is:\n' + str(info_msg['content'])
RuntimeError: Kernel info received message content has no "language_info" key.Content is:
{'status': 'aborted'}
Could I be cheeky, and ask for a 0.4.3 release in the near future 😬
from nbclient.
Sure, will do today!
from nbclient.
Legend!
from nbclient.
0.5.0 is out, you should use it instead of 0.4.3, sorry!
from nbclient.
Related Issues (20)
- Using nbclient to talk to jupyter lab running remotely HOT 10
- Renamed default branch to main
- 0.6.1: sphinx faiils because missing file HOT 2
- Background Python process after running tests
- How to reuse exsisting kernel? HOT 4
- Test failure in ipywidgets 8 HOT 2
- nbclient 0.6.6 doesn't report cell magic error properly
- Cell caching HOT 6
- just_run does not close event loop it creates HOT 2
- Project dependencies may have API risk issues HOT 2
- 0.7.1: pytest is failing because missing ` jupyter_core.utils.ensure_async` HOT 11
- jupyter_core version constraint is invalid HOT 3
- nbclient >= 0.7.1 raises ImportError when trying to open a notebook HOT 1
- AttributeError: 'KernelManager' object has no attribute 'cleanup' HOT 5
- `NotebookClient.wait_for_reply` hangs with jupyter_client 8 or later HOT 4
- Is it possible to programmatically inspect variables of a NotebookNode? HOT 5
- output of type `stream` is split over multiple cells HOT 10
- execute_cell running error HOT 4
- ipykernel.comm.Comm is deprecated HOT 3
- Calling `jupyter-execute` runs the notebook but doesn't save it HOT 5
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 nbclient.