Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Lua Errors in Classic Era / Anniversary #27

Closed
Gogo1951 opened this issue Dec 18, 2024 · 13 comments
Closed

Getting Lua Errors in Classic Era / Anniversary #27

Gogo1951 opened this issue Dec 18, 2024 · 13 comments

Comments

@Gogo1951
Copy link

Gogo1951 commented Dec 18, 2024

This says it's an "Elv" issue but I don't get this issue in Elv when I turn off PP so I think it's actually with PP.

I get the error on load:

2x ElvUI/Core/Modules/Skins/Ace3.lua:164: attempt to call method 'Point' (a nil value)
[string "@ElvUI/Core/Modules/Skins/Ace3.lua"]:164: in function `Ace3_SkinTab'
[string "@ElvUI/Core/Modules/Skins/Ace3.lua"]:432: in function `Ace3_RegisterAsContainer'
[string "@ElvUI/Core/Modules/Skins/Skins.lua"]:2214: in function <ElvUI/Core/Modules/Skins/Skins.lua:2195>
[string "=[C]"]: ?
[string "@ElvUI/Core/General/Core.lua"]:1884: in function `CallLoadFunc'
[string "@ElvUI/Core/General/Core.lua"]:1899: in function `CallLoadedModule'
[string "@ElvUI/Core/General/Core.lua"]:1933: in function `InitializeModules'
[string "@ElvUI/Core/General/Core.lua"]:2026: in function `Initialize'
[string "@ElvUI/Core/init.lua"]:413: in function <ElvUI/Core/init.lua:412>
[string "=[C]"]: ?
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: ?
[string "=[C]"]: in function `LoadAddOn'
[string "@ArkInventory/Core/ArkInventoryClient.lua"]:949: in function `LoadAddOn'
[string "@ArkInventory/Core/ArkInventory.lua"]:13496: in function `LoadAddOn'
[string "@ArkInventory/Core/ArkInventory.lua"]:13514: in function `BlizzardAPIHook'
[string "@ArkInventory/Core/ArkInventory.lua"]:3202: in function <ArkInventory/Core/ArkInventory.lua:3158>
[string "=[C]"]: ?
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals:
self = <table> {
 ArrowRotation = <table> {
 }
 modules = <table> {
 }
 hooks = <table> {
 }
 WidgetSkinningFuncs = <table> {
 }
 name = "ElvUI_Skins"
 Initialized = true
 db = <table> {
 }
 EarlyAceTooltips = <table> {
 }
 moduleName = "Skins"
 Blizzard = <table> {
 }
 baseName = "ElvUI"
 EarlyDropdowns = <table> {
 }
 addonsToLoad = <table> {
 }
 PVPHonorXPBarSkinned = false
 enabledState = true
 EarlyAceWidgets = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 orderedModules = <table> {
 }
 defaultModuleState = true
 allowBypass = <table> {
 }
 DropDownMenu_Hooks = <table> {
 }
 FollowerListUpdateDataFrames = <table> {
 }
 PVPHonorXPBarFrames = <table> {
 }
 nonAddonsToLoad = <table> {
 }
}
tab = AceGUITabGroup1Tab3 {
 HighlightTexture = Texture {
 }
 Right = AceGUITabGroup1Tab3Right {
 }
 Left = AceGUITabGroup1Tab3Left {
 }
 value = "raids"
 selected = false
 Middle = AceGUITabGroup1Tab3Middle {
 }
 obj = <table> {
 }
 id = 3
 Text = AceGUITabGroup1Tab3Text {
 }
 selectedTextY = -2
 disabled = true
 deselectedTextY = -3
 LeftDisabled = AceGUITabGroup1Tab3LeftDisabled {
 }
 RightDisabled = AceGUITabGroup1Tab3RightDisabled {
 }
 MiddleDisabled = AceGUITabGroup1Tab3MiddleDisabled {
 }
 text = "Raid"
}
(*temporary) = nil
(*temporary) = "Raid"
(*temporary) = "LEFT"
(*temporary) = 14
(*temporary) = -1
(*temporary) = "attempt to call method 'Point' (a nil value)"
S = <table> {
 ArrowRotation = <table> {
 }
 modules = <table> {
 }
 hooks = <table> {
 }
 WidgetSkinningFuncs = <table> {
 }
 name = "ElvUI_Skins"
 Initialized = true
 db = <table> {
 }
 EarlyAceTooltips = <table> {
 }
 moduleName = "Skins"
 Blizzard = <table> {
 }
 baseName = "ElvUI"
 EarlyDropdowns = <table> {
 }
 addonsToLoad = <table> {
 }
 PVPHonorXPBarSkinned = false
 enabledState = true
 EarlyAceWidgets = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 orderedModules = <table> {
 }
 defaultModuleState = true
 allowBypass = <table> {
 }
 DropDownMenu_Hooks = <table> {
 }
 FollowerListUpdateDataFrames = <table> {
 }
 PVPHonorXPBarFrames = <table> {
 }
 nonAddonsToLoad = <table> {
 }
}

And I get an error when I press buttons in the PP UI. I get this with Elv turned off.

If it matters, I was on a warrior, and there were 2 pallies in the group - one with PP and one without.

Pasted_Image_12_18_24__12_14 PM
1x PallyPower/PallyPower.lua:3867: attempt to index local 'BuffInfo' (a nil value)
[string "@PallyPower/PallyPower.lua"]:3867: in function <PallyPower/PallyPower.lua:3862>

Locals:
(for state) = <table> {
 Papspal-Pagle = <table> {
 }
}
(for control) = "Papspal-Pagle"
name = "Papspal-Pagle"
s = ""
BuffInfo = nil
(for index) = 1
(for limit) = 9
(for step) = 1
i = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'BuffInfo' (a nil value)"

@Gogo1951 Gogo1951 changed the title Getting Lua Error in Classic Era / Anniversary Getting Lua Errors in Classic Era / Anniversary Dec 18, 2024
@Gogo1951
Copy link
Author

Gogo1951 commented Dec 19, 2024

Happens in combat too. With minimap menu open. Weird.

7x [ADDON_ACTION_BLOCKED] AddOn 'ElvUI' tried to call the protected function 'UNKNOWN()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: ?
[string "=[C]"]: in function `Show'
[string "@Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager_Shared.lua"]:513: in function `CompactRaidFrameManager_UpdateContainerVisibility'
[string "@Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager_Shared.lua"]:155: in function `CompactRaidFrameManager_UpdateShown'
[string "@Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua"]:330: in function <...ingsDefinitions_Frame/Classic/InterfaceOverrides.lua:327>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_SharedXMLBase/CvarUtil.lua"]:114: in function <Blizzard_SharedXMLBase/CvarUtil.lua:106>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetZoom'
[string "@GatherMate2/Display.lua"]:552: in function `UpdateMiniMapZoom'
[string "@GatherMate2/Display.lua"]:574: in function `UpdateMaps'
[string "@GatherMate2/Display.lua"]:326: in function `?'
[string "@BugSack/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ack/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@BugSack/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ack/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@BugSack/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@ArkInventory/Externals/Ace3/AceEvent/AceEvent-3.0-4.lua"]:120: in function <...rkInventory/Externals/Ace3/AceEvent/AceEvent-3.0.lua:119>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}

@AznamirWoW
Copy link
Owner

Try with just PallyPower enabled.

@Gogo1951
Copy link
Author

Yeah, with just PP enabled it's fine... but with Elv and Angry Assignments, there's a conflict. I don't have a clear picture who can resolve this.

Ermad/angry-assignments#15

tukui-org/ElvUI#1433

@AznamirWoW
Copy link
Owner

At least provide the versions of the addons / links to download them.

@Gogo1951
Copy link
Author

@AznamirWoW
Copy link
Owner

what version of angry assignments?

@Gogo1951
Copy link
Author

1.16.0

@AznamirWoW
Copy link
Owner

installed all 3 addons, latest versions, no issues.

/aa works

@Gogo1951
Copy link
Author

Huh, any suggestions on what I should do to provide more information?

On sign in... I'm still getting this.

