-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error when running on webui outside of a RaspiBlitz #735
Comments
Just curious. What's the context of "outside" and "another platform"? What are you trying to do? I think I can't follow :P |
Fair enough :) The API was written in a way that it can run on any system (not just RaspiBlitz). There are currently two platforms: I'm currently working on nixifying RaspiBlitz and don't have any app support in it yet, which will arrive at some point, but makes testing harder for me at the moment. A long term plan to make the app handling more dynamic in the webui would be nice. |
Most likely you send the installed_app_data but with some null values or something else, which the filter function doesn't expect. Is there a simple setup to reproduce this? |
@fusion44 so if I guess correctly: There are some platforms where no apps are available? Should I not show the App page there then? |
Correct, if you receive a 501 from the api you can assume that app support is not available. This would only a stopgap solution. I want to rework the app api completely. Currently it is not very sustainable. |
Is that the only feature which won't be available or will there be other things as well? |
The webui crashes during loading initial data with the following error:
Here's the log output from the backend:
I suspect that the webui always expects some data for the the installed app status, which is not necessarily true when running on another platform.
The text was updated successfully, but these errors were encountered: