Author Topic: Error message  (Read 4288 times)

Offline baf05

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Error message
« Reply #15 on: May 25, 2017, 01:30:27 AM »
OK so I have attached the files. as you can I see I have labelled them one that works, and one that needs to work.

If those of you who understand this could cast an eye over the two files that would be greatly appreciated.

Also, as a learning thing, if someone could take the time to point out the error, and a way to fix it, that why if this happens again I may be able to help myself, teach a man to fish and all that...

Thanks all :)

Offline jeremy0203

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Error message
« Reply #16 on: May 25, 2017, 01:44:36 AM »
line 12-13 and 16-17 has some improper syntax. <stateInfo Name="Right eye" =""

Offline baf05

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Error message
« Reply #17 on: May 25, 2017, 02:31:15 AM »
ok?  So first, I don't actually know how to work out which line is which?  Do you just open in word pad and count down line as word pad sets it out?

Second, what would the correct syntax be?

Offline worksopian

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: Error message
« Reply #18 on: May 25, 2017, 07:46:04 AM »
Use Notepad++ to read and edit the code, it shows the line numbers. Sadly not an expert!
Fenton, Michigan

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: Error message
« Reply #19 on: May 25, 2017, 07:49:32 AM »
Notepad++ is one of the essential programs everyone should have to be able to read and/or edit the files used in xlights.
Jim Nealand
Kennesaw, GA

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error message
« Reply #20 on: May 25, 2017, 08:06:48 AM »
Sounds like its time for a group hug...lol.

Offline worksopian

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: Error message
« Reply #21 on: May 25, 2017, 08:46:20 AM »
"....put your arms across the world at christmas time...."  :) ;) :D
Fenton, Michigan

Offline baf05

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Error message
« Reply #22 on: May 25, 2017, 10:27:48 AM »
yes we all love each other and every thing is good in the world la la laaaaaa ...

... the correct syntax to insert in 12-13 16-17?

 :) :P


Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Error message
« Reply #23 on: May 25, 2017, 10:46:19 AM »
Sounds like its time for a group hug...lol.
Fine, but that's where I'm going to draw the line.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error message
« Reply #24 on: May 25, 2017, 10:52:37 AM »
I'm not at home to try it but by visual inspection all your "stateInfo" lines have '=""' with a missing name.  Not sure how it got into that state.  If we can figure out when/how that happens we need to fix it.  You should be able to just delete the extra '=""' in those 4 places and the file should work.

<stateInfo Name="Right eye" ="" CustomColors="1"....

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error message
« Reply #25 on: May 25, 2017, 10:58:43 AM »
By the way if you aren't using it Notepad++ is a great free program that we use to view any XML file.

Offline baf05

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Error message
« Reply #26 on: May 26, 2017, 01:44:32 AM »
So update!

Down loaded Notepad++ and was able to look at the files and work out which line was which.

With the help of Gil I was able to delete the offending syntax and now the file works.

The was some unusual hangover in the models but that was fixed with an update.

I still have no idea how it all happened. Nor do I even understand what I was reading and correcting, BUT I know have my models all working correctly again, and a small xml file sitting on my desktop that I know is good, if this happens again!

Thanks to all for there input! :)

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Error message
« Reply #27 on: May 26, 2017, 02:18:37 AM »
Gil ... there was a bug like that several releases ago that I fixed.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error message
« Reply #28 on: May 26, 2017, 07:43:00 AM »
Yes I'd say keep an eye out and see if it happens again.  I wouldn't think that kind of error in the file happened due to using something like a dropbox although it does seem like we've had a few users have issues when using external storage that may be slower.

Offline baf05

  • Newbie
  • *
  • Posts: 47
    • View Profile
Re: Error message
« Reply #29 on: May 26, 2017, 05:47:04 PM »
I have save the fixed file outside of drop box, and left it on my desk top in case it happens again, that way I can just plug it back in and use it if needed.

I will keep using drop box and report back if it happens again :)

Once again, thanks for everyone's help :)