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
529 stars 196 forks source link

Model import on 2024.10 hangs on Macbook Pro M3 Max #4555

Closed Timmyloowho closed 1 month ago

Timmyloowho commented 2 months ago

Layout loads fine. When click on the down arrow (download model), I get the spinning icon for 2-3 minutes. Once the list comes up and I select a model to download, the spinning icon comes back and does not timeout. Occasionally, Xlights will crash with a sigabrt at this point.

I installed 2024.02.1 in a separate instance with the same show folder(s) and clicking on the download model link instantly brings up the list, download takes a few seconds and is done.

Logs are attached, however, I am not sure I viewed anything from while the ball was spinning.

xLightsProblem.zip

Timmyloowho commented 2 months ago

xLights_dbgrpt-921-20240507T091650.zip

derwin12 commented 2 months ago

oops.. I misread that... Keith was trying to track down the issue with the vendor models.

derwin12 commented 2 months ago

It is having trouble getting to GE stuff...

2024-05-06 11:50:12,058 8522955456 log_base [DEBUG] Making request to '' -> /Users/bigolmega/Library/Containers/org.xlights/Data/tmp/xlby4ftc..
2024-05-06 11:50:12,058 8522955456 log_base [ERROR] Failure to access  -> /Users/bigolmega/Library/Containers/org.xlights/Data/tmp/xlby4ftc.: URL using bad/illegal format or missing URL.
2024-05-06 11:50:12,058 8522955456 log_base [DEBUG] File Cache file  could not be retrieved.
https://github.com/GEUSA/Images/blob/main/Grand%20%20Baby%20Grand%20Illusion/1_Grand%20%20Baby%20Grand%20Illusion.jpg?raw=true

Try hitting that link from your browser... If that vendor is not what you need at this time, you can put a check mark to ignore. Seems like something going on getting out from your machine to github?

Timmyloowho commented 2 months ago

If that was the case, any ideas why version of xlights would matter?

On Tue, May 7, 2024 at 8:02 PM Daryl @.***> wrote:

It is having trouble getting to GE stuff...

https://github.com/GEUSA/Images/blob/main/Grand%20%20Baby%20Grand%20Illusion/1_Grand%20%20Baby%20Grand%20Illusion.jpg?raw=true

Try hitting that link from your browser... If that vendor is not what you need at this time, you can put a check mark to ignore. Seems like something going on getting out from your machine to github?

— Reply to this email directly, view it on GitHub https://github.com/xLightsSequencer/xLights/issues/4555#issuecomment-2099651794, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDDDPOSZWUYLFEFBTAGUWZLZBGIUJAVCNFSM6AAAAABHL6W6LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGY2TCNZZGQ . You are receiving this because you authored the thread.Message ID: @.***>

AzGilrock commented 2 months ago

I see several things in the log that don't look good but I'd need to be at home to research what xLights is doing in some cases.

In these 4 lines it looks like it took 8 minutes just to refresh your layout...do you know what operation you were doing here where it says you chained a Custom model to blank? It would help to note the time when you are trying to download a file and then match it up to these log entries. 2024-05-07 09:07:39,332 8450833088 log_base [DEBUG] Model 'Custom' chained to ''. 2024-05-07 09:07:39,375 8450833088 log_base [DEBUG] Custom model EFL Snowman with motor took 9ms to initialise. 2024-05-07 09:07:39,564 8450833088 log_base [DEBUG] RecalcStartChannels takes 213ms. 2024-05-07 09:15:47,328 8450833088 log_base [DEBUG] LayoutPanel::refreshModelList took 487764ms

And I have no idea what this file caching is...if that's something xlights is doing I'm not familiar with that code but it looks like its having issues. 2024-05-07 09:15:51,507 8450833088 log_base [DEBUG] File Cache re-downloading file . 2024-05-07 09:15:51,508 8450833088 log_base [DEBUG] Making request to '' -> /Users/bigolmega/Library/Containers/org.xlights/Data/tmp/xlwcJPtR.. 2024-05-07 09:15:51,508 8450833088 log_base [ERROR] Failure to access -> /Users/bigolmega/Library/Containers/org.xlights/Data/tmp/xlwcJPtR.: URL using bad/illegal format or missing URL. 2024-05-07 09:15:51,508 8450833088 log_base [DEBUG] File Cache file could not be retrieved.

Your "clark.obj" file is missing a "clark.mtl" file so there are tons of errors from all the missing material definitions for the mesh.

AzGilrock commented 2 months ago

I think there is an option to Purge the Vendor Cache so maybe try that first.

Timmyloowho commented 2 months ago

I have replaced the .mtl file. I do not see the option to purge the vendor cache

On Wed, May 8, 2024 at 5:37 AM Gil Jones @.***> wrote:

I think there is an option to Purge the Vendor Cache so maybe try that first.

— Reply to this email directly, view it on GitHub https://github.com/xLightsSequencer/xLights/issues/4555#issuecomment-2100483797, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDDDPOSW2HGYGBQYYEZBBGTZBIMCDAVCNFSM6AAAAABHL6W6LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGQ4DGNZZG4 . You are receiving this because you authored the thread.Message ID: @.***>

AzGilrock commented 2 months ago

Well its called Purge Download Cache under Tools menu and there is an option under Other in Settings to purge it every time you start xLights. If you don't purge I'm not sure you pick up new models from the vendor when they get added.

cybercop23 commented 2 months ago

image image

Timmyloowho commented 2 months ago

Purge makes no difference

computergeek1507 commented 2 months ago

What is a specific model in the downloads that is causing the issue? It could be an issue with a Unicode character in the XML for a path or similar

Timmyloowho commented 2 months ago

It makes no difference, I have tried all different models.

On Tue, May 14, 2024 at 12:05 PM Scott Hanson @.***> wrote:

What is a specific model in the downloads that is causing the issue? It could be an issue with a Unicode character in the XML for a path or similar

— Reply to this email directly, view it on GitHub https://github.com/xLightsSequencer/xLights/issues/4555#issuecomment-2110953393, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDDDPOWJ2RUZRZI5SQ22SIDZCJOAFAVCNFSM6AAAAABHL6W6LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQHE2TGMZZGM . You are receiving this because you authored the thread.Message ID: @.***>

derwin12 commented 2 months ago

If that was the case, any ideas why version of xlights would matter?

The curl command was updated .. so change in version could be the underlying issue..

Timmyloowho commented 2 months ago

Perfect, can we set it back to the one the worked? Or what version just prior to that change can I use.

On Thu, May 16, 2024 at 2:31 PM Daryl @.***> wrote:

If that was the case, any ideas why version of xlights would matter?

The curl command was updated .. so change in version could be the underlying issue..

— Reply to this email directly, view it on GitHub https://github.com/xLightsSequencer/xLights/issues/4555#issuecomment-2116224666, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDDDPOXHPLNMVCTOOYZYPCTZCUQTXAVCNFSM6AAAAABHL6W6LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGIZDINRWGY . You are receiving this because you authored the thread.Message ID: @.***>

derwin12 commented 2 months ago

I cant find a change in 2024 .. the one I was thinking about was in 2023. I don't believe anyone else is hitting this - a couple of devs run Mac and they havent spoken up. Very weird.

cybercop23 commented 1 month ago

@Timmyloowho is this still an issue? If so, please jump in the zoom room to take a look. We haven't seen/heard from others so may be isolated to you. If not an issue, please close.