-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ihaskell-widgets runs with no error, however, displays no widget #870
Comments
This issue looks related: JuliaGizmos/Interact.jl#176 |
For myself or whoever decides to implement this: here is a document describing the new protocol and the changes would probably have to made to |
A. Many thanks for the quick and detailed reply! B. Following that link I did: and the slider example above works :-) |
Great to see you found a workaround! |
I just updated my docker hub image Dockerfile that I used to build this is also available on https://cloud.docker.com/repository/docker/kyagrd/ihaskell Image is of course large compared to the |
ipywidgets version 7.0 changelog https://ipywidgets.readthedocs.io/en/stable/changelog.html#id5 |
So to summarize and repeat what's already been said here by @vaibhavsagar : IHaskell Widgets currently supports the Widget messaging protocol version 1 , implemented in ipywidgets up to version 6.0.1. ipywidgets from version 7.0.0 implements the Widget messaging protocol version 2. The work would involve the I would approach this work in these steps:
It would be nice if the test environment could be included in the IHaskell repo. I would be very grateful if @sumitsahrawat or @gibiansky would offer any advice about this upgrade. Especially advice about getting debugging visibility into the comms. |
The |
Not sure if this is what was meant, but just to mention: it's possible to see websocket messages for comms in the chrome browser's development tools. I found that there's buttons to clear messages on each individual websocket (don't clear all network traffic; that prevents you from seeing new messages). |
I think it's gonna turn out that issue #1144 is required to resolve this issue. |
It looks like jupyter-widgets is prepping for version 8. https://github.com/jupyter-widgets/ipywidgets/blob/master/packages/schema/jupyterwidgetmodels.v8.md |
jupyter-widgets/ipywidgets#2798 (comment)
|
ipywidgets changelog: https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/changelog.md#70 |
@daviddavo is working on this issue for Google Summer of Code 2021 and he is making excellent progress. |
This issue has been solved by #1242 Thx David! |
Hello,
The short version:
ihaskell-widgets runs with no error, however shows no widget.
Long version:
This is my first experience with
Haskell
and I am thankful to the Devs for creating an interface based onjupyter notebook
, which I find very friendly.The following example code executes with no error, however, with no widget displayed either.
The above is copied from Demo of IHaskell Notebook by Andew Giabiansky, January 20, 2016
To run the example notebooks from the
ihaskell-widgets
IHaskell repository I had to rename thestack.yaml
in theihaskell-display/ihaskell-widgets/
, as suggested in Cannot install ihaskell-display widgets with stack #715.
Then the examples (two notebooks I tried) run with no errors, but still, no widget is displayed.
Hope you could guide me how to resolve this matter.
The text was updated successfully, but these errors were encountered: