Author Topic: Create New Model > Boscoyo > AnyModel: Insert works once/model?  (Read 2166 times)

Offline SanDiegoBob

  • Newbie
  • *
  • Posts: 21
    • View Profile
Create New Model > Boscoyo > AnyModel: Insert works once/model?
« on: February 02, 2018, 06:29:58 PM »
I have not ruled out operator error, and am posting here in the hopes that someone can tell me the error of my ways.

Worked great the first time per the instructions I receive from the nice Boscoyo group.  I inserted a Boyosco snowflake in xlights per their instructions (using the "Create New Download" tab, but did not have time to follow through so I deleted the model from my layout till I had more time to work on it.

I came back later to insert it again using the same "Create New Download" process, but am unable to insert the same model.  When I try to insert it again, I get an error that reads:  “Failure loading custom model file.”, and OK is the only option.  That is followed by the error details “XML parsing error: 'duplicate attribute’ at line 2  16:52:01”.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #1 on: February 02, 2018, 06:31:55 PM »
Well there could be a problem in the XML so you need to specify the model name you were choosing.

Offline deplanche

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #2 on: February 02, 2018, 09:39:40 PM »
I just had this same problem tonight too.  It seems that if I insert a downloaded model, it will work just fine.  However, if I try to download and insert another, it gives that error.  I found this with a 12" 2 prong chromaflake and a chromabulb 30 hanging. 

The odd thing is that the error I am getting isn't layout or sequence specific.  If I go into another layout folder, it will give the same error.  Even closing and restarting xlights does not help.  Only clearing the vendor cache will stop that error. 



Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #3 on: February 02, 2018, 10:04:17 PM »
Go to tools menu and clear the vendor cache. That should fix it.

Offline SanDiegoBob

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #4 on: February 04, 2018, 08:39:59 AM »
Go to tools menu and clear the vendor cache. That should fix it.

Just closing the loop.  I tried all of the 24" Flake models and a couple of the 16" models, and the same thing happens.  The clearing of the cache works every time though.  Many thanks.

Once I have successfully inserted the model, using 'Create New Download', I just export the model and use the Import feature for future inserts.  I am not sure if this was the intent of how it should work, but it works fine.  I guess the other choice would be to 'Create New Download > Clear Cache, and Create > Clear for subsequent inserts for the same model.

Thanks again for all the help (and I will try not to double post)

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #5 on: February 04, 2018, 10:04:21 AM »
It shouldn’t be corrupting the xml. Not sure what is going on there.

Offline SanDiegoBob

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #6 on: February 04, 2018, 10:50:28 AM »
It shouldn’t be corrupting the xml. Not sure what is going on there.

Just in case you have a need, I should have mentioned that I am using:
  - xlights version 2018.4
  - MacOS High Sierra version 10.13.3

But I am happy now, so don't go to any effort on my part.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Create New Model > Boscoyo > AnyModel: Insert works once/model?
« Reply #7 on: February 07, 2018, 02:24:59 AM »
This will be fixed in .6