DiyLightAnimation

Software => xlights => Topic started by: JonB256 on October 04, 2012,

Title: In xLights 2012b, getting a wxWidget error
Post by: JonB256 on October 04, 2012,
When I do an RGB Twinkle (any of them) with channels selected, I get this error:

c:\wxWidgets-2.9.3\include/wx/dynarray.h(835): assert"uiIndex < m_nCount" failed in Item()

It asks Yes, No, Cancel

If I choose Cancel fast enough, it will keep working and won't give me the error again.

If I'm slow, then it will close the program.
Title: Re: In xLights 2012b, getting a wxWidget error
Post by: Dennis Cherry on October 04, 2012,
Looks like you need to update LOR to version 3.0
Title: Re: In xLights 2012b, getting a wxWidget error
Post by: JonB256 on October 04, 2012,
Dennis, I'm running 3.7.0 Advanced. It's xLights giving me that message. LOR wasn't loaded.
Title: Re: In xLights 2012b, getting a wxWidget error
Post by: tbone321 on October 07, 2012,
The problem is that xLights is expecting the correct number of channels to be configured.  In other words, it has to be configured in a multiple of three for this function in RGB to work properly.  The first few times I used the test function in RPG, I simply defined an entire DMX universe and is would crap out with this error.  Then yesterday, I was experimenting with a small string of 20 square nodes and in that case I only defind 60 channels.  Then to my suprise, the function that would not work for me before suddenly worked perfectly.  Then my little brain kicked in and I figured out what was probably stopping me before.  As a test, I defined one more channel and like magic, they stopped working again with this error. 

So yes, there is a bug in the software but for now you can get around it by making sure that the channels defined are in multiples of three.
Title: Re: In xLights 2012b, getting a wxWidget error
Post by: dowdybrown on October 08, 2012,
Yes, in 2012b the rgb twinkle test requires that the number of channels selected be a multiple of 3. This will be fixed in the next release.

Matt