155 - Very weird error with Dynamic Groups
I'm pretty sure I'm using r128, wish I could check in game. Anywho.
I had 2 Dynamic Groups for 2 specs, and decided to merge them together.
(Not sure if this detail pertains to the error) The group that I was merging into the other group was set to Never show.
I proceeded to click the "<" (remove from group) icon next to all 3 of my progress bars in this dynamic group, they all left fine. I went to go put them into the group that I wanted to put them into, it worked fine. I deleted the unused Dynamic Group. Then I realized I put them into the wrong dynamic group. This is where shit hit the fan. I tried to click the "<" arrow next to the abilities in this group to move them to the correct group, but an error occured. The error text was
2x ...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:229: Display thinks it is a member of a group which does not control it:
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:229: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:215>:
I tried clicking another one out of the group, same error. Tried the last bar, same error. Decided to reload my UI and noticed that when I came back these bars were no longer in the config window at all.
Now there are 2 "ghost bars" in 2 of my Dynamic Groups, 2 identical ghost bars in 2 different groups. These ghost bars show up when I go to configure each individual group and show up even after I exit the config, I cannot get rid of them! Before I opened the config there was text on the bars, it read "Error" - - but the text went away, they're blank now.
Additionally, I haven't found a way to hide these ghost bars at all. Even if I close the little eye (Hide) next to loaded and unloaded, they still show up.
Here are some screenshots of the bug
http://img820.imageshack.us/i/ss1lk.png/
http://img140.imageshack.us/i/ss2pv.png/
http://img840.imageshack.us/i/ss3vz.png/
(the bugged progress bars are the 2 mostly blank, overlapping bars toward the bottom right)
Not sure what I can do to provide more information. Here are a few errors sprung by WA, not sure if they are related to this error or not bug they are in bugsack
1x WeakAurasOptions-1.4b8\WeakAurasOptions.lua:5115: attempt to index local 'options' (a nil value)
WeakAurasOptions-1.4b8\WeakAurasOptions.lua:977: in function `DeleteOption'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:143: in function `func':
Interface\FrameXML\UIDropDownMenu.lua:638: in function `UIDropDownMenuButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
1x WeakAurasOptions-1.4b8\WeakAurasOptions.lua:5115: attempt to index local 'options' (a nil value)
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:227: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:215>:
| User | When | Change |
|---|---|---|
| Mirrormn | May 06, 2011 at 22:29 UTC | Changed status from Accepted to Fixed |
| Mirrormn | May 03, 2011 at 22:58 UTC | Changed status from New to Accepted |
| JStrese | May 03, 2011 at 22:55 UTC | Changed description:I tried clicking another one out of the group, same error. Tried the last bar, same error. Decided to reload my UI and noticed that when I came back these bars were no longer in the config window at all. Now there are 2 "ghost bars" in 2 of my Dynamic Groups, 2 identical ghost bars in 2 different groups. These ghost bars show up when I go to configure each individual group and show up even after I exit the config, I cannot get rid of them! Before I opened the config there was text on the bars, it read "Error" - - but the text went away, they're blank now. + + Additionally, I haven't found a way to hide these ghost bars at all. Even if I close the little eye (Hide) next to loaded and unloaded, they still show up. [b]Here are some screenshots of the bug[/b] http://img820.imageshack.us/i/ss1lk.png/ |
| JStrese | May 03, 2011 at 22:45 UTC | Changed description:I tried clicking another one out of the group, same error. Tried the last bar, same error. Decided to reload my UI and noticed that when I came back these bars were no longer in the config window at all. - Now there are 2 "ghost bars" in 2 of my Dynamic Groups, 2 identical ghost bars in 2 different groups. These ghost bars show up when I go to configure each individual group and show up even after I exit the config, I cannot get rid of them! Before I opened the config there was text on the bars, it read "Error" -- but the text went away, they're blank now. + Now there are 2 "ghost bars" in 2 of my Dynamic Groups, 2 identical ghost bars in 2 different groups. These ghost bars show up when I go to configure each individual group and show up even after I exit the config, I cannot get rid of them! Before I opened the config there was text on the bars, it read "Error" - - but the text went away, they're blank now. [b]Here are some screenshots of the bug[/b] http://img820.imageshack.us/i/ss1lk.png/ |
| JStrese | May 03, 2011 at 22:45 UTC | Changed description type from Plain Text to BBCode Changed description: Now there are 2 "ghost bars" in 2 of my Dynamic Groups, 2 identical ghost bars in 2 different groups. These ghost bars show up when I go to configure each individual group and show up even after I exit the config, I cannot get rid of them! Before I opened the config there was text on the bars, it read "Error" -- but the text went away, they're blank now. - Here are some screenshots of the bug + [b]Here are some screenshots of the bug[/b] http://img820.imageshack.us/i/ss1lk.png/ http://img140.imageshack.us/i/ss2pv.png/ http://img840.imageshack.us/i/ss3vz.png/ - (the bugged progress bars are the 2 mostly blank, overlapping bars toward the bottom right) + [i](the bugged progress bars are the 2 mostly blank, overlapping bars toward the bottom right)[/i] - Not sure what I can do to provide more information. Here are a few errors sprung by WA, not sure if they are related to this error or not bug they are in bugsack + [b]Not sure what I can do to provide more information. Here are a few errors sprung by WA, not sure if they are related to this error or not bug they are in bugsack[/b] 1x WeakAurasOptions-1.4b8\WeakAurasOptions.lua:5115: attempt to index local 'options' (a nil value) WeakAurasOptions-1.4b8\WeakAurasOptions.lua:977: in function `DeleteOption' |
| JStrese | May 03, 2011 at 22:44 UTC | Changed description: http://img820.imageshack.us/i/ss1lk.png/
http://img140.imageshack.us/i/ss2pv.png/
http://img840.imageshack.us/i/ss3vz.png/
+ (the bugged progress bars are the 2 mostly blank, overlapping bars toward the bottom right)
Not sure what I can do to provide more information. Here are a few errors sprung by WA, not sure if they are related to this error or not bug they are in bugsack |
| JStrese | May 03, 2011 at 22:42 UTC | Create |
- 9 comments
- 9 comments
Facts
- Last updated
- May 06, 2011
- Reported
- May 03, 2011
- Status
- Fixed - Developer made requested changes. QA should verify.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #9
Mirrormn May 06, 2011 at 22:29 UTC - 0 likesImplemented an integrity checker in r131.
- Reply
- #8
JStrese May 05, 2011 at 20:26 UTC - 0 likesI ended up fixing it by going into WeakAuras.lua. It turns out that while the auras were assigned to the correct group, the group itself did not have them assigned to it - - all I had to do was add the missing auras to controlledChildren.
Thanks!
- Reply
- #7
JStrese May 03, 2011 at 23:28 UTC - 0 likesI imported all of my shamans stuff just fine after clearing my savedvariables :D!
I'll keep my savedvaribles for when you implement that integrity check though, I can't be ass'd to export/import like 90 things haha
- Reply
- #6
Mirrormn May 03, 2011 at 23:09 UTC - 0 likesI would not recommend that, especially if you're attempting to Export/Import the offending Dynamic Groups. There are some integrity checks when importing, but I can't guarantee that things wouldn't get worse rather than better! It's pretty likely that you wouldn't be able to import the displays at all, and since Import/Export strings are serialized and compressed, it would be much more problematic to fix the data in that form.
However, I suppose you could back up your SavedVariables file and then try it. I would be interested in seeing the result, if anything.
- Reply
- #5
Mirrormn May 03, 2011 at 23:05 UTC - 0 likesOh, also, the last two errors you posted are not especially relevant to this bug, but rather pertain to the recent change which caused options tables for the UI to be generated dynamically instead of all at startup. I'm working on that too.
Additionally, to display your version, use the script
Alternatively, if you have an addon that shows LibDataBroker displays, such as Bazooka, you can mouse over WeakAuras' LDB object to see your version.
Finally, if you post your SavedVariables file here, I could fix it for you.
- Reply
- #4
JStrese May 03, 2011 at 23:02 UTC - 0 likesWould the problem persist if I exported all of my current stuff, deleted my savedvariables then imported them? Or is there no integrity check when importing them?
- Reply
- #3
Mirrormn May 03, 2011 at 22:57 UTC - 0 likesYou've desynchronized the group/parent settings on your displays. This used to happen fairly often when Groups were new and the code did not do a good job of keeping their states consistent throughout deletion/renaming/regrouping operations. Unfortunately, it seems that it is still possible to reach an illegal state through normal configuration use.
I'll try to reproduce this behavior using the steps you described.
In the meantime, you have two options for making your problem go away. One is to simply delete all of the groups and displays that were involved, and remake them all. The other is to open your SavedVariables file (located at World of Warcraft/WTF/Account/<Account Name>/SavedVariabled/WeakAuras.lua)(this must be done while WoW is closed or it will be rewritten by the WoW client) and edit the values manually. If you're vaguely familiar with the structure of Lua tables, you may be able to do this yourself.
First, you need to identify all of the groups that may have illegal settings. In each group's table, there will be a field called "controlledChildren", which is a table that specifies all the children of a group. The children are defined as key/value pairs, where the key is the order of the child in the group, and the value is the display id of the child.
You need to make sure that each child display is only listed as a child of one group. Then, you need to check the table in your SavedVariables for each child display and make sure that it has a field called "parent" that is the id of its parent group.
If that's too confusing, you'll just have to go with option #1 (deleting everything).
Also, I suppose I could write a start-up routine that checks the integrity of child/parent values and tries to automatically resolve them. So if you want to wait for such an update, that would solve your problem as well.
- Reply
- #2
JStrese May 03, 2011 at 22:51 UTC - 0 likesUgh. I don't even have any Dynamic Groups enabled for my shaman, yet these 2 ghost bars show up on him too. Nothing in the config even hints at these 2 ghost bars, and only the regular stuff is loaded.
Could you give me a way to flush these bugged bars? :(
- Reply
- #1
JStrese May 03, 2011 at 22:46 UTC - 0 likesAdded some formatting so it didn't look like a cluster of text ;_;