LUA Error when opening edit mode #1412


Open
  • RicoBandito created this issue Feb 28, 2023

    getting this LUA error always after opening the edit mode:

     

    Message: Interface/FrameXML/BuffFrame.lua:374: attempt to compare number with nil
    Time: Wed Mar 1 02:11:56 2023
    Count: 1
    Stack: Interface/FrameXML/BuffFrame.lua:374: attempt to compare number with nil
    [string "@Interface/FrameXML/BuffFrame.lua"]:374: in function `RefreshCollapseExpandButtonState'
    [string "@Interface/FrameXML/BuffFrame.lua"]:387: in function `UpdateAuraButtons'
    [string "@Interface/FrameXML/EditModeManager.lua"]:1797: in function `RefreshAuraFrame'
    [string "@Interface/FrameXML/EditModeManager.lua"]:1523: in function `OnEditModeEnter'
    [string "@Interface/FrameXML/EditModeManager.lua"]:172: in function `EnterEditMode'
    [string "@Interface/FrameXML/EditModeManager.lua"]:196: in function <Interface/FrameXML/EditModeManager.lua:194>
    [string "=[C]"]: ?
    [string "=[C]"]: in function `Show'
    [string "@Interface/FrameXML/UIParent.lua"]:2915: in function `SetUIPanel'
    [string "@Interface/FrameXML/UIParent.lua"]:2719: in function `ShowUIPanel'
    [string "@Interface/FrameXML/UIParent.lua"]:2623: in function <Interface/FrameXML/UIParent.lua:2619>
    [string "=[C]"]: in function `SetAttribute'
    ...
    [string "=[C]"]: ?
    [string "=[C]"]: in function `ChatEdit_ParseText'
    [string "@Interface/FrameXML/ChatFrame.lua"]:4893: in function <Interface/FrameXML/ChatFrame.lua:4892>
    [string "=[C]"]: in function `ChatEdit_SendText'
    [string "@Interface/FrameXML/ChatFrame.lua"]:3137: in function <Interface/FrameXML/ChatFrame.lua:3130>
    [string "=[C]"]: in function `RunMacroText'
    [string "@Interface/FrameXML/SecureTemplates.lua"]:468: in function `handler'
    [string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672>
    [string "@Interface/FrameXML/SecureTemplates.lua"]:727: in function <Interface/FrameXML/SecureTemplates.lua:725>
    [string "@Interface/FrameXML/SecureTemplates.lua"]:749: in function <Interface/FrameXML/SecureTemplates.lua:730>

    Locals: self = BuffFrame {
    0 = <userdata>
    hasInitializedForEditMode = false
    UpdateMagnetismRegistration = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:594
    GetSnapOffsets = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:479
    GetSettingValue = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:320
    systemInfo = <table> {
    }
    AuraFrame_OnLoad = <function> defined @Interface/FrameXML/BuffFrame.lua:152
    isHighlighted = false
    OnDragStart = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:652
    isInEditMode = false
    dirtySettings = <table> {
    }
    downKeys = <table> {
    }
    settingMap = <table> {
    }
    hasActiveChanges = false
    UpdateSystemSettingIconPadding = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:1566
    UpdateTemporaryEnchantments = <function> defined @Interface/FrameXML/BuffFrame.lua:411
    OnDragStop = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:662
    SetScale = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:95
    snappedFrames = <table> {
    }
    IsInDefaultPosition = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:648
    GetSelectionOffset = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:431
    IsVerticallyAlignedWithFrame = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:396
    settingsDialogAnchor = <table> {
    }
    ResetToDefaultPosition = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:216
    ConvertSettingDisplayValueToRawValue = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:159
    GetScaledSelectionSides = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:423
    SetSnappedToFrame = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:505
    SelectSystem = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:622
    savedSystemInfo = <table> {
    }
    UseSettingAltName = <function> defined @Interface/FrameXML/EditModeSystemTemplates.lua:342
    IsHorizontallyAlignedWithFrame = <function> defined @Interface/FrameXML/Edit

  • rakkarage posted a comment Apr 21, 2023

    I get the same error. Seems like because pitbull hides the AuraFrame and makes a new ones attached to player frames. Maybe disable hide in edit mode or...

     

    Edit: If you do a fresh install it works because the aura frame not hidden... if you hide the aura frame in pitbull settings /reload and try edit mode again you get this error


    Edited Apr 21, 2023

To post a comment, please login or register a new account.