tukui-org / ElvUI

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

ADDON_ACTION_FORBIDDEN - 'ElvUI' tried to call the protected function 'OnOpen()' #1054

Closed RealHawkBat closed 1 year ago

RealHawkBat commented 1 year ago

What is the issue you are having?

Note: I'm raising this ticket as the original ticket (#989) was closed, but the issues persists. I am using ElvUI v13.40

When I access the Dungeon Journal for Aberrus raid, and I check the loot tab for the Raid, the BugSack addon detects the bug:

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

What is the expected behavior?

This bug should not occur and should not trigger BugSack.

Other that the error appearing in BugSack, there doesn't appear to be any other observable unexpected behavior.

What actually happened?

The BugSack addon detects the bug:

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

Other that the error appearing in BugSack, there doesn't appear to be any other observable unexpected behavior.

I tried again by disabling every addon I had EXCEPT ElvUI and BugSack/BugGrabber, and the error occurred.

I then disabled ElvUI so the ONLY addons I had active were BugSack/BugGrabber, and the error DID NOT occur.

Suggested Solution/Workaround

I tried by disabling every addon I had EXCEPT ElvUI and BugSack/BugGrabber, and the error occurred. I then disabled ElvUI so the ONLY addons I had active were BugSack/BugGrabber, and the error DID NOT error occur.

Errors

63x [ADDON_ACTION_FORBIDDEN] AddOn 'ElvUI' tried to call the protected function 'OnOpen()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `OnOpen'
[string "@Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua"]:587: in function <...zzard_EncounterJournal/Blizzard_EncounterJournal.lua:576>
[string "=[C]"]: in function `Show'
[string "@FrameXML/UIParent.lua"]:2943: in function `SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2786: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:2651: in function <FrameXML/UIParent.lua:2647>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML/UIParent.lua"]:3253: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:3214: in function `ToggleFrame'
[string "@FrameXML/UIParent.lua"]:1150: in function `ToggleEncounterJournal'
[string "@FrameXML/MainMenuBarMicroButtons.lua"]:1162: in function <FrameXML/MainMenuBarMicroButtons.lua:1160>
[string "=[C]"]: ?

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:486
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:486
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:486
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:552
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:552
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:546
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:561
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:506
}

ElvUI Changelog & Troubleshooting

kodewdle commented 1 year ago

try again on dev please

mhunk commented 1 year ago

Just confirming the issue;

49x [ADDON_ACTION_FORBIDDEN] AddOn 'ElvUI' tried to call the protected function 'OnOpen()'. [string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480> [string "=[C]"]: in function OnOpen' [string "@Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua"]:587: in function <...zzard_EncounterJournal/Blizzard_EncounterJournal.lua:576> [string "=[C]"]: in functionShow' [string "@FrameXML/UIParent.lua"]:2943: in function SetUIPanel' [string "@FrameXML/UIParent.lua"]:2786: in functionShowUIPanel' [string "@FrameXML/UIParent.lua"]:2651: in function <FrameXML/UIParent.lua:2647> [string "=[C]"]: in function SetAttribute' [string "@FrameXML/UIParent.lua"]:3253: in functionShowUIPanel' [string "@FrameXML/UIParent.lua"]:3214: in function ToggleFrame' [string "@FrameXML/UIParent.lua"]:1150: in functionToggleEncounterJournal'

Locals: _ = Frame { RegisterEvent = defined @!BugGrabber/BugGrabber.lua:486 0 = UnregisterEvent = defined @!BugGrabber/BugGrabber.lua:486 SetScript = defined @!BugGrabber/BugGrabber.lua:486 } event = "ADDON_ACTION_FORBIDDEN" events =

{ ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:552 ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:552 PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:546 LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:561 ADDON_LOADED = defined @!BugGrabber/BugGrabber.lua:506 }

RealHawkBat commented 1 year ago

try again on dev please

Do you mean trying with the "/edebug on" command?

I have tried using the "/edebug on" command. However, as the bug is only picked up by the BugSack addon and there isn't any other observable unexpected behavior, I cannot tell if the issue pesists when using the "/edebug on" command.

kodewdle commented 1 year ago
kodewdle commented 1 year ago

i believe this is fixed in 13.41, closing this issue but reopen if you have the error after /edebug on on 13.41 please! :)

argium commented 7 months ago

This is happening to me with edebug on.

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
}