Mortalknight / GW2_UI

g
79 stars 39 forks source link

[Bug] Loading screen during combat triggers error #217

Closed plusmouse closed 5 months ago

plusmouse commented 5 months ago

Happened upon completion of a daily in Pandaria Remix (Rampage Against the Machine) - for the Klaxxi in the Dread Wastes

1x [ADDON_ACTION_BLOCKED] AddOn 'GW2_UI' tried to call the protected function 'Gw_ZoneAbilityFramePos:SetSize()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetSize'
[string "@GW2_UI/objectives/extraAB_bossAB.lua"]:17: in function <GW2_UI/objectives/extraAB_bossAB.lua:10>
[string "=[C]"]: in function `SetSize'
[string "@Blizzard_SharedXML/LayoutFrame.lua"]:235: in function `Layout'
[string "@Blizzard_SharedXML/LayoutFrame.lua"]:33: in function <Blizzard_SharedXML/LayoutFrame.lua:32>
[string "=[C]"]: in function `SetShown'
[string "@Blizzard_UIPanels_Game/Mainline/ExtraAbilityContainer.lua"]:79: in function `UpdateShownState'
[string "@Blizzard_UIPanels_Game/Mainline/ExtraAbilityContainer.lua"]:52: in function <...ard_UIPanels_Game/Mainline/ExtraAbilityContainer.lua:26>
[string "=[C]"]: in function `AddFrame'
[string "@Blizzard_ZoneAbility/ZoneAbility.lua"]:173: in function <Blizzard_ZoneAbility/ZoneAbility.lua:106>
[string "=[C]"]: in function `UpdateDisplayedZoneAbilities'
[string "@Blizzard_ZoneAbility/ZoneAbility.lua"]:56: in function `Clean'
[string "@Blizzard_ZoneAbility/ZoneAbility.lua"]:50: in function <Blizzard_ZoneAbility/ZoneAbility.lua:50>

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_BLOCKED"
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
}
plusmouse commented 5 months ago

The issue happened again, this time at the start of combat, no loading screen involved.

1x [ADDON_ACTION_BLOCKED] AddOn 'GW2_UI' tried to call the protected function 'Gw_ZoneAbilityFramePos:SetSize()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetSize'
[string "@GW2_UI/objectives/extraAB_bossAB.lua"]:17: in function <GW2_UI/objectives/extraAB_bossAB.lua:10>
[string "=[C]"]: in function `SetSize'
[string "@Blizzard_SharedXML/LayoutFrame.lua"]:235: in function `Layout'
[string "@Blizzard_SharedXML/LayoutFrame.lua"]:95: in function <Blizzard_SharedXML/LayoutFrame.lua:93>

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_BLOCKED"
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
}
Nils89 commented 5 months ago

do you use the develop brunch? The fix is not yet live

plusmouse commented 5 months ago

I don't use the develop branch. I'll install that

plusmouse commented 5 months ago

Using the develop branch I get a new error

1x GW2_UI/core/utils.lua:18: bad argument #1 to 'unpack' (table expected, got nil)
[string "=[C]"]: in function `unpack'
[string "@GW2_UI/core/utils.lua"]:18: in function <GW2_UI/core/utils.lua:10>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"