114x AngryAssignments/Core.lua:1607: attempt to call method 'SetMinResize' (a nil value)
[string "@AngryAssignments/Core.lua"]:1607: in function `CreateDisplay'
[string "@AngryAssignments/Core.lua"]:2535: in function <AngryAssignments/Core.lua:2533>
[string "=[C]"]: ?
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: ?
[string "=[C]"]: in function `LoadAddOn'
[string "@ArkInventory/Core/ArkInventoryClient.lua"]:949: in function `LoadAddOn'
[string "@ArkInventory/Core/ArkInventory.lua"]:13496: in function `LoadAddOn'
[string "@ArkInventory/Core/ArkInventory.lua"]:13514: in function `BlizzardAPIHook'
[string "@ArkInventory/Core/ArkInventory.lua"]:3202: in function <ArkInventory/Core/ArkInventory.lua:3158>
[string "=[C]"]: ?
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
[string "@PallyPower/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <PallyPower/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: ?
[string "=[C]"]: in function `LoadAddOn'
[string "@Blizzard_UIParent/Vanilla/UIParent.lua"]:220: in function `UIParentLoadAddOn'
[string "@Blizzard_UIParent/Vanilla/UIParent.lua"]:274: in function `RaidFrame_LoadUI'
[string "@Blizzard_UIPanels_Game/Classic/RaidFrame.lua"]:51: in function <Blizzard_UIPanels_Game/Classic/RaidFrame.lua:46>

Locals:
self = <table> {
 modules = <table> {
 }
 baseName = "AngryAssignments"
 defaultModuleState = true
 enabledState = true
 defaultModuleLibraries = <table> {
 }
 orderedModules = <table> {
 }
 name = "AngryAssignments"
}
frame = Frame {
}
(*temporary) = nil
(*temporary) = Frame {
}
(*temporary) = 180
(*temporary) = 1
(*temporary) = "attempt to call method 'SetMinResize' (a nil value)"
lwin = <table> {
 delayedSavePosition = <table> {
 }
 embeds = <table> {
 }
 windowData = <table> {
 }
 utilFrame = Frame {
 }
}
AngryAssign = <table> {
 modules = <table> {
 }
 baseName = "AngryAssignments"
 defaultModuleState = true
 enabledState = true
 defaultModuleLibraries = <table> {
 }
 orderedModules = <table> {
 }
 name = "AngryAssignments"
}

And when I type /aa, I'm still getting this.

5x AngryAssignments/Core.lua:2526: attempt to call global 'InterfaceOptionsFrame_OpenToCategory' (a nil value)
[string "@AngryAssignments/Core.lua"]:2526: in function `?'
[string "@PallyPower/Libs/AceConsole-3.0-7/AceConsole-3.0.lua"]:90: in function `?'
[string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:5034: in function <Blizzard_ChatFrameBase/Classic/ChatFrame.lua:4980>
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:4686: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Classic/ChatFrame.lua"]:4722: in function <Blizzard_ChatFrameBase/Classic/ChatFrame.lua:4718>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:120_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:120_OnEnterPressed"]:1>

Locals:
self = <table> {
 modules = <table> {
 }
 baseName = "AngryAssignments"
 defaultModuleState = true
 enabledState = true
 defaultModuleLibraries = <table> {
 }
 orderedModules = <table> {
 }
 name = "AngryAssignments"
}
input = ""
(*temporary) = nil
(*temporary) = Frame {
 obj = <table> {
 }
 name = "Angry Assignments"
}
(*temporary) = "attempt to call global 'InterfaceOptionsFrame_OpenToCategory' (a nil value)"
blizOptionsPanel = Frame {
 obj = <table> {
 }
 name = "Angry Assignments"
}

@Gogo1951
Copy link
Author

Gogo1951 commented Jan 27, 2025

And taint logs show...

I'll flag this with Elv again.

