-
Notifications
You must be signed in to change notification settings - Fork 0
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
Edit JSON button does not work with empty/missing schema #18
Comments
It's just the status monitor that's reporting the incorrect status correct? If you activate a different profile does the status return? There has been a ghost issue where the GUI gets out of sync with supervisor and this usually resolves it. I'll look into changing the method that the GUI uses to check the status. Let me know if that works as a hotfix for now, else we'll look at a few other culprits. |
From here, if you activate the MLB profile from the dashboard, the
supervisor status monitor should resync to the current process. Let me know
how that works out.
Sometimes this can get out of sync during a reboot or if you swap boards
outside of the dash (in Supervisor directly).
I'll look into including a change in how it checks the status the next
update.
|
I changed the profiles back and forth between the NHL and MLB boards. It shows BoardType as being correct, but the supervisor does not start. Also, the page stays on the NHL board showing the game data. Nothing to the actual board. |
Just to confirm, is the Does a If this doesn't work, could you paste the output of the supervisor log?
Unfortunately just the NHL games are displayed right now, showing the other leagues is a planned feature 😃 |
|
It appears that the template hasn't generated correctly or is missing the scoreboard (NHL) configuration for some reason. The MLB and NFL are there, but the NFL looks mixed with the NHL section. If you save the NHL boardType in the admin panel, or change any of the constance settings, it will regenerate the conf file again. Follow this with a reread and update all again to be sure and you should be rolling. |
I went back into the website and poked around the Admin section, but did not change anything. I then re-did the update procedure. I run the commands you suggested in post #6. The scoreboard commands are there now. What I have found is, everytime I run the system and go onto the website, it changes my MLB config.json to show just this "{}". The complete file has been over written. |
Sounds like we're almost there! I will look into the bug not allowing you to edit the JSON from the dash. In the meantime, I just confirmed you can edit the profile manually in the admin panel. It should save for you. This is happening because there is no schema found for the board. There are 2 schema files included with the automatic install method. The following commands will copy them over for you and you should notice a nice form being generated. MLB
NFL
|
|
Could you post the MLB config you are using? Alternatively, a fillable form should now be available in the dash under New Profile > MLB. |
MLB config,json. I have tried to enter the contents of the file while creating a new board but they don't seem to stick.
|
Looks like the schema doesnt like my demo_date definition. I'll have to make an update for it. In the mean time an empty string in demo date will work for now 👍
|
Just wanted to follow up to see how things were progressing. The next update will remove the Edit JSON button from the dash, but you will still have the ability manually edit the JSON in the admin panel if needed. |
Just ran the update process and when the website loads I get the error above. The Supervisor website loads and the boards attached it start up and function.
This is the output of the Terminal.
The text was updated successfully, but these errors were encountered: