-
Notifications
You must be signed in to change notification settings - Fork 7
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
The VS code Shiny extension for python never loads the app with large datasets. #62
Comments
Does it take more than 10 seconds for the app to load? If so it’s probably this line, that gives up after 10 seconds: Line 54 in 80560bf
Maybe it should never time out, but each new attempt to launch should cancel all previous attempts? Or we could simply increase the timeout to something more conservative—10sec is pretty stingy. |
yes, it takes more than 10 seconds to load the dataset and extracting only 10 rows. The thing is that I'm connecting to a databricks server so the connection and loading takes a little bit of time. One further comment, the app never appears on the right sample browser, it's just stuck after the "INFO" message |
If I restrict the query to only get 10 rows from source instead of having the entire data set, then the query takes less than 10 seconds approx and the app does load |
We close existing We could also do something like wait 15 seconds and then ask the user via a dialog box if they want to keep waiting or kill the app. |
Previously hardcoded to 10 seconds, now hardcoded to 60 seconds. “Fixes” #62
@gadenbuie Killing the console would prevent multiple Shiny processes from starting, but I don’t think it will stop openBrowserWhenReady—oooh but maybe that’s the ideal fix. openBrowserWhenReady can be notified or can query whether its owning terminal is still open, and if not, don’t open the browser. What do you think? |
The extension never loads the app correctly when working with large data sets. No error message is given, it just stops after the message
INFO: Application startup complete.
I'm loading a pandas dataframe with 520 rows and 20 columns. When I take only 10 rows from the original data set, the app loads fine.
The text was updated successfully, but these errors were encountered: