Author Topic: Error messages popping up referring to models that have been renamed  (Read 2109 times)

Offline RGBNoob

  • Newbie
  • *
  • Posts: 35
    • View Profile
Since June I have been getting errors in XL every time I initially save a file in a session or sometimes when I click a group to expand it to see all of its models.  I get popups for nearly every model that I have made some type edit to at some point, so I am getting 16 error messages in a row with the name of each model and stating that "Could not find a model or group names [model name]".  The names of the models listed in the error message are the previous name of the model before I changed them to a new name.  The old names no longer show up anywhere in the Layout or Sequencer tabs so I have no problem getting the names changed, it is that XL is still keeping track of the old model names somewhere.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error messages popping up referring to models that have been renamed
« Reply #1 on: August 15, 2015, 03:33:27 PM »
Everything is stored in xlights_rgbeffects.xml and the sequence xml files.  We do have some issues with model names not being updated in the views when renamed not sure about any other conditions.  But you can manually fix this yourself.  Those files are easily edited as text files.  Notepad++ is a good free program that will edit them.

Offline RGBNoob

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error messages popping up referring to models that have been renamed
« Reply #2 on: August 15, 2015, 03:44:07 PM »
Everything is stored in xlights_rgbeffects.xml and the sequence xml files.  We do have some issues with model names not being updated in the views when renamed not sure about any other conditions.  But you can manually fix this yourself.  Those files are easily edited as text files.  Notepad++ is a good free program that will edit them.

Gil, do I delete the old model names or change them to the new names?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error messages popping up referring to models that have been renamed
« Reply #3 on: August 15, 2015, 04:00:59 PM »
Just fix them to the names you want them to be.  We'll try to fix the code to not cause the situation again but if its already gotten out of sync you will need to fix manually.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Error messages popping up referring to models that have been renamed
« Reply #4 on: August 15, 2015, 04:01:48 PM »
If it's really a View causing it you might be able to just delete the View and then recreate it.

Offline RGBNoob

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error messages popping up referring to models that have been renamed
« Reply #5 on: August 15, 2015, 05:51:17 PM »
Just fix them to the names you want them to be.  We'll try to fix the code to not cause the situation again but if its already gotten out of sync you will need to fix manually.

Will do, thanks Gil.

Offline RGBNoob

  • Newbie
  • *
  • Posts: 35
    • View Profile
Re: Error messages popping up referring to models that have been renamed
« Reply #6 on: August 15, 2015, 06:28:47 PM »
Everything is stored in xlights_rgbeffects.xml and the sequence xml files.  We do have some issues with model names not being updated in the views when renamed not sure about any other conditions.  But you can manually fix this yourself.  Those files are easily edited as text files.  Notepad++ is a good free program that will edit them.

That did it.  I actually saw both the old and new names so I just deleted the old names.

It was only in the xlights_rgbeffects.xml file and only in the group "Whole House Group" which was probably the first group I created after watching one of your(?) videos.