Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: scuba on May 17, 2015, 11:39:32 AM

Title: Error message
Post by: scuba on May 17, 2015, 11:39:32 AM
I was opening a Xlights sequence (.fseq) that had opened and ran before.  This error message was presented:

"Xlights Error

XML Parsing Error:'not well-formed (invalid token)'
at Line 9"




So far, no other file has this problem: the same problem with the .xml file
Title: Re: Error message
Post by: flyinverted on May 17, 2015, 11:53:12 AM
Line 9 of your XML is <artist>Emerson, Lake & Palmer</artist>

Rule #21 of XML =no symbols.  Take the & out and I bet you'll be G2G.

Title: Re: Error message
Post by: Phrog30 on May 17, 2015, 01:59:52 PM
If you must have &, I believe you can write it as &amp.

James
Title: Re: Error message
Post by: scuba on May 17, 2015, 09:09:23 PM
It is  written as "&amp"

I removed it and replace it with 'and'

Same problem!
Title: Re: Error message
Post by: scuba on May 17, 2015, 09:14:51 PM
Ok there is something that's bugging Xlights in that line...I removed the line and all is good!  I wonder why?

  I seemed to have lost most of the sequence because Im using the .XML file instead of the .fseq.  is that what I should expect?
Title: Re: Error message
Post by: flyinverted on May 17, 2015, 11:20:10 PM
You can't use the & symbol. That is what caused the error.
Title: Re: Error message
Post by: Phrog30 on May 18, 2015, 05:21:08 AM
You can't use the & symbol. That is what caused the error.
Except he just said he removed it and still had problems.

There should be no reason you can't use &amp.
Title: Re: Error message
Post by: Gilrock on May 18, 2015, 07:44:38 AM
That error message is not from code we wrote...it comes from the wxWidgets library we use to read XML.  I didn't get a chance to try the file but I'd like to because I'm curious and we'd like to be able handle whatever's wrong.

Regarding you saying you lost most of your sequence.  The effects are stored in the XML so all you need to do is a Save to recreate the .fseq file.  The only way to lose data is if you were starting with an .fseq that has data from a conversion that wasn't created by NC effects.  In that case the better method would have been to use a data layer to import the data.
Title: Re: Error message
Post by: flyinverted on May 18, 2015, 10:32:59 AM
I was able to take out the ampersand symbol and the XML file opened up just fine for me.

Scuba .. here you go.

Cheers,
ScubaSteve (my nickname at work)
Flyinverted here


[attachment deleted by admin]
Title: Re: Error message
Post by: rfallatt on December 09, 2015, 10:37:49 PM
I got an error tonight
"Unable to load RGB effects" followed by "xml parsing error 'undisclosed token' at line 44"
seem to have lost my models
Title: Re: Error message
Post by: rfallatt on December 09, 2015, 10:57:22 PM
Weirdest thing (well for me)
I loaded an older version from another computer and I can get it to run, but not on the computer the crash happened on.
Note, I usually sequence from a flash drive.