-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
All the async demos are broken #4561
Comments
Specifically, for the concurrency demo, they seem to work for me in my jupyter notebook, but not on my panel.show() |
And they seem to work when using |
Thanks everyone, so to be clear the only scenario where they don't work is when using |
I'm using this as standalone scripts. Here's a reproducible example (requires one pip install): # assume this is in file app.py
import panel as pn
import param
# pip install ipyaladin==0.2.1
from ipyaladin import Aladin
pn.extension(
"ipywidgets",
)
class Test(param.Parameterized):
def __init__(self):
super().__init__()
# add ipyaladin view
self.aladin = Aladin(
target="12 25 41.676 +12 48 37.81",
show_coo_grid=True,
coo_frame="icsr",
fov=1,
)
def ipyaladin_view(self):
return pn.panel(
self.aladin,
defer_load=True,
width=800,
)
app = pn.template.BootstrapTemplate()
app.main.append(Test().ipyaladin_view)
app.show() If I run the above with:
If I change the last line in the snippet to |
@SultanOrazbayev Yeah, that can't work. If you run the app as a regular script def app():
app = pn.template.BootstrapTemplate()
app.main.append(Test().ipyaladin_view)
return app
pn.serve(app) |
Cannot really reproduce any other issues here, at least on main. |
If this persists please reopen with precise step-by-step instruction to reproduce. |
by can't repro, do you mean you can goto https://panel.holoviz.org/user_guide/Async_and_Concurrency.html and interact with any of the widgets and something happens? |
You should go to the dev website: https://pyviz-dev.github.io/panel/how_to/callbacks/async.html |
that one works for you? same issue for me, none of the buttons or sliders do anything (on multiple browsers) |
Is it because something's get cached in the browser, so people also have different experiences? |
I added |
see https://panel.holoviz.org/user_guide/Async_and_Concurrency.html
possibly related to #4240 and #3882
The text was updated successfully, but these errors were encountered: