Editbox Error blocks Chatkeys #1213


Open
  • necsis0815 created this issue Aug 10, 2018

    4x Chatter\Modules\EditBox.lua:448: attempt to concatenate local 'chan' (a nil value)
    Chatter\Modules\EditBox.lua:448: in function <Chatter\Modules\EditBox.lua:437>
    (tail call): ?
    FrameXML\ChatFrame.lua:3994: in function `ChatEdit_ResetChatType'
    FrameXML\ChatFrame.lua:3975: in function `ChatEdit_OnShow'
    [string "*:OnShow"]:1: in function <[string "*:OnShow"]:1>
    [C]: in function `Show'
    FrameXML\ChatFrame.lua:4033: in function <FrameXML\ChatFrame.lua:4021>
    [C]: in function `ChatEdit_ActivateChat'
    FrameXML\ChatFrame.lua:3664: in function `ChatFrame_OpenChat'
    FrameXML\ChatFrame.lua:3753: in function `ChatFrame_SendSmartTell'
    FrameXML\UnitPopup.lua:1607: in function `func'
    FrameXML\UIDropDownMenu.lua:935: in function `UIDropDownMenuButton_OnClick'
    [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

    Locals:
    self = <table> {
    ChatEdit_SetLastActiveWindow = <function> defined @Chatter\Modules\EditBox.lua:399
    SetDefaultModuleLibraries = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:398
    Enable = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:325
    NewModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:266
    FCF_Tab_OnClick = <function> defined @Chatter\Modules\EditBox.lua:361
    EnableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:363
    modules = <table> {
    }
    GetModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:241
    IterateEmbeds = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:473
    SecureHookScript = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:410
    defaultModuleLibraries = <table> {
    }
    RawHookScript = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:395
    LibSharedMedia_Registered = <function> defined @Chatter\Modules\EditBox.lua:237
    GetName = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:310
    GetOptions = <function> defined @Chatter\Modules\EditBox.lua:415
    SetAttach = <function> defined @Chatter\Modules\EditBox.lua:490
    name = "Chatter_Edit Box Polish"
    IsEnabled = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:482
    orderedModules = <table> {
    }
    Decorate = <function> defined @Chatter\Modules\EditBox.lua:282
    DisableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:381
    baseName = "Chatter"
    SetBackdrop = <function> defined @Chatter\Modules\EditBox.lua:419
    HookScript = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:366
    frames = <table> {
    }
    SecureHook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:336
    IsHooked = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:493
    UnhookAll = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:477
    SetBorderByChannel = <function> defined @Chatter\Modules\EditBox.lua:437
    IsModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:248
    db = <table> {
    }
    SetDefaultModuleState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:418
    ChatEdit_DeactivateChat = <function> defined @Chatter\Modules\EditBox.lua:408
    OnDisable = <function> defined @Chatter\Modules\EditBox.lua:368
    SetEnabledState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:455
    Hook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:274
    enabledState = true
    OnEnable = <function> defined @Chatter\Modules\EditBox.lua:316
    OnInitialize = <function> defined @Chatter\Modules\EditBox.lua:256
    Disable = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:345
    hooks = <table> {
    }
    SetDefaultModulePrototype = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:440
    UpdateHeight = <function> defined @Chatter\Modules\EditBox.lua:605
    IterateModules = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:468
    Info = <function> defined @Chatter\Modules\EditBox.lua:601
    RawHook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:313
    Unhook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:418
    moduleName = "Edit Box Polish"
    defaultModuleState = true
    modName = "Eingabefeld"
    }
    (for generator) = <function> defined =[C]:-1
    (for state) = <table> {
    1 = <unnamed> {
    }
    2 = <unnamed> {
    }
    3 = <unnamed> {
    }
    4 = <unnamed> {
    }
    5 = <unnamed> {
    }
    6 = <unnamed> {
    }
    7 = <unnamed> {
    }
    8 = <unnamed> {
    }
    9 = <unnamed> {
    }
    10 = <unnamed> {
    }
    }
    (for control) = 2
    index = 2
    frame = <unnamed> {
    0 = <userdata>
    }
    f = ChatFrame2EditBox {
    0

  • magus424 posted a comment Sep 1, 2018

    If you go to line 448 and change "else" to "elseif chan ~= nil then" then it fixes it


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