mega-macro icon indicating copy to clipboard operation
mega-macro copied to clipboard

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

Open paulbuechner opened this issue 3 years ago • 7 comments

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:

  • #131
  • #172
  • #173

More Resources:

  • https://github.com/tullamods/Dominos/issues/701

paulbuechner avatar Feb 04 '23 02:02 paulbuechner

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>

paulbuechner avatar Feb 04 '23 02:02 paulbuechner

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

jquick avatar Feb 04 '23 21:02 jquick

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:

  • src, libs folder
  • MegaMacro.toc

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

paulbuechner avatar Feb 05 '23 00:02 paulbuechner

@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 :)

JoeLatte88 avatar Mar 15 '23 02:03 JoeLatte88

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.

aurelion314 avatar Mar 15 '23 02:03 aurelion314

@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 :)

JoeLatte88 avatar Apr 01 '23 13:04 JoeLatte88

Closing this old ticket since there have been many version changes since. If there are still related errors on Midnight or Forever please make a new issue!

aurelion314 avatar Nov 06 '26 22:11 aurelion314