Weak Aura bug (Can't open config menu after importing Legion weak aura accidentally)
Damenkata opened this issue ยท 16 comments
Describe the bug
I expected to import a weak aura and when I imported it , it would not let me open the config menu of Weak Aura afterwards. It printed some text in the chat box in-game that something has taken control of other things, dependency was compromised or something like that, I can't remember properly.
Do you have an error log of what happened?
PASTE ERROR HERE
2x WeakAuras\RegionTypes\Icon.lua:236: attempt to index local 'id' (a number value)
[string "@WeakAuras\RegionTypes\Icon.lua"]:236: in function `create'
[string "@WeakAuras\WeakAuras-3.0.6.lua"]:2833: in function `SetRegion'
[string "@WeakAuras\WeakAuras.lua"]:2759: in function <WeakAuras\WeakAuras.lua:2665>
[string "@WeakAuras\WeakAuras.lua"]:2794: in function `Add'
[string "@WeakAuras\WeakAuras.lua"]:2325: in function `load'
[string "@WeakAuras\WeakAuras.lua"]:2332: in function `AddMany'
[string "@WeakAuras\WeakAuras.lua"]:1009: in function <WeakAuras\WeakAuras.lua:981>
[string "@WeakAuras\WeakAuras-3.0.6.lua"]:1131: in function <WeakAuras\WeakAuras.lua:1082>
To Reproduce
I imported a weak aura that I thought was currently up-to-date but it turned out that the aura was in version 7.0.1
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Screenshots
Screenshots are not needed I think.
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
I tried disabling all the addons and still the problem occurred , I still can't open the config menu of Weak Auras in-game
Which version of WeakAuras are you using?
I am using version 9.0.1 version of the addon.
Are you on World of Warcraft Classic or Retail?
- Classic
- [ X] Retail
Was it working in a previous version? If yes, which was the last good one?
I don't think that would help.
Additional Info
I actually think that the problem is in the code itself, as mentioned above, I also tried erasing the code of the specific Legion aura that was out of date but still it did not help, I included the zip file untouched though.
The problem is that for some reason the id field (that is the name) is a number not a string. I'm 100% sure no official weakauras release ever did that, so no idea what kind of strange import that was.
If you attach your current settings, I can fix that for you.
While there lots of your auras generate errors, I couldn't reproduce the specific error you have posted. And none of these errors prevented the opening of options.
Are you this is the WeakAuras.lua file from the right wow installation?
I still get these errors from the ,,red bag" :
7x WeakAuras\RegionTypes\Icon.lua:236: attempt to index local 'id' (a number value)
[string "@WeakAuras\RegionTypes\Icon.lua"]:236: in function create' [string "@WeakAuras\WeakAuras-3.0.6.lua"]:2833: in function
SetRegion'
[string "@WeakAuras\WeakAuras.lua"]:2759: in function <WeakAuras\WeakAuras.lua:2665>
[string "@WeakAuras\WeakAuras.lua"]:2794: in function Add' [string "@WeakAuras\WeakAuras.lua"]:2325: in function
load'
[string "@WeakAuras\WeakAuras.lua"]:2332: in function `AddMany'
[string "@WeakAuras\WeakAuras.lua"]:1009: in function <WeakAuras\WeakAuras.lua:981>
[string "@WeakAuras\WeakAuras-3.0.6.lua"]:1131: in function <WeakAuras\WeakAuras.lua:1082>
I actually may have attached the wrong file, my bad. I have been trying yesterday to solve the problem on my own that I lost track of my files. This is certainly the right one :
WeakAuras.zip
I believe the problem could be solved if I revert the addon version back to 7.0.1 (like the specific addon). And hopefully it lets me open the config menu there and therefore delete the 7.0.1 weak aura.
What do you think ?
These are the auras from the account folder , I am not sure if that is what you requested me to attach :
WeakAuras_from_account_savedvariables.zip
I am yet again sorry for keeping you from doing your actual important stuff.
This should work:
WeakAuras.zip
I appreciate your help very much ! Thank you a hundred times Infus, if I may call you this way!
If you don't mind me asking , what was the problem actually ? I am studying software engineering myself as well.