Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: Qbert-PNS on November 29, 2015, 01:22:34 PM

Title: CRASH Cant recover models
Post by: Qbert-PNS on November 29, 2015, 01:22:34 PM
Was Working on a custom model and 4 crashed

Crash Report https://www.dropbox.com/s/khd05wf0lqoq0gp/xLights_dbgrpt-9476-20151129T140950.zip?dl=0
Title: Re: CRASH Cant recover models
Post by: gerry on November 29, 2015, 04:52:12 PM
Hi,

What did u mean by cant recover models ? If you have taken a backup using F10 , then you will have a cvopy of the xlights_rgbeffects file. If note , do a search , or look in the debug zip report generated.
Rename your existing one and copy the other one into your show directory.
Title: Re: CRASH Cant recover models
Post by: Qbert-PNS on December 02, 2015, 07:14:55 AM
I have a CSV file of all but the last four I built
Title: Re: CRASH Cant recover models
Post by: Qbert-PNS on December 02, 2015, 07:17:26 AM
TH RGBeffects file has the original 5 models i was playing with and deleted.
Title: Re: CRASH Cant recover models
Post by: Gilrock on December 02, 2015, 09:48:02 PM
If it crashed before you saved the models then yes they are gone.
Title: Re: CRASH Cant recover models
Post by: Qbert-PNS on December 02, 2015, 10:33:12 PM
I rebuilt all the models tonight.  Saved henm and have several backups (F10)when I shut down X/N and restart it  I get "unable to load RGB File"
All models are gone.
Copy the last backup in to the program folder and no joy.
All the backup RGB_effects are BLANK
ON Startup after the RGB message and the program is open I get"XML parsing error: not well-formed (invalid token)' at line 4
SO, am i in trouble with thisI am with my wife
Title: Re: CRASH Cant recover models
Post by: Gilrock on December 03, 2015, 07:07:37 AM
Qbert,

You know XML is just plain text right?  So you can open it up and look at it.  It's quite intuitive how things work once you look at it.  Notepad doesn't format XML very well so we suggest downloading the free program Notepad++ to view the XML files.  If you open the file that you attached you can see your file has a bunch of garbage characters on the "Pixel Tree" model at line 4 in the file just like the error message told you.  You can just delete that one line and you'll have all your other models back.  Now why that file is getting corrupted is something to worry about.  I've never seen corruption like that so you might have some bad things happening in your hard drive.  I don't think its xLights writing that garbage to the file.
Title: Re: CRASH Cant recover models
Post by: Qbert-PNS on December 03, 2015, 07:18:35 PM
Yes I knew it was just text.

Didn't have an appropriate "viewer"

Worked like a champ.

Thank you very much Sir.

Merry Christmas