Unable to use any skills [ADDON_ACTION_FORBIDDEN]
IvanDeluxe opened this issue ยท 1 comments
I've entered a "The War Within" dungeon via the Dungeon Finder
& was unable to press any buttons on the skill bar -- these are logs from BugSack
:
2x [ADDON_ACTION_FORBIDDEN] AddOn 'BagSync' tried to call the protected function 'UseAction()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `UseAction'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:342: in function `handler'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:667: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:649>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:681: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:674>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:723: in function `SecureActionButton_OnClick'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:100: in function `TryUseActionButton'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:135: in function `ActionButtonDown'
[string "ACTIONBUTTON5"]:2: in function <[string "ACTIONBUTTON5"]:1>
Locals:
_ = Frame {
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
}
Not sure if relevant, but this was also recorded in the same session:
2x ...eBlizzard_EditMode/Mainline/EditModeUtil.lua:37: bad argument #1 to 'abs' (number expected, got nil)
[string "=[C]"]: in function `abs'
[string "@Blizzard_EditMode/Mainline/EditModeUtil.lua"]:37: in function <...eBlizzard_EditMode/Mainline/EditModeUtil.lua:23>
[string "=(tail call)"]: ?
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:811: in function `UIParentManageFramePositions'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:183: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:169>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:841: in function `UIParent_ManageFramePositions'
[string "@Blizzard_EditMode/Mainline/EditModeManager.lua"]:614: in function `UpdateBottomActionBarPositions'
[string "@Blizzard_EditMode/Mainline/EditModeManager.lua"]:508: in function `UpdateActionBarLayout'
[string "@Blizzard_ActionBar/Mainline/ActionBar.lua"]:357: in function `UpdateVisibility'
[string "@Blizzard_ActionBar/Mainline/ActionBar.lua"]:324: in function `Hide'
[string "@Blizzard_ActionBar/Mainline/PetActionBar.lua"]:172: in function `Update'
[string "@Blizzard_ActionBar/Mainline/PetActionBar.lua"]:83: in function <Blizzard_ActionBar/Mainline/PetActionBar.lua:70>
[string "=[C]"]: ?
Locals:
(*temporary) = nil
(*temporary) = "number expected, got nil"
Love the addon btw โค๏ธ
BagSync is being blamed for the error but it's not the cause of the error. BagSync doesn't even use the UseAction() function anywhere in the addon.
This happens a lot and addons usually get blamed incorrectly. This is because it goes down Alphabetically down the Addon list and BagSync is higher up since it starts with a B. In addition Blizzards error trap reporting is not always accurate.
The actual error was generated by Blizzards own ActionBar template, specifically PetActionBar it seems. Probably a bug they will address in a patch.
Actual error was here:
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:100: in function `TryUseActionButton'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:135: in function `ActionButtonDown'
[string "ACTIONBUTTON5"]:2: in function <[string "ACTIONBUTTON5"]:1>
Hope this helps! And thanks! I'm glad you enjoy the addon ๐ !