Skip to content
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

Can not draw model on jupyter #74

Closed
didw opened this issue Aug 3, 2022 · 9 comments
Closed

Can not draw model on jupyter #74

didw opened this issue Aug 3, 2022 · 9 comments

Comments

@didw
Copy link

didw commented Aug 3, 2022

Hi,
I'm trying to draw model on jupyter by referring to this link but it doesn't aprear anything.

image

jupyter was run on ubuntu machine and accessed from another remote computer in the same subnet.

bokeh==2.4.3
human-learn==0.3.1
ipywidgets==7.7.1
jupyter==1.0.0
jupyter-client==7.3.4
jupyter-console==6.4.4
jupyter-core==4.11.1
jupyter-server==1.18.1
jupyterlab==3.4.4
jupyterlab-pygments==0.2.2
jupyterlab-server==2.15.0
jupyterlab-widgets==1.1.1
@koaning
Copy link
Owner

koaning commented Aug 3, 2022

That indeed feels like a version bug, whats happens if you manually set Bokeh to a lower version? Under 2.4?

@didw
Copy link
Author

didw commented Aug 3, 2022

If I downgrade the bokeh to 2.4, the warning message goes away but the graph still doesn't show.

@koaning
Copy link
Owner

koaning commented Aug 3, 2022

and if you go to 2.3? the warning says the deprecation starts at 2.4

@didw
Copy link
Author

didw commented Aug 3, 2022

I've tried 2.2.1, 2.3.3 but still doesn't show.

@koaning
Copy link
Owner

koaning commented Aug 3, 2022

Does the terminal (the one that's running jupyter) mention anything?

@koaning
Copy link
Owner

koaning commented Aug 3, 2022

@didw
Copy link
Author

didw commented Aug 3, 2022

When I run the command I get the below error message.
Could this be a problem?

[I 2022-08-04 08:36:43.620 LabApp] Build is up to date
[I 2022-08-04 08:37:13.990 ServerApp] Kernel started: d2b3d25a-be8b-4391-a690-50d0d3e6ac66
[I 2022-08-04 08:37:14.097 ServerApp] Kernel started: 65c9c059-269d-4e07-8427-05a75367e4c0
[I 2022-08-04 08:37:14.407 ServerApp] Starting buffering for d2b3d25a-be8b-4391-a690-50d0d3e6ac66:42044bd8-aa2e-459e-9efc-45575327ac54
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 41410248-774c-4d61-87bd-67b53aeefa46
[I 2022-08-04 08:37:14.536 ServerApp] Starting buffering for 65c9c059-269d-4e07-8427-05a75367e4c0:a93a129b-41f0-4f8a-8e18-521518af1fdb
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 152d7d16-0085-4de3-83df-e4e202ed8206

@didw
Copy link
Author

didw commented Aug 4, 2022

below is the full log

[I 2022-08-04 09:46:52.655 ServerApp] jupyterlab | extension was successfully linked.
[I 2022-08-04 09:46:52.662 ServerApp] nbclassic | extension was successfully linked.
[I 2022-08-04 09:46:52.805 ServerApp] notebook_shim | extension was successfully linked.
[W 2022-08-04 09:46:52.822 ServerApp] WARNING: The Jupyter server is listening on all IP addresses and not using encryption. This is not recommended.
[I 2022-08-04 09:46:52.823 ServerApp] notebook_shim | extension was successfully loaded.
[I 2022-08-04 09:46:52.823 LabApp] JupyterLab extension loaded from /home/ubuntu/test/.venv/lib/python3.8/site-packages/jupyterlab
[I 2022-08-04 09:46:52.824 LabApp] JupyterLab application directory is /home/ubuntu/test/.venv/share/jupyter/lab
[I 2022-08-04 09:46:52.826 ServerApp] jupyterlab | extension was successfully loaded.
[I 2022-08-04 09:46:52.828 ServerApp] nbclassic | extension was successfully loaded.
[I 2022-08-04 09:46:52.829 ServerApp] Serving notebooks from local directory: /home/ubuntu/test
[I 2022-08-04 09:46:52.829 ServerApp] Jupyter Server 1.18.1 is running at:
[I 2022-08-04 09:46:52.829 ServerApp] http://localhost:8888/lab
[I 2022-08-04 09:46:52.829 ServerApp]  or http://127.0.0.1:8888/lab
[I 2022-08-04 09:46:52.829 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2022-08-04 09:46:52.838 ServerApp] No web browser found: could not locate runnable browser.
[W 2022-08-04 09:46:55.780 ServerApp] 404 GET /api/kernels/caae7e7d-ebbe-459b-bb16-dd4a26245277?1659574015722 (192.168.1.56): Kernel does not exist: caae7e7d-ebbe-459b-bb16-dd4a26245277
[W 2022-08-04 09:46:55.781 ServerApp] Kernel does not exist: caae7e7d-ebbe-459b-bb16-dd4a26245277
[W 2022-08-04 09:46:55.781 ServerApp] 404 GET /api/kernels/caae7e7d-ebbe-459b-bb16-dd4a26245277?1659574015722 (192.168.1.56) 2.05ms referer=http://192.168.1.57:8888/lab?
[W 2022-08-04 09:46:56.022 ServerApp] 404 GET /api/kernels/caae7e7d-ebbe-459b-bb16-dd4a26245277/channels?session_id=a6a9a5c4-189c-41ae-ac42-e0b7b55a1530 (192.168.1.56): Kernel does not exist: caae7e7d-ebbe-459b-bb16-dd4a26245277
[W 2022-08-04 09:46:56.044 ServerApp] 404 GET /api/kernels/caae7e7d-ebbe-459b-bb16-dd4a26245277/channels?session_id=a6a9a5c4-189c-41ae-ac42-e0b7b55a1530 (192.168.1.56) 23.82ms referer=None
[W 2022-08-04 09:46:56.082 ServerApp] 404 GET /api/kernels/caae7e7d-ebbe-459b-bb16-dd4a26245277?1659574016033 (192.168.1.56): Kernel does not exist: caae7e7d-ebbe-459b-bb16-dd4a26245277
[W 2022-08-04 09:46:56.082 ServerApp] Kernel does not exist: caae7e7d-ebbe-459b-bb16-dd4a26245277
[W 2022-08-04 09:46:56.083 ServerApp] 404 GET /api/kernels/caae7e7d-ebbe-459b-bb16-dd4a26245277?1659574016033 (192.168.1.56) 1.44ms referer=http://192.168.1.57:8888/lab?
[I 2022-08-04 09:46:58.653 LabApp] Build is up to date
[I 2022-08-04 09:47:00.083 ServerApp] Kernel started: 0e455811-a146-49bd-b027-824778042c0d
[I 2022-08-04 09:47:00.213 ServerApp] Kernel started: 6a9d6f2d-527c-44be-8927-e4f57cadac9d
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 48a988ad-9a29-4145-94dd-a157e506cf05
[I 2022-08-04 09:47:00.788 ServerApp] Starting buffering for 6a9d6f2d-527c-44be-8927-e4f57cadac9d:91188fc6-a792-4621-a3f4-945eae6e32c7
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 11ddc5c9-687e-41b4-9f5f-c27d6be21606
[I 2022-08-04 09:47:24.605 ServerApp] Saving file at /Untitled1.ipynb

@koaning
Copy link
Owner

koaning commented Sep 4, 2022

Closing due to radio silence.

@koaning koaning closed this as completed Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants