-
According to Rio setup documentation, it's possible to run local applications in separate window instead in regular browser. However, there is no explanation how to run such application! One would expect that when rio-ui[window] is installed and project is "App", then Another big question is how such local applications could be deployed. Rio project is not a regular package that could be easily built as wheel. I have no problems to create |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Hey! We can't reproduce this. After creating an app and starting it with What changes would you like to see exactly as far as app templates go? Wouldn't those changes be specific to one particular packaging tool? |
Beta Was this translation helpful? Give feedback.
-
OpenSuSE Tumbleweed -> mkvirtualenv -p3.11 rioapp freeze file:aiofiles==23.2.1 ->rio new -> cat rio.toml
-> rio run | __ () Starting... Running in local mode. Only this device can access the app. The app is running at http://127.0.0.1:8000 🗨 Join other Developers on Discord — https://discord.gg/7ejXaPwhyH The same will happen with -> cd riotest |
Beta Was this translation helpful? Give feedback.
-
Interesting, when using Rio from git repository, the The CWD is Traceback:
|
Beta Was this translation helpful? Give feedback.
-
The Rio repository is cloned to |
Beta Was this translation helpful? Give feedback.
-
Regarding the empty white window: I've had a similar experience with There are two different webview backends available on linux, qt and gtk. So even if you've installed all the dependencies, it might be using the wrong backend. Try explicitly telling it which backend to use by setting |
Beta Was this translation helpful? Give feedback.
-
That could well be, but in this case I'd say it's for the same reason as above. Without |
Beta Was this translation helpful? Give feedback.
Regarding the empty white window: I've had a similar experience with
run_in_window
on linux. In my case it was because some system dependencies were missing. Please make sure to follow the pywebview installation instructions.There are two different webview backends available on linux, qt and gtk. So even if you've installed all the dependencies, it might be using the wrong backend. Try explicitly telling it which backend to use by setting
export PYWEBVIEW_GUI=qt
orexport PYWEBVIEW_GUI=gtk
.