Page 1 of 1

Crash when saving palettes [fixed]

PostPosted: 04 January 2024, 22:39
by gracebhm
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.

Re: M1 Mac Crashing when saving palettes

PostPosted: 07 January 2024, 16:31
by support
Please post a "wetransfer" link to download your lightshow (https://forum.thelightingcontroller.com/viewt ... ?f=3&t=168).
We will check that.

Re: M1 Mac Crashing when saving palettes

PostPosted: 29 January 2024, 14:54
by gracebhm
I just sent the lightshow to your support email address via WeTransfer. Link: https://we.tl/t-p7vyDl0IAD

Thanks in advance for any insight!

Re: M1 Mac Crashing when saving palettes

PostPosted: 03 February 2024, 16:51
by gracebhm
support wrote:Please post a "wetransfer" link to download your lightshow (https://forum.thelightingcontroller.com/viewt ... ?f=3&t=168).
We will check that.


Hello! Just wanted to make sure you got the download link before it expires in a couple of days. Thanks.

Re: M1 Mac Crashing when saving palettes

PostPosted: 04 February 2024, 17:22
by support
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:
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>

There will be no crash anymore.

Re: M1 Mac Crashing when saving palettes

PostPosted: 12 February 2024, 20:55
by gracebhm
Ok, I'll try this tomorrow. Thanks!

Re: M1 Mac Crashing when saving palettes

PostPosted: 13 February 2024, 21:50
by gracebhm
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!

Re: M1 Mac Crashing when saving palettes

PostPosted: 14 February 2024, 08:31
by support
Thank you for this clear report !

We will check what we can do to protect against that in the future.

Re: Crash when saving palettes [fixed]

PostPosted: 14 February 2024, 17:14
by Niffo
Fixed for the next fix file

Re: Crash when saving palettes [fixed]

PostPosted: 10 March 2024, 23:19
by support
The fix (for V9.3.14) is online.