Error when opening Guild Bank #13


Open
  • discordgregory created this issue Nov 3, 2021

    Error happens when Blizzard_GuildBankUI is loaded, either by an addon or opening Guild Bank :)

     

    Message: ...argerMacroIconSelection\LargerMacroIconSelection.lua:210: attempt to index local 'sf' (a nil value)
    Time: Wed Nov 3 01:15:44 2021
    Count: 1
    Stack: ...argerMacroIconSelection\LargerMacroIconSelection.lua:210: attempt to index local 'sf' (a nil value)
    [string "@Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua"]:210: in function `Initialize'
    [string "@Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua"]:202: in function <...argerMacroIconSelection\LargerMacroIconSelection.lua:174>
    [string "=[C]"]: in function `LoadAddOn'
    [string "@Interface\FrameXML\UIParent.lua"]:509: in function `UIParentLoadAddOn'
    [string "@Interface\FrameXML\UIParent.lua"]:564: in function `GuildBankFrame_LoadUI'
    [string "@Interface\FrameXML\UIParent.lua"]:2001: in function <Interface\FrameXML\UIParent.lua:1287>

    Locals: self = <unnamed> {
    0 = <userdata>
    UpdateButtons = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:371
    Initialize = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:209
    UpdateTextures = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:435
    OnEvent = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:174
    }
    sf = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to index local 'sf' (a nil value)"
    activeFrame = <table> {
    }
    LoadFileData = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:83
    InitSearch = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:130
    frames = <table> {
    MacroPopupScrollFrame = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:41
    GearManagerDialogPopupScrollFrame = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:54
    GuildBankPopupScrollFrame = <function> defined @Interface\AddOns\LargerMacroIconSelection\LargerMacroIconSelection.lua:67
    }
    origSize = <table> {
    }
    origNum = <table> {
    }
    _G = <table> {
    UpdateOnBarHighlightMarksBySpell = <function> defined @Interface\FrameXML\ActionButton.lua:78
    ERR_OUT_OF_CHI = "Not enough chi"
    DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
    MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
    }
    MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
    }
    GetTrainerServiceTypeFilter = <function> defined =[C]:-1
    UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
    SetTrainerServiceTypeFilter = <function> defined =[C]:-1
    LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 777
    SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
    LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 404
    ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community."
    RecruitAFriendFrame = RecruitAFriendFrame {
    }
    CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
    }
    TutorialFrameLeft19 = TutorialFrameLeft19 {
    }
    MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
    }
    ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
    PVP_RANK_6_1 = "Corporal"
    MultiBarLeftButton7 = MultiBarLeftButton7 {
    }
    InterfaceOptionsNamesPanelUnitNameplatesShowAll = InterfaceOptionsNamesPanelUnitNameplatesShowAll {
    }
    VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture = VideoOptionsFrameCategoryFrameButton17ToggleHighlightTexture {
    }
    MerchantItem1AltCurrencyFrameItem1Text = MerchantItem1AltCurrencyFrameItem1Text {
    }
    OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
    BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
    INSTANCE_UNAVAILABLE_OTHER_TEMPORA

  • epigramx posted a comment Nov 3, 2021

    Seconded, "Message: ...argerMacroIconSelection\LargerMacroIconSelection.lua:209: attempt to index local 'sf' (a nil value)" For me it comes up immediately after log in.

  • epigramx posted a comment Nov 3, 2021

    Workaround for the "sf is nil" error. Add "if not sf then return end" under line 208. I suspect the addon still works but early in the game before macros come up: whatever sf is; is still nil.

  • discordgregory posted a comment Nov 3, 2021

    I believe it's because GuildBankPopupScrollFrame doesn't exist anymore or at least I couldn't find it in 9.1.5. If you remove self:Initialize(GuildBankPopupFrame) the error won't happen either. I assume 'sf' is ScrollFrame


    Edited Nov 3, 2021

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