Author Topic: Error message  (Read 3372 times)

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Error message
« 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

Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: Error message
« Reply #1 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.

Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: Error message
« Reply #2 on: May 17, 2015, 01:59:52 PM »
If you must have &, I believe you can write it as &amp.

James

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Error message
« Reply #3 on: May 17, 2015, 09:09:23 PM »
It is  written as "&amp"

I removed it and replace it with 'and'

Same problem!

Offline scuba

  • Sr. Member
  • ****
  • Posts: 349
    • View Profile
Re: Error message
« Reply #4 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?

Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: Error message
« Reply #5 on: May 17, 2015, 11:20:10 PM »
You can't use the & symbol. That is what caused the error.
Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: Error message
« Reply #6 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.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error message
« Reply #7 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.

Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: Error message
« Reply #8 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]
Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.

Offline rfallatt

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Error message
« Reply #9 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

Offline rfallatt

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Error message
« Reply #10 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.