ideonate / streamlit-launchpad

Browse a folder containing multiple streamlit apps and launch them immediately
Apache License 2.0
141 stars 25 forks source link

Errors when launching the streamlit apps #3

Closed rsheftel closed 4 years ago

rsheftel commented 4 years ago

First thank you for this cool project. I am having a problem getting to work. Note that all of the underlying streamlit apps work find when run from the CLI.

I issue the following command to launch the streamlit-launchpad and that works:

image

It shows the web page launcher: image

But when I click on any app to run I get this error: (browser) image

The command line: image

I am using tornoda v5.1.1

Any help is appreciated. thanks!

danlester commented 4 years ago

Thank you for your interest!

Unfortunately, a component of Tornado does not work under Windows. In particular, this code uses tornado.process.Subprocess. The documentation there says it doesn't work on Windows.

If easy for you to run in a Docker container, that should work.

Or it should be possible to modify the code to run on Windows (probably just remove the line 79 that I linked above), but it wouldn't tidy up the processes when they finish.

Maybe we can see if these ideas help you, and then I'll add a note for Windows users on the readme.

rsheftel commented 4 years ago

Oh, I completely missed the part about not working on Windows. Thanks again for a great package

rsheftel commented 3 years ago

FYI, I submitted a new PR #8 based on your suggestions. tested on my Windows machine and it works. Thanks!

danlester commented 3 years ago

Thank you very much - I've released a version 0.0.11!

I still think Streamlit needs to build in this 'launchpad' functionality natively. I can't believe they haven't yet really!

rsheftel commented 3 years ago

I completely agree!

Can you push the v0.11 to pypi, thanks!

danlester commented 3 years ago

Oh yes, I missed that step... it's on there now.