tukui-org / ElvUI

User Interface replacement AddOn for World of Warcraft.
https://tukui.org
Other
398 stars 136 forks source link

4x [ADDON_ACTION_FORBIDDEN] AddOn 'ElvUI' tried to call the protected function 'OnOpen()'. #1178

Closed argium closed 3 months ago

argium commented 3 months ago

Troubleshooting Steps

WoWScrnShot_030924_152954

Describe the expected behavior and what actually happened?

Expected: BugSack is not triggered. Actual: BugSack catches an error.

Reproducing the issue.

  1. Disable all addons other than ElvUI, BugSack, and BugGrabber
  2. Try to open the encounter journal through the shortcut, boss icon on the map. This does not happen every time it's opened but it does eventually happen reliably within a session.

Lua Errors

4x [ADDON_ACTION_FORBIDDEN] AddOn 'ElvUI' tried to call the protected function 'OnOpen()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `OnOpen'
[string "@Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua"]:586: in function <...zzard_EncounterJournal/Blizzard_EncounterJournal.lua:575>
[string "=[C]"]: in function `Show'
[string "@FrameXML/UIParent.lua"]:2968: in function `SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2868: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:2676: in function <FrameXML/UIParent.lua:2672>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML/UIParent.lua"]:3278: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:3239: in function `ToggleFrame'
[string "@FrameXML/UIParent.lua"]:1177: in function `ToggleEncounterJournal'
[string "TOGGLEENCOUNTERJOURNAL"]:1: in function <[string "TOGGLEENCOUNTERJOURNAL"]:1>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

Verification Steps

argium commented 3 months ago

Side note: I am trying to track down a separate issue with the selected talent loadout being incorrect and this may or may not be related.

1Botanica1 commented 3 months ago

You have so many addons enabled in that screenshot.

you need to go through the troubleshooting steps and test if you have the issue with ONLY ElvUI enabled.

kodewdle commented 3 months ago

this should already be fixed anyways by: https://github.com/tukui-org/ElvUI/commit/0d1c6d36e7c977ada19d63a87884f3519cc27fbf

feel free to try the dev version: dev.zip

argium commented 3 months ago

Got it. Will give it a shot. Sorry about the screenshots - I was in a rush. I did repro it with debug mode enabled but forgot to take a screenshot at the time.