Skip to content
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

pi does not load initial preset intermittently #181

Open
twhiston opened this issue Dec 1, 2024 · 8 comments
Open

pi does not load initial preset intermittently #181

twhiston opened this issue Dec 1, 2024 · 8 comments

Comments

@twhiston
Copy link

twhiston commented Dec 1, 2024

I’m not sure exactly how to reproduce this but sometimes after I restart my pi the graph set will reload as it was but the initial preset will not be loaded, causing all the instance values to fall back to default. So far I can’t determine any reason why this happens or what action triggers it but it seems to happen maybe 1 in 10 reboots for me. When this happens and you look in the interface the graph set loaded does not have the little icon next to it and as such the preset list is blank (I guess this is why no preset gets loaded).
I’ve tried this with both saving both graph set and preset before shutting down and also without making any changes to my last loaded graph set and it seems to happen on either occasion.
Sorry I’m not sure exactly how to reproduce this!

@twhiston
Copy link
Author

twhiston commented Dec 1, 2024

somehow the latest save of my graph seems to do this every time! Is there something I can send you to help diagnose?

maybe this should be on the runner repo rather than this though?

@x37v
Copy link
Contributor

x37v commented Dec 3, 2024

i wonder if this could be an artifact of the last graph state being loaded and not the last saved graph? it could potentially be the same exact topology as a saved graph but not have a name or presets?

@twhiston
Copy link
Author

twhiston commented Dec 3, 2024

That might be the case! How does such a state occur?

I tend to save a new set on any change that I make and save a preset and the initial preset too. But then I do use the graph which means parameter values get changed before I shut the pi down

@twhiston
Copy link
Author

twhiston commented Dec 4, 2024

I looked at this again after starting up the Pi again. This time it seems to load my set, but the presets are not there. Reloading the set did not make the presets appear in the list. Then I saved a new preset and the preset list was populated again! So there's definitely something funky going on here
Screenshot 2024-12-04 at 11 55 41
Screenshot 2024-12-04 at 11 55 45
Screenshot 2024-12-04 at 11 58 22

@x37v
Copy link
Contributor

x37v commented Dec 4, 2024

I looked at this again after starting up the Pi again. This time it seems to load my set, but the presets are not there. Reloading the set did not make the presets appear in the list. Then I saved a new preset and the preset list was populated again! So there's definitely something funky going on here

do you mean, it seems to load your set on reboot or have you explicitly loaded your set?

@twhiston
Copy link
Author

twhiston commented Dec 4, 2024 via email

@x37v
Copy link
Contributor

x37v commented Dec 4, 2024

ahh okay, i suspect that is stale information that the web UI retained, we probably need to clean that up. I bet if you reloaded the webpage you'd see that the indicator is no longer there on the set

I am planning to add the ability to set an initial set to load instead of your last graph state after reboot

@twhiston
Copy link
Author

twhiston commented Dec 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants