Z-Perl Unit Frames

Z-Perl Unit Frames

16M Downloads

Lua error 10.2

zeenk opened this issue ยท 8 comments

commented

Not sure what I did to trigger the lua error but saw this in my Bugsack
10.2 retail v7.1.0
I was on my druid following people for the superbloom event.

6x [ADDON_ACTION_BLOCKED] AddOn 'ZPerl_Player' tried to call the protected function 'PetFrame:SetShown()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `SetShown'
[string "@FrameXML/PetFrame.lua"]:154: in function `UpdateShownState'
[string "@FrameXML/PetFrame.lua"]:58: in function `Update'
[string "@FrameXML/PlayerFrame.lua"]:702: in function `PlayerFrame_ToPlayerArt'
[string "@FrameXML/PlayerFrame.lua"]:429: in function `PlayerFrame_UpdateArt'
[string "@FrameXML/PlayerFrame.lua"]:736: in function `PlayerFrame_OnAlternatePowerBarDisabled'
[string "@FrameXML/AlternatePowerBarBase.lua"]:201: in function `RemoveBarFromUnitUI'
[string "@FrameXML/AlternatePowerBarBase.lua"]:88: in function `SetBarEnabled'
[string "@FrameXML/AlternatePowerBar.lua"]:61: in function `EvaluateUnit'
[string "@FrameXML/AlternatePowerBarBase.lua"]:45: in function `OnEvent'
[string "@FrameXML/AlternatePowerBarBase.lua"]:192: in function `OnEvent'
[string "@FrameXML/AlternatePowerBar.lua"]:40: in function <FrameXML/AlternatePowerBar.lua:23>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}
commented

Fixed with next release.

commented

Ok was able to replicate the error, happens when you swap to travel from while still in combat

commented

Is this happening with every other addon disabled, but the ZPerl- ones?

commented

Yes, I tried with only z-perl and bugsack enabled and still happens. Just moonfire a target dummy then swap to travel form if you want to try it yourself

commented

Think I can fix those too.

commented

The druid swap form bug is fixed however I just got the error again with 7.1.1, I was playing 2 accounts at the same time and was in a raid group for the world boss in emerald dream, when I was flying there with my dragonriding mount & had my 2nd account as a passenger but when I landed and started attacking on main the error popped up on the passenger account that did not start attacking yet but maybe got in combat by a heal or something from the raid group? did not get any error on the main account.

Here is some additional information from taintlog if this helps:

11/17 00:51:26.042  An action was blocked in combat because of taint from ZPerl_Player - PetFrame:SetShown()
11/17 00:51:26.042      Interface/FrameXML/PetFrame.lua:154 PetFrame:UpdateShownState()
11/17 00:51:26.042      Interface/FrameXML/PetFrame.lua:58 PetFrame:Update()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:680 PlayerFrame_ToPlayerArt()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:405 PlayerFrame_UpdateArt()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:150 OnEvent()
11/17 00:51:26.042      Interface/FrameXML/UnitFrame.lua:1086
11/17 00:51:26.042  
11/17 00:51:26.042  An action was blocked in combat because of taint from ZPerl_Player - PlayerFrameBottomManagedFramesContainer:SetSize()
11/17 00:51:26.042      Interface/SharedXML/LayoutFrame.lua:235 Layout()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:794 PlayerFrameBottomManagedFramesContainer:Layout()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:698 PlayerFrame_ToPlayerArt()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:405 PlayerFrame_UpdateArt()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:150 OnEvent()
11/17 00:51:26.042      Interface/FrameXML/UnitFrame.lua:1086
11/17 00:51:26.042  
11/17 00:51:26.042  An action was blocked in combat because of taint from ZPerl_Player - PetFrame:SetShown()
11/17 00:51:26.042      Interface/FrameXML/PetFrame.lua:154 PetFrame:UpdateShownState()
11/17 00:51:26.042      Interface/FrameXML/PetFrame.lua:58 PetFrame:Update()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:411 PlayerFrame_UpdateArt()
11/17 00:51:26.042      Interface/FrameXML/PlayerFrame.lua:150 OnEvent()
11/17 00:51:26.042      Interface/FrameXML/UnitFrame.lua:1086

commented

Should be fixed with next release.

commented

Yep works now, I just tried joining a raid group and dismount like before and the passenger didn't get error now thx :)