-
Notifications
You must be signed in to change notification settings - Fork 212
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
RGB Effects file gets corrupted using base show folders #4992
Comments
ETA: It's not just the presents, it's other custom models as well, but not all of them. something new to add: It appears it might be associated with some models from Gilbert Engineering I imported (their new presents models). When I look at the effects file in vs code the. block for those models is all white - there is not contextual coloring of the keys and values like there are for other models. Maybe there is a formatting error in there - missing quotes or something. I believe it's in the model
|
The models files is in the old custom model format and the xgb effects is probably in the new format |
Any way to convert it? |
I deleted any models that had funkiness in the XML formatting and did an update, and that didn't fix it. |
Describe the bug
I have base show folders enabled. When loading xlights and checking the controllers and layout for each component (Base and Christmas_2024) individually, they look good. The individual layouts only have the models they should, and the controller configs only have the props they should;
When I click update, the controller configs and layouts merge, and everything looks good.
If I exit Xlights and reload, I get an error that the RGB Effects File cannot be loaded, creating a default. I checked the logs, and there is no more details only that error message. Of course my layout and controllers are both wiped out.
I can restore from backup and get back to the stage where, individually, everything is good.
I have attached a zip with the files I can use to reproduce this 100% of the time.
My directory structure is /Shows/Base and /Shows/Christmas_2024
In examining the .xbkp of the RGB Effects file that won't load, I found several model groups with duplicate entries for "FromBase" that conflict. I only see this in model groups, and the best I can tell is that only model groups are shared between layouts. It also looks like model groups from the Christmas layout have no "fromBase" entry at all.
To Reproduce
See above. Let me know if you need more details.
Expected behavior
I expect that xlights will be able to open the RGB Effects file the next time it is started
Screenshots
N/A
Versions (please complete the following information):
Attachments
These are the two folders I am using that I can reproduce the issue.
Base.zip
Christmas_2024.zip
The text was updated successfully, but these errors were encountered: