Sellorio / mega-macro

A World of Warcraft AddOn that replaces the built in macro functionality allowing more and bigger macros.
17 stars 13 forks source link

ActionButton locked: [ADDON_ACTION_BLOCKED] AddOn 'MegaMacro' tried to call the protected function #200

Open paulbuechner opened 1 year ago

paulbuechner commented 1 year ago

This a collecting thread, to keep track of related issues regarding a problem where ActionButtons get locked due to:

[ADDON_ACTION_BLOCKED] AddOn 'MegaMacro' tried to call the protected function ''

Reloading fixes the issue, but only temporarily.

Related Issues:

More Resources:

paulbuechner commented 1 year ago

Error Collection:

2x [ADDON_ACTION_BLOCKED] AddOn 'MegaMacro' hat versucht die geschützte Funktion 'MultiBarBottomRightButton1:SetShown()' aufzurufen.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `SetShown'
[string "@FrameXML/ActionBar.lua"]:206: in function `UpdateShownButtons'
[string "@FrameXML/ActionButton.lua"]:367: in function <FrameXML/ActionButton.lua:357>
[string "=[C]"]: in function `UpdateAction'
[string "@FrameXML/ActionButton.lua"]:821: in function `OnEvent'
[string "@FrameXML/ActionButton.lua"]:216: in function <FrameXML/ActionButton.lua:213>
2x [ADDON_ACTION_BLOCKED] AddOn 'MegaMacro' hat versucht die geschützte Funktion 'OverrideActionBarButton4:SetAttribute()' aufzurufen.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML/ActionButton.lua"]:330: in function `UpdatePressAndHoldAction'
[string "@FrameXML/ActionButton.lua"]:392: in function `Update'
[string "@FrameXML/ActionButton.lua"]:342: in function `UpdateAction'
[string "@FrameXML/ActionButton.lua"]:801: in function `OnEvent'
[string "@FrameXML/ActionButton.lua"]:196: in function <FrameXML/ActionButton.lua:193>
jquick commented 1 year ago

I run into this a lot. Usually after porting or accepting a battle res. Very happy a fix is incoming.

paulbuechner commented 1 year ago

As for the current activity status of the Addon owner, I can't give any details on when this fix will get merged.

However, for everyone wanting a fix immediately: Please clone or download my fork and extract the following to your Interface\AddOns\MegaMacro folder:

Note: This will temporarily disable your MainMenuBar/MainActionBar tooltip information

Also, make sure to back up your Interface and WTF folders before performing this operation, so you can restore your previous state if something doesn't work as expected.

Additionally, to keep track of current and future improvements and fixes see here: https://github.com/aurelion314/mega-macro/pull/2

JoeLatte88 commented 1 year ago

@aurelion314 , any chance we can get the above changes in? After today's reset, I have also started seeing the above issue from the Error Collection...... I know there are several fixes/changes in the PR @paulbuechner mentions :)

aurelion314 commented 1 year ago

Wow Paul has been busy with fixes! I didn't see any of this till now. Thanks for pinging me. I'll merge that PR on my branch and create a pull request for Sellorio in a bit. Bit busy with work right now but I'll find some time soon.

JoeLatte88 commented 1 year ago

@paulbuechner , lets raise the PR against the main repo so we can get the fixes in :) we have confidence with what you've done thus far :)