1/25 12:14:00.406  Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:4971 ChatEdit_HandleChatType()
1/25 12:14:00.406  An action was blocked in combat because of taint from ElvUI - 
1/25 12:14:00.406      Show()
1/25 12:14:00.406      Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager_Shared.lua:513 CompactRaidFrameManager_UpdateContainerVisibility()
1/25 12:14:00.406      Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager_Shared.lua:155 CompactRaidFrameManager_UpdateShown()
1/25 12:14:00.406      Interface/AddOns/Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua:330
1/25 12:14:00.406      securecallfunction()
1/25 12:14:00.406      Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:144
1/25 12:14:00.406      secureexecuterange()
1/25 12:14:00.406      Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:147 Frame:TriggerEvent()
1/25 12:14:00.406      Interface/AddOns/Blizzard_SharedXMLBase/CvarUtil.lua:114
1/25 12:14:00.406      SetCVar()
1/25 12:14:00.406      Interface/AddOns/Blizzard_SharedXML/Classic/ClassicCvarUtil.lua:7
1/25 12:14:00.406      SetCVar()
1/25 12:14:00.406      Interface/AddOns/DruidMacroHelper/DruidMacroHelper.lua:126 ?()
1/25 12:14:00.406      Interface/AddOns/DruidMacroHelper/DruidMacroHelper.lua:93 OnSlashCommand()
1/25 12:14:00.406      Interface/AddOns/DruidMacroHelper/DruidMacroHelper.lua:437 ?()
1/25 12:14:00.406      Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:5034
1/25 12:14:00.406      ChatEdit_ParseText()
1/25 12:14:00.406      Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:4686 ChatEdit_SendText()
1/25 12:14:00.406      Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:3077
1/25 12:14:00.406      UseAction()
1/25 12:14:00.406      Interface/AddOns/Blizzard_FrameXML/Classic/SecureTemplates.lua:329 handler()
1/25 12:14:00.406      Interface/AddOns/Blizzard_FrameXML/Classic/SecureTemplates.lua:612
1/25 12:14:00.406      pcall()
1/25 12:14:00.406      Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:266
1/25 12:14:00.406      securecall()
1/25 12:14:00.406      Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:296
1/25 12:14:00.408  Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:4971 ChatEdit_HandleChatType()
1/25 12:14:00.408  An action was blocked in combat because of taint from ElvUI - 
1/25 12:14:00.408      Show()
1/25 12:14:00.408      Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager_Shared.lua:513 CompactRaidFrameManager_UpdateContainerVisibility()
1/25 12:14:00.408      Interface/AddOns/Blizzard_CompactRaidFrames/Blizzard_CompactRaidFrameManager_Shared.lua:155 CompactRaidFrameManager_UpdateShown()
1/25 12:14:00.408      Interface/AddOns/Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua:330
1/25 12:14:00.408      securecallfunction()
1/25 12:14:00.408      Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:144
1/25 12:14:00.408      secureexecuterange()
1/25 12:14:00.408      Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:147 Frame:TriggerEvent()
1/25 12:14:00.408      Interface/AddOns/Blizzard_SharedXMLBase/CvarUtil.lua:114
1/25 12:14:00.408      SetCVar()
1/25 12:14:00.408      Interface/AddOns/Blizzard_SharedXML/Classic/ClassicCvarUtil.lua:7
1/25 12:14:00.408      SetCVar()
1/25 12:14:00.408      Interface/AddOns/DruidMacroHelper/DruidMacroHelper.lua:227 ?()
1/25 12:14:00.408      Interface/AddOns/DruidMacroHelper/DruidMacroHelper.lua:93 OnSlashCommand()
1/25 12:14:00.408      Interface/AddOns/DruidMacroHelper/DruidMacroHelper.lua:437 ?()
1/25 12:14:00.408      Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:5034
1/25 12:14:00.408      ChatEdit_ParseText()
1/25 12:14:00.408      Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:4686 ChatEdit_SendText()
1/25 12:14:00.408      Interface/AddOns/Blizzard_ChatFrameBase/Classic/ChatFrame.lua:3077
1/25 12:14:00.408      UseAction()
1/25 12:14:00.408      Interface/AddOns/Blizzard_FrameXML/Classic/SecureTemplates.lua:329 handler()
1/25 12:14:00.408      Interface/AddOns/Blizzard_FrameXML/Classic/SecureTemplates.lua:612
1/25 12:14:00.408      pcall()
1/25 12:14:00.408      Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:266
1/25 12:14:00.408      securecall()
1/25 12:14:00.408      Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:296

@Gogo1951
Copy link
Author

Gogo1951 commented Jan 27, 2025

Trying to get to the bottom of what's going on here...

On sign in, I get a Lua error. It reports as Pally Power / Elv - and when I turn Elv off I don't get this Lua error.

On typing /aa (to open Angry Assignments) I get a Lua error. And Angry Assignments fails to open. (This is the real bug I'm trying to solve.) AngryAssignments also works if I turn off Elv.

The taint log shows DruidMacroHelper... I do play both classes, but even with DMH turned off I get the Lua errors above.

Anyway copy pasting this comment in all four issues, but I don't know if they are related. Happy to test or make tweaks based on feedback.

Thanks!

@AznamirWoW
Copy link
Owner

The following files have SetMinResize that may be deprecated

Image

if there's an addon that uses the AceWidget that has this function, there will be an error.

but anyway, I dont see this error on classic PTR

@Gogo1951
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants