Author Topic: Getting Network error when opening xLights Ver. 39  (Read 3290 times)

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Getting Network error when opening xLights Ver. 39
« on: July 10, 2016, 09:37:23 AM »
I am getting an error message when opening xLights, Unable to load network file. Then I press (OK) and the next error message is XML parsing error:unclosed token at line 2976. Then when xLights open up my network settings are blank. I have tried a number of different options including reinstalling xLights, Copied the network file from a backup that I had before this issues and still getting the same error. How can I resolve this and get my network settings back?

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #1 on: July 10, 2016, 11:50:25 AM »
For me network settings are pretty easy to create so I would just recreate them, but then I use all E1.31 at 512 channels per and just tell it to create 111 universes. Bam, all done.
Jim Nealand
Kennesaw, GA

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #2 on: July 10, 2016, 01:09:44 PM »
If its really the networks file then yeah just delete it and re-allocate your universes next time you start.  I'd like to see the xlights_networks.xml and xlights_rgbeffects.xml files in the directory giving you trouble.

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #3 on: July 10, 2016, 03:23:12 PM »
If its really the networks file then yeah just delete it and re-allocate your universes next time you start.  I'd like to see the xlights_networks.xml and xlights_rgbeffects.xml files in the directory giving you trouble.
Here are the files. 

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #4 on: July 10, 2016, 03:58:12 PM »
Those files don't give me any errors.

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #5 on: July 10, 2016, 04:05:27 PM »
I clicked the save key on the network settings to see it it would stop the error message popping up. That stopped the error message and looks like it cleared the error problem to. If it ever happens again I'll save the file with a different name. I have entered all of my network settings back.  Thanks for looking in to this.

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #6 on: July 10, 2016, 08:48:58 PM »
Those files don't give me any errors.
I lost all of my network settings again. I am getting the same error message. This time I save the files with the issues. I also attched the printscreen. I hope the issue shows up this time. Thanks.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #7 on: July 10, 2016, 09:18:37 PM »
Or maybe that's something on the Test panel.  Can you tell me what you were doing?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #8 on: July 10, 2016, 09:35:01 PM »
Ok I found in the code where that "testpreset" is created when you hit Save on the Test Dialog.  Only theory I have at the moment is maybe you hit Save when an autosave was in progress.

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #9 on: July 10, 2016, 10:01:15 PM »
Ok I found in the code where that "testpreset" is created when you hit Save on the Test Dialog.  Only theory I have at the moment is maybe you hit Save when an autosave was in progress.
I forgot that there is an autosave now. I am hitting save because the save button is in Red.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #10 on: July 11, 2016, 07:57:01 AM »
I think you're talking about a different save button.  We have at least 4...lol.

Offline keithsw1112

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #11 on: July 11, 2016, 01:29:02 PM »
I looked at the code for this last night and I am stumped for how it can end up in this state.

Are you able to reproduce the problem? If so can you describe the steps that were involved.

I would like to get to the bottom of it.

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #12 on: July 11, 2016, 06:39:36 PM »
I looked at the code for this last night and I am stumped for how it can end up in this state.

Are you able to reproduce the problem? If so can you describe the steps that were involved.

I would like to get to the bottom of it.
I'll try to reproduce the issue. Yesterday was the first time that I had this issue with all of my network settings dropping/deleting when I was setting up the testing tool to test some lights. It happened twice yesterday, I hope it will do it again today.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #13 on: July 11, 2016, 08:57:17 PM »
Do you have anything going to cloud storage when it saves?

Offline Brightlights

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Getting Network error when opening xLights Ver. 39
« Reply #14 on: July 11, 2016, 09:01:48 PM »
Do you have anything going to cloud storage when it saves?
The folders are on an external NAS hard drive.


Sent from my _ _ _ _ using Tapatalk