xLightsSequencer / xLights

xLights is a sequencer for Lights. xLights has usb and E1.31 drivers. You can create sequences in this object oriented program. You can create playlists, schedule them, test your hardware, convert between different sequencers.
GNU General Public License v3.0
549 stars 208 forks source link

XLights Crashes When Pasting Model #4581

Closed RevRob closed 4 months ago

RevRob commented 4 months ago

I imported the Zombie Hand Pixel Stake Left model from Boscoyo. I then hit CTRL C to copy it but when I hit CTRL V to past XLIGHTS crashes.

xLightsProblem.zip

jayg7800 commented 4 months ago

I am now having this same issue, originally on a 2023.23, but persists after upgrading to 2024.10. xLights crashes whenever I try to copy (CTRL-C_ and then paste (CTRL-V) a model (EFL Pumpkin and Peace Stake xx in log file). This worked fine up until attempting to copy a model that would have been "Peace Stake 77". No controllers mapped to any models.

OS: Windows 11

05-27-2024.log xLightsProblem.zip

jayg7800 commented 4 months ago

Update on my issue - If I switch to 3D mode, I can then copy any existing model. I can then switch back to 2D mode and work with existing models, but cannot copy them in 2D mode or I experience the same crash.

cybercop23 commented 4 months ago

I'll take a look at the attached files this morning, but have you tried to create a brand spanking new show folder, in 2d, and then download or create a new model and then copy/paste? We've seen some issues with bad info in the rgbeffects file before. Also, when you copy/paste.. do just that, Ctrl C -> Ctrl V .... DO NOT move/click when you "want" the model pasted. Move it after the fact. This was fixed in 3d so maybe that's what you are doing.. clicking away and then ctrl v

derwin12 commented 4 months ago
2024-05-27 17:57:44,835 28000 log_base [DEBUG] RecalcStartChannels takes 66ms.
2024-05-27 17:58:34,960 28000 log_base [WARN] LayoutPanel: Error trying to parse XML for paste. Paste request ignored. .
2024-05-27 17:58:48,366 28000 log_base [DEBUG] Model 'Peace Stake 76' chained to ''.
cybercop23 commented 4 months ago

image Just tried it on your layout and no issues..I'm using a Mac with the latest pre-release version...

cybercop23 commented 4 months ago

I am now having this same issue, originally on a 2023.23, but persists after upgrading to 2024.10. xLights crashes whenever I try to copy (CTRL-C_ and then paste (CTRL-V) a model (EFL Pumpkin and Peace Stake xx in log file). This worked fine up until attempting to copy a model that would have been "Peace Stake 77". No controllers mapped to any models.

OS: Windows 11

05-27-2024.log xLightsProblem.zip

Seems okay here... copyed/pasted several props and stakes.... image

AzGilrock commented 4 months ago

I didn't think my copy/paste bug fix was specific to 3D or 2D.

cybercop23 commented 4 months ago

I didn't think my copy/paste bug fix was specific to 3D or 2D.

Okay. thought it may have been since he said it was working in 3D. But works for me, for both issues, 2d/3d.. and a MAC...

Maybe you guys can jump in the Zoom room and we can take a look.

jayg7800 commented 4 months ago

I didn't think my copy/paste bug fix was specific to 3D or 2D.

Okay. thought it may have been since he said it was working in 3D. But works for me, for both issues, 2d/3d.. and a MAC...

Maybe you guys can jump in the Zoom room and we can take a look.

I joined the Zoom room tonight and we narrowed it down to the following workflow:

If I don't click off the model after pressing CTRL-C, it functions normally. Also, it was noted that the crash happens before the pop-up window appears asking if I wish to add the model to existing groups.

cybercop23 commented 4 months ago

What I have been saying... don't click anywhere..just copy/paste... The fix to allow you to click off...$4551 will be in 2024.11.

AzGilrock commented 4 months ago

Yeah this the one I fixed 3 weeks ago we just haven't done a release. See #4551