Closed Semnodime closed 6 years ago
Also, XulRuntime and ChromeAppRuntime close without a while-1-loop or a long sleep at the end of the programm. Maybe I should open a separate issue for that?
Remove the rt.close()
That closes the runtime, which you probably do not want to do until you're done.
The code snapshots above addresses only
the issue that the module flexx.webruntime was not available after installing flexx the way described in the flexxun/flexx github README
and the issue that the webruntime 'app' was not recognized and I needed to dig into the source code to find working strings as webruntime type.
But the closing of the runtime occured when the code in my screenshot (below my heading «EDIT») was executed which does not contain an rt.close() (it is commented out)
Ah, now I see your point. Thanks for the clarification.
The example in the readme was wrong, it should say from webruntime import launch
not from flexx.webruntime import launch
. Also the latest version of Flexx is really old, it does not know about the "app" runtime yet.
Thanks for the issue report!
I know that the whole project remains in Alpha so far and is under active change currently. Since I would like to try out flexx already, could you please guide me how to successfully launch a (standalone) app?
1. Installed flexx over latest master
The module flexx.webruntime was not available after installing flexx the way described in the flexxun/flexx github README
2. Installed webruntime directly
The webruntime does not seem to work when installed standalone either:
3. Installed flexx over pip
I cannot use 'app' as webruntime
EDIT:
Somewhere I found the list of available runtimes as I dug into the code and tested all of them:
So XulRuntime, ChromeAppRuntime and Browser(s) seem to work for me.
Maybe I have missed where you mentioned how to select the "correct" runtime in the docs, please let me know if I missed it or if you decided to insert this piece of information.