GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] Attempt to perform arithmetic on local 'offsetY' (a nil value).

meyverick opened this issue Β· 3 comments

commented

πŸ”΅ Describe the bug:
Error when using my macro after updating to last GSE version.

πŸ”΅ To reproduce: (Steps to reproduce the behavior)

  1. Play using the macro without error,
  2. Update GSE,
  3. Play using the macro with error.

πŸ”΅ The error:

466x Interface/FrameXML/EditModeSystemTemplates.lua:631: attempt to perform arithmetic on local 'offsetY' (a nil value)
[string "@Interface/FrameXML/EditModeSystemTemplates.lua"]:631: in function `GetBottomAnchoredHeight'
[string "@Interface/FrameXML/EditModeUtil.lua"]:39: in function `GetBottomActionBarHeight'
[string "@Interface/FrameXML/UIParent.lua"]:3083: in function `UIParentManageFramePositions'
[string "@Interface/FrameXML/UIParent.lua"]:2570: in function <Interface/FrameXML/UIParent.lua:2557>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface/FrameXML/UIParent.lua"]:3113: in function `UIParent_ManageFramePositions'
[string "@Interface/FrameXML/EditModeManager.lua"]:640: in function <Interface/FrameXML/EditModeManager.lua:607>
[string "=[C]"]: in function `UpdateBottomActionBarPositions'
[string "@Interface/FrameXML/EditModeManager.lua"]:561: in function `UpdateActionBarPositions'
[string "@Interface/FrameXML/EditModeManager.lua"]:890: in function `UpdateLayoutInfo'
[string "@Interface/FrameXML/EditModeManager.lua"]:239: in function <Interface/FrameXML/EditModeManager.lua:231>

Locals:
self = MainMenuBar {
 0 = <userdata>
 QuickKeybindRightShadow = Texture {
 }
 UpdateSystemSettingAlwaysShowButtons = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:772
 UpdateMagnetismRegistration = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:506
 GetSnapOffsets = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:411
 UpdateFrameStrata = <function> defined @Interface/FrameXML/ActionBar.lua:194
 UpdateButtonArt = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:669
 IsFrameAnchoredToMe = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:469
 buttonTemplate = "MainBarActionBarButtonTemplate"
 ShowBase = <function> defined =[C]:-1
 GetSelectionOffset = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:363
 ResetToDefaultPosition = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:148
 RefreshButtonArt = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:662
 GetScaledSelectionSides = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:355
 SelectSystem = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:534
 buttonArtDirty = false
 GetFrameMagneticEligibility = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:489
 AddLayoutChildren = <function> defined @Interface/SharedXML/LayoutFrame.lua:48
 IsBelowFrame = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:322
 UpdateSystemSettingIconSize = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:714
 SetScaleBase = <function> defined =[C]:-1
 HasActiveChanges = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:244
 GetScaledCenter = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:348
 DoesSettingDisplayValueEqual = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:268
 OnLoad = <function> defined @Interface/FrameXML/MainMenuBar.lua:6
 UpdateDisplayInfoOptions = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:279
 ActionBarPageNumber = Frame {
 }
 settingDisplayInfoMap = <table> {
 }
 addSystemIndexToName = true
 IsLayoutFrame = <function> defined @Interface/SharedXML/LayoutFrame.lua:36
 DoesSettingValueEqual = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:263
 MarkDirty = <function> defined @Interface/SharedXML/LayoutFrame.lua:90
 ShouldResetSettingsDialogAnchors = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:91
 dirtySettings = <table> {
 }
 UpdateGridLayout = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:648
 IsToTheLeftOfFrame = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:304
 GetSettingsDialogAnchor = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:288
 hasActiveChanges = false
 OnSystemLoad = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:3
 ClearFrameSnap = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:448
 GetCombinedCenterOffset = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:398
 SetupSettingsDialogAnchor = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:232
 IsShownOverride = <function> defined @Interface/FrameXML/ActionBar.lua:286
 dirty = false
 SetPointBase = <function> defined =[C]:-1
 UpdateSystem = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:586
 UpdateShownButtons = <function> defined @Interface/FrameXML/ActionBar.lua:198
 UpdateDirtySettings = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:112
 BreakSnappedFrames = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:431
 HideOverride = <function> defined @Interface/FrameXML/ActionBar.lua:313
 VehicleLeaveButton = MainMenuBarVehicleLeaveButton {
 }
 systemIndex = 1
 snappedFrames = <table> {
 }
 SetShownOverride = <function> defined @Interface/FrameXML/ActionBar.lua:298
 SetPointOverride = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:61
 gridLayoutDirty =

πŸ”΅ GSE.lua file:
GSE.lua

πŸ”΅ Desktop (please complete the following information):

  • OS: Windows 11
  • Game Version: 10.0.2.46689

πŸ”΅ GSE Version:

  • Version: 3.1.20
  • Downloaded From: CurseForge App

πŸ”΅ Additional context:
It was working 1h ago then I updated the addon and I get this error.

commented

Does it still happen when you turn off all your other mods? I can’t get this to happen so I need more information on how this is happening

commented

I would also ask did you update anything else at the same time as this is a generic WoW Ui error and has no mention of happening from being called from GSE. This is having trouble drawing your action bars which GSE has nothing to do with.

commented

It looks fixed by restarting the game completely, perhaps WoW has wrongly started after the update.