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

Broken since new release (3.6.1-1) when using dtale #576

Closed
Schmetzler opened this issue Feb 13, 2023 · 3 comments · Fixed by #584
Closed

Broken since new release (3.6.1-1) when using dtale #576

Schmetzler opened this issue Feb 13, 2023 · 3 comments · Fixed by #584
Labels

Comments

@Schmetzler
Copy link

Description

The server gives an error when a connection to dtale is not possible and shuts down the server completely. In the earlier version it just filed a javascript error, but I was able to work with the files. Now if I open a notebook that had a dtale connection open in a previous run I just get a connection error and cannot work with my files.

Screenshot_20230213_095731

Reproduce

  1. Start jlab
  2. Install Dtale and numpy
  3. Create a notebook and start a dtale connection:
import numpy as np
import dtale
test = np.random.rand(16,200)
dtale.show(test)
  1. Save and close
  2. Start jlab again and open file

Expected behavior

It should show an error message (as in previous builds), but should not completly dissallow further usage with the fullscreen error.

Context

  • Operating System and version: Manjaro-Linux Kernel 5.15.89-1
  • JupyterLab-Desktop version: 3.6.1-1
  • Installer: AUR jupyterlab-desktop-bin (uses the .deb file)

The important part from the log:

[2023-02-13 09:57:11.101] [warn]  Unsatisfied version 6.0.1 of shared singleton module @jupyter-widgets/base (required ^2.0.0 || ^3.0.0 || ^4.0.0)
[2023-02-13 09:57:12.491] [verbose] Starting application in workspace: "default"
[2023-02-13 09:57:14.795] [error] (node:10843) electron: Failed to load URL: http://linuxtowerdom:40000/dtale/iframe/2 with error: ERR_CONNECTION_REFUSED
(Use `jlab --trace-warnings ...` to show where the warning was created)
[2023-02-13 09:57:14.832] [error] (node:10843) electron: Failed to load URL: http://linuxtowerdom:40001/dtale/iframe/6 with error: ERR_CONNECTION_REFUSED
@welcome
Copy link

welcome bot commented Feb 13, 2023

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 Feb 13, 2023

@Schmetzler thanks for reporting this. dtale is creating an iframe and that is failing to load the next time the notebook is opened. app is not handling this case properly, we will fix it.

@simonkeys
Copy link

simonkeys commented Feb 17, 2023

I have the same issue with the new release when using snakeviz (on macOS 12.6.3).

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

Successfully merging a pull request may close this issue.

4 participants