Closed gnestor closed 5 years ago
Hmmm, the link you provided to try out the binder worked, but when the notebooks came up the reactive kernel notebooks did not seem to work.
On Tue, Dec 4, 2018 at 12:20 PM Grant Nestor notifications@github.com wrote:
Closes #29 https://github.com/jupytercalpoly/reactivepy/issues/29
To try binder before merging this: https://mybinder.org/v2/gh/gnestor/reactivepy/binder?urlpath=lab/tree/examples/BasicAsyncGenerators.ipynb
You can view, comment on, or merge this pull request online at:
https://github.com/jupytercalpoly/reactivepy/pull/30 Commit Summary
- Add binder support
File Changes
- M README.md https://github.com/jupytercalpoly/reactivepy/pull/30/files#diff-0 (2)
- A postBuild https://github.com/jupytercalpoly/reactivepy/pull/30/files#diff-1 (0)
- A requirements.txt https://github.com/jupytercalpoly/reactivepy/pull/30/files#diff-2 (5)
Patch Links:
- https://github.com/jupytercalpoly/reactivepy/pull/30.patch
- https://github.com/jupytercalpoly/reactivepy/pull/30.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jupytercalpoly/reactivepy/pull/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0NPSCjXx1gPX-zYparsGd139rtgdks5u1tj3gaJpZM4ZBbrc .
-- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com
I'm seeing the same. The regular Python kernel isn't working either. Unfortunately, can't inspect the terminal output in binder 🤔I'm seeing that the websocket connection is disconnecting in the browser console.
Simply running pip install -e .
locally installs it properly for me.
Any ideas? Could the requirements.txt be causing problems?
I am guessing it is something related to the installation of packages, including ipython and the reactive kernel.
Ok, I set a tornado minimum version dependency and now it's working 👍
Testing...
Worked, but looks like there are a few other libraries that need to be installed for the example notebooks to full run (aiohttp, and maybe others)...
I'm seeing this:
$ show_graph()
Traceback (most recent call last):
File "/home/jovyan/reactivepy/kernel.py", line 392, in _update_kernel_state
raise e
File "/home/jovyan/reactivepy/kernel.py", line 386, in _update_kernel_state
code_obj, cell_id)
File "/home/jovyan/reactivepy/kernel.py", line 312, in _create_new_exec_unit
raise DefinitionNotFoundException(str(sym))
DefinitionNotFoundException: [show_graph]
Any idea what's causing this?
Where is the show_graph()
function being imported from?
That's a great question! I assumed it was some global provided by the kernel but I don't see it anywhere... 🤔
This is the only other reference I see:
Let's maybe remove it for now from the example notebook.
@richagadgil Do you have any idea where this show_graph
function is defined or where it comes from? If not, is it ok to remove it?
@gnestor I think the show_graph
function was replace with var_dependency_graph
or cell_dependency_graph
in https://github.com/jupytercalpoly/reactivepy/blob/831f519a012194d446e1ee5f0494c28da8a58659/reactivepy/kernel.py#L221-L223
In either case it can be deleted from the example notebook
Thanks @declanvk!
Ok, it's working now 👍
This should be ready to merge 👍
Closes https://github.com/jupytercalpoly/reactivepy/issues/29
To try binder before merging this: https://mybinder.org/v2/gh/gnestor/reactivepy/binder?urlpath=lab/tree/examples/BasicAsyncGenerators.ipynb