d4kir92 / MoveAny

Move Addon
GNU General Public License v3.0
5 stars 3 forks source link

Tried to call the protected function StatusBar:Show() #33

Closed Xorag closed 10 months ago

Xorag commented 10 months ago

Started seeing this error in the last few recent versions, often when entering combat:

1x [ADDON_ACTION_BLOCKED] AddOn 'MoveAny' tried to call the protected function 'StatusBar:Show()'. [string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481> [string "=[C]"]: in function Show' [string "@FrameXML/TextStatusBar.lua"]:86: in functionTextStatusBar_UpdateTextStringWithValues' [string "@FrameXML/TextStatusBar.lua"]:72: in function TextStatusBar_UpdateTextString' [string "@FrameXML/TextStatusBar.lua"]:187: in functionTextStatusBar_OnValueChanged' [string "@FrameXML/UnitFrame.lua"]:939: in function UnitFrameHealthBar_OnValueChanged' [string "@FrameXML/TargetFrame.lua"]:1060: in function <FrameXML/TargetFrame.lua:1059> [string "=[C]"]: in functionSetValue' [string "@FrameXML/UnitFrame.lua"]:884: in function <FrameXML/UnitFrame.lua:872>

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

{ ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:553 ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:553 PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:547 LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:562 ADDON_LOADED = defined @!BugGrabber/BugGrabber.lua:507 }

Xorag commented 10 months ago

I am only moving:

Target of Target Frame Totem Timers Castbar from Target

in my config. thanks!

d4kir92 commented 10 months ago

Which wow version are you playing? how can i reproduce that error? :D

Xorag commented 10 months ago

Retail wow, as far as reproducing it happens whenever I enter combat, usually inside of a dungeon or raid for the first time after logging in but does not seem to repeatedly occur

d4kir92 commented 10 months ago

i am not able to reproduce this, must be a combo of settings/addons

d4kir92 commented 10 months ago

i tried the 3 checkboxes only

Xorag commented 10 months ago

I can reproduce it easily with just moveany enabled going into violet hold dungeon in dalaran and just attack some of the npcs. Attached are my character and account config files:

MoveAny_Account.lua.txt MoveAny_Character.lua.txt

d4kir92 commented 10 months ago

image damn it :D still no error

d4kir92 commented 10 months ago

wait now i have one image

Xorag commented 10 months ago

Yes that is my error. I just tested deleting my config and there is no error. so there is an issue with my config it seems?

Xorag commented 10 months ago

I believe all I am doing is moving the cast bar and target of target frame, and the totem timer is completely hidden.

d4kir92 commented 10 months ago

v1.6.111 should fix it

d4kir92 commented 10 months ago

castbar had not the default parent, i made another solution, should work now

Xorag commented 10 months ago

seems to be fixed now thanks so much