Pitbull config breaks #1289


Open
  • PrivateSniper created this issue Apr 7, 2020

    Hi, recently when trying to configure pitbull (move frames around etc) occasionally when clicking on a frame to move it, the text will vanish and the frame will become unmovable, sometimes even reloading ui won't fix the frame, this is the stack trace from bug grabber

     

    8x PitBull4\UnitFrame.lua:199: attempt to perform arithmetic on local 'x' (a nil value)
    [string "@PitBull4\UnitFrame.lua"]:199: in function <PitBull4\UnitFrame.lua:158>

    Locals:
    self = PitBull4_Frames_Target's target {
    0 = <userdata>
    Activate = <function> defined @PitBull4\Main.lua:547
    populated = true
    guid = "Player-3391-09546D8F"
    LuaTexts;Name = PitBull4_FontString_173 {
    }
    ReadyCheckIcon = PitBull4_Icon_3 {
    }
    Deactivate = <function> defined @PitBull4\Main.lua:547
    layout_db = <table> {
    }
    best_unit = "player"
    ProxySetAttribute = <function> defined @PitBull4\UnitFrame.lua:132
    UnforceShow = <function> defined @PitBull4\Main.lua:547
    LuaTexts = <table> {
    }
    RoleIcon = PitBull4_Icon_353 {
    }
    RecheckConfigMode = <function> defined @PitBull4\UnitFrame.lua:624
    is_wacky = true
    RefreshVehicle = <function> defined @PitBull4\UnitFrame.lua:489
    IterateControlsOfType = <function> defined @PitBull4\UnitFrame.lua:862
    layout = "Targets Target"
    PLAYER_REGEN_DISABLED = <function> defined @PitBull4\UnitFrame.lua:245
    UpdateBestUnit = <function> defined @PitBull4\UnitFrame.lua:726
    ForceShow = <function> defined @PitBull4\Main.lua:547
    UpdateGUID = <function> defined @PitBull4\UnitFrame.lua:803
    Rename = <function> defined @PitBull4\UnitFrame.lua:665
    RefreshLayout = <function> defined @PitBull4\Main.lua:547
    GetFont = <function> defined @PitBull4\UnitFrame.lua:716
    LuaTexts;Health = PitBull4_FontString_262 {
    }
    Execute = <function> defined @FrameXML\SecureHandlers.lua:777
    overlay = PitBull4_Frame_2 {
    }
    UpdateConfigAnchorLine = <function> defined @PitBull4\Main.lua:547
    unit = "targettarget"
    aura_debuffs = <table> {
    }
    SetFrameRef = <function> defined @FrameXML\SecureHandlers.lua:793
    aura_buffs = <table> {
    }
    masque_group = <table> {
    }
    Background = PitBull4_Texture_1195 {
    }
    RefixSizeAndPosition = <function> defined @PitBull4\Main.lua:547
    WrapScript = <function> defined @FrameXML\SecureHandlers.lua:782
    HealthBar = PitBull4_BetterStatusBar_73 {
    }
    UpdateLayout = <function> defined @PitBull4\UnitFrameLayout.lua:1550
    VisualHeal = PitBull4_BetterStatusBar_33 {
    }
    classification = "Target's target"
    SetClickThroughState = <function> defined @PitBull4\Main.lua:547
    _RefreshLayout = <function> defined @PitBull4\UnitFrame.lua:506
    is_singleton = true
    classification_db = <table> {
    }
    IterateControls = <function> defined @PitBull4\UnitFrame.lua:836
    Update = <function> defined @PitBull4\UnitFrame.lua:750
    UnwrapScript = <function> defined @FrameXML\SecureHandlers.lua:788
    anchor_line = <unnamed> {
    }
    }
    db = <table> {
    relative_to = "STarget"
    scale = 1
    vehicle_swap = true
    unit = "targettarget"
    relative_point = "RIGHT"
    anchor = "LEFT"
    enabled = true
    size_x = 1
    tooltip = "always"
    click_through = false
    horizontal_mirror = false
    position_x = -200.230225
    position_y = -84.042389
    font_multiplier = 1
    vertical_mirror = false
    layout = "Targets Target"
    size_y = 1
    }
    anchor = "LEFT"
    relative_frame = PitBull4_Frames_Target {
    0 = <userdata>
    Activate = <function> defined @PitBull4\Main.lua:547
    populated = true
    guid = "Player-3391-09546D8F"
    LuaTexts;Lua:Name = PitBull4_FontString_157 {
    }
    UnwrapScript = <function> defined @FrameXML\SecureHandlers.lua:788
    layout_db = <table> {
    }
    ProxySetAttribute = <function> defined @PitBull4\UnitFrame.lua:132
    UnforceShow = <function> defined @PitBull4\Main.lua:547
    RoleIcon = PitBull4_Icon_159 {
    }
    is_wacky = false
    RefreshVehicle = <function> defined @PitBull4\UnitFrame.lua:489
    IterateControlsOfType = <function> defined @PitBull4\UnitFrame.lua:862
    layout = "Target"
    PLAYER_REGEN_DISABLED = <function> defined @PitBull4\UnitFrame.lua:245
    UpdateBestUnit = <function> defined @PitBull4\UnitFrame.lua:726
    ForceShow = <function> d

  • PrivateSniper posted a comment Apr 7, 2020

    For reference I managed to recover the frame by deleting it and recreating it, frame in question was target's target, no idea how it broke.

  • sylveil posted a comment May 21, 2020

    I've been having this problem too while trying to customize a new profile. It also happened with target of target in pretty much the same way, except that when I go to click on the frame to move it, the frame becomes untargetable and then will disappear. Reload and logging all the way out will not bring it back. Trying to adjust the party frame also had issues by not showing the new size dimensions, but the window will still show.


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