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

Cannot open Dtale with browser from Notebook #845

Open
GiacomoTel opened this issue Jan 31, 2024 · 3 comments
Open

Cannot open Dtale with browser from Notebook #845

GiacomoTel opened this issue Jan 31, 2024 · 3 comments

Comments

@GiacomoTel
Copy link

Hi using this code in a jupyter notebook

import dtale
import dtale.app as dtale_app
import dtale.global_state as global_state

global_state.set_app_settings(dict(enable_custom_filters=True))
dtale_app.USE_NGROK = True
dtale.show(dfUnion,host='localhost',enable_custom_filters=True)

it doesn't open the instance in the browser but instead it gives me this error


IndexError Traceback (most recent call last)
Cell In[6], line 7
5 global_state.set_app_settings(dict(enable_custom_filters=True))
6 dtale_app.USE_NGROK = True
----> 7 dtale.show(dfUnion,enable_custom_filters=True)

tunnel_url = tunnel_url.replace("https", "http")

ecc ....
return tunnel_url
IndexError: list index out of range

Can anyone show me how to open the browser view from visual studio jupyter notebook ?
Thank you

@aschonfeld
Copy link
Collaborator

I'd try using jupyter-server-proxy

@GiacomoTel
Copy link
Author

Thank you , it helped , we are making progress but now it open a page on the browser
whit this url
/user/GiacomoTel/proxy/40000/dtale/main/1/40000/dtale/main/1
which is not reachable

@aschonfeld
Copy link
Collaborator

Try taking /40000/dtale/main/1 off the end, looks like it's repeated. Just wanna see if that endpoint works. If ti does I'll look into why its repeating

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