Crash when saving palettes [fixed]
Crash when saving palettes [fixed]
Hello. I'm having an issue with TheLightingController crashing whenever I go to "palettes" and click "save scene". It crashes immediately. I've tried (1) the latest self-install release, (2) replacing the fix files, and (3) the M1/M2 beta, and have the same issue each time. I tried creating a new lightshow with one fixture and one palette, but couldn't recreate the issue. I've attached the crash report. Do you have any insight on this? Thanks.
- Attachments
-
- crash_report.txt
- (21.55 KiB) Downloaded 301 times
Re: M1 Mac Crashing when saving palettes
Please post a "wetransfer" link to download your lightshow (https://forum.thelightingcontroller.com ... ?f=3&t=168).
We will check that.
We will check that.
The Lighting Controller
Re: M1 Mac Crashing when saving palettes
I just sent the lightshow to your support email address via WeTransfer. Link: https://we.tl/t-p7vyDl0IAD
Thanks in advance for any insight!
Thanks in advance for any insight!
Re: M1 Mac Crashing when saving palettes
Hello! Just wanted to make sure you got the download link before it expires in a couple of days. Thanks.support wrote:Please post a "wetransfer" link to download your lightshow (https://forum.thelightingcontroller.com ... ?f=3&t=168).
We will check that.
Re: M1 Mac Crashing when saving palettes
We are able to reproduce the problem. We will work on it asap.
In the meantime, if you edit the file "../YourLightshow/Editor/palettes.xml" and you delete the following lines:
There will be no crash anymore.
In the meantime, if you edit the file "../YourLightshow/Editor/palettes.xml" and you delete the following lines:
Code: Select all
<Fixture id="1555591382">
<Channel index="0" name="pan" palid="1661185892" value="35"/>
<Channel index="1" name="upan" palid="1661185892" value="59"/>
<Channel index="2" name="tilt" palid="1661185892" value="195"/>
<Channel index="3" name="utilt" palid="1661185892" value="141"/>
<Channel index="4" name="pantilt_speed" palid="1661185892" value="0"/>
<Channel index="5" name="color" value="0"/>
<Channel index="6" name="gobo" palid="1661185892" value="0"/>
<Channel index="7" name="gobo2" palid="1661185892" value="0"/>
<Channel index="8" name="gobo_rotate2" palid="1661185892" value="0"/>
<Channel index="9" name="prism" palid="1661185892" value="0"/>
<Channel index="10" name="prism_rotate" palid="1661185892" value="0"/>
<Channel index="11" name="iris" palid="1661185892" value="0"/>
<Channel index="12" name="focus" palid="1661185892" value="0"/>
<Channel index="13" name="focus_fine" palid="1661185892" value="0"/>
<Channel index="14" name="dimmer" value="129"/>
<Channel index="15" name="strobe_dimmer" palid="1661185892" value="255"/>
</Fixture>
The Lighting Controller
Re: M1 Mac Crashing when saving palettes
Ok, I'll try this tomorrow. Thanks!
Re: M1 Mac Crashing when saving palettes
This solved the problem! After you posted the code to delete, I also discovered how this issue had been created in the first place.
I started reading through the XML file you referred to, and realized that some of my palettes were actually recalling other palettes. Before editing the code as you suggested, I opened the application. I went to my palette editor and found the two palettes that were recalling the other palettes, and "released palette" in the palette editor, then re-saved. This immediately fixed the crashing problem.
Upon trying to recreate the problem, I found that the palette editor prevented me from making this error (it didn't offer the option to recall a palette for selected channels while editing a different palette). However, when I "copy" selected channels from a lighting scene and then paste them onto those same channels in the palette editor, it allowed the other recalled palette (red faders) to be pasted. I believe this is how I unintentionally created this issue in the first place, and will change my workflow to avoid this in the future.
Thanks for your help!
I started reading through the XML file you referred to, and realized that some of my palettes were actually recalling other palettes. Before editing the code as you suggested, I opened the application. I went to my palette editor and found the two palettes that were recalling the other palettes, and "released palette" in the palette editor, then re-saved. This immediately fixed the crashing problem.
Upon trying to recreate the problem, I found that the palette editor prevented me from making this error (it didn't offer the option to recall a palette for selected channels while editing a different palette). However, when I "copy" selected channels from a lighting scene and then paste them onto those same channels in the palette editor, it allowed the other recalled palette (red faders) to be pasted. I believe this is how I unintentionally created this issue in the first place, and will change my workflow to avoid this in the future.
Thanks for your help!
Re: M1 Mac Crashing when saving palettes
Thank you for this clear report !
We will check what we can do to protect against that in the future.
We will check what we can do to protect against that in the future.
The Lighting Controller
Re: Crash when saving palettes [fixed]
Fixed for the next fix file