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

Julia Interact Widgets not working #796

Closed
paulnakroshis opened this issue Mar 14, 2024 · 9 comments
Closed

Julia Interact Widgets not working #796

paulnakroshis opened this issue Mar 14, 2024 · 9 comments

Comments

@paulnakroshis
Copy link

Description

Julia Interact widgets are not displaying in Jupyterlab desktop.

Reproduce

This is an example of a @manipulate slider which doesn't work with my Jupyterlab desktop installation:

using Plots
using Interact

u(x, t) = 1/2 * (sin(x + t) - sin(t - x))

x = 1:0.01:5
@manipulate for tᵢ in 0:0.1:1
y = [u(x[i], tᵢ) for i in 1:length(x)]
plot(x, y)
end
In the output cell only a plot can be seen, but the slider doesn't show up.
I do get the following warning:
┌ Warning: attempting to remove probably stale pidfile
│ path = "/Users/hiddenusername/.jlassetregistry.lock"
└ @ Pidfile ~/.julia/packages/Pidfile/DDu3M/src/Pidfile.jl:260

Expected behavior

I expected a plot with a slider to allow me to manipulate the plot.

Context

  • Operating System and version: MacOS 14.4
  • JupyterLab-Desktop version: Version 4.1.4-1 (4.1.4-1)
  • Installer: .dmg
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the terminal inside of JupyterLab Desktop here.
You may want to sanitize the paths in the output.
Browser Output (required for interface issues after loading)
Paste the output from the DevTools JavaScript console here, if applicable.
Logs (required for issues with loading, server and startup)
Paste the logs from the `main.log` file here (optionally also from `renderer.log`).
Copy link

welcome bot commented Mar 14, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@mbektas
Copy link
Member

mbektas commented Mar 16, 2024

@paulnakroshis can you test it with the web app to confirm that it is an issue specific to Desktop app or not. here are the instructions. also checkout this.

@paulnakroshis
Copy link
Author

paulnakroshis commented Mar 19, 2024 via email

@JasonWeill
Copy link

@paulnakroshis Have you tried the web app with this case? Thanks!

@JasonWeill
Copy link

@paulnakroshis Any update regarding this?

@paulnakroshis
Copy link
Author

@paulnakroshis Any update regarding this?

Hi Jason,
In jupyterlab desktop, if I open a terminal and type

jupyter lab

I obtain the following error:

Traceback (most recent call last):
  File "/Users/paulnakroshis/Library/jupyterlab-desktop/jlab_server/bin/jupyter-lab", line 6, in <module>
    from jupyterlab.labapp import main
ModuleNotFoundError: No module named 'jupyterlab'

I am using the most recent version of Jupyterlab-desktop on an M2 MacBook Pro and using the bundled python environment:

% which python
/Users/paulnakroshis/Library/jupyterlab-desktop/jlab_server/bin/python

Any thoughts?
-p

@JasonWeill
Copy link

Have you tried installing JupyterLab separately from JupyterLab Desktop, such as in a separate Conda environment? If so, does this issue recur?

@JasonWeill
Copy link

@paulnakroshis Any update on whether this issue is reproducible in JupyterLab (without the Desktop app)? If you can reproduce it without Lab Desktop, we should probably move this to https://github.com/jupyterlab/jupyterlab.

@JasonWeill
Copy link

@paulnakroshis I haven't received updates from you about this issue, so I'm going to close it. If you can reproduce the problem in JupyterLab by itself (not just in JupyterLab Desktop) please open an issue here: https://github.com/jupyterlab/jupyterlab/issues/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants