Errors in 9.2.5 patch #1252


  • Defect
Open
  • Coralirodeth created this issue Jun 1, 2022

    I have encountered 2 errors after the 9.2.5 patch

    5x Chatter\Modules\AltNames.lua:218: attempt to index global 'UnitPopupButtons' (a nil value)
    [string "@Chatter\Modules\AltNames.lua"]:218: in main chunk

    Locals:
    addon = "Chatter"
    private = <table> {
    }
    Chatter = <table> {
    SetDefaultModuleLibraries = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:367
    Enable = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:294
    RegisterChatCommand = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:85
    FCF_Tab_OnClick = <function> defined @Chatter\Chatter.lua:172
    EnableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:332
    modules = <table> {
    }
    GetModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:210
    IterateEmbeds = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:442
    IsClassic = false
    SecureHook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:336
    defaultModuleLibraries = <table> {
    }
    TimeLeft = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:172
    UnregisterChatCommand = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:111
    RawHookScript = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:395
    ScheduleRepeatingTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:129
    CancelAllTimers = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:160
    Printf = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:69
    SetDefaultModulePrototype = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:409
    name = "Chatter"
    IsEnabled = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:451
    orderedModules = <table> {
    }
    ScheduleTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
    DisableModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:350
    SetUpdateConfig = <function> defined @Chatter\Chatter.lua:229
    OnDisable = <function> defined @Chatter\Chatter.lua:262
    OnEnable = <function> defined @Chatter\Chatter.lua:245
    GetArgs = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:144
    Print = <function> defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:54
    Disable = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:314
    IsHooked = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:493
    hooks = <table> {
    }
    FCF_OpenTemporaryWindow = <function> defined @Chatter\Chatter.lua:186
    IsModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:468
    RemoveMenuHook = <function> defined @Chatter\Chatter.lua:168
    SetDefaultModuleState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:387
    OpenConfig = <function> defined @Chatter\Chatter.lua:207
    OnInitialize = <function> defined @Chatter\Chatter.lua:76
    SetEnabledState = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
    Hook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:274
    enabledState = true
    defaultModulePrototype = <table> {
    }
    CancelTimer = <function> defined @Ace3\AceTimer-3.0\AceTimer-3.0.lua:147
    AddMenuHook = <function> defined @Chatter\Chatter.lua:164
    NewModule = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:235
    UnhookAll = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:477
    Unhook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:418
    IterateModules = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:437
    SecureHookScript = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:410
    RawHook = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:313
    HookScript = <function> defined @Ace3\AceHook-3.0\AceHook-3.0.lua:366
    GetName = <function> defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:279




    1x Chatter\Modules\AltNames.lua:67: attempt to index field 'db' (a nil value)
    [string "@Chatter\Modules\AltNames.lua"]:67: in function `member'
    [string "@Ace3\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-82.lua"]:221: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:169>
    [string "@Ace3\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-82.lua"]:1196: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1121>
    [string "@Ace3\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-82.lua"]:1652: in function `FeedGroup'
    [string "@Ace3\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-82.lua"]:1577: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1561>
    [string "=[C]"]: ?
    [string "@Ace3\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <Ace3\AceGUI-3.0\AceGUI-3.0.lua:70>
    [string "@Ace3\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
    [string "@Ace3\AceGUI-3.0-41\widgets\AceGUIContainer-TreeGroup.lua"]:512: in function `SetSelected'
    [string "@Ace3\AceGUI-3.0-41\widgets\AceGUIContainer-TreeGroup.lua"]:189: in function <...ce3\AceGUI-3.0\widgets\AceGUIContainer-TreeGroup.lua:185>

  • Coralirodeth added a tag Defect Jun 1, 2022
  • Surarn posted a comment Jun 2, 2022

    The addon doesnt seem to update anymore, the lua errors come from the module AltNames which i dont use, so i just removed everything containing UnitPopupButtons in that...

    The second lua error will most likely go away as well, if it doesnt just go to /chatter->Alt Linking and uncheck the use of the module

    Removed the following 4 code snippets in Chatter/Modules/AltNames.lua

     

    -----------------------------

    UnitPopupButtons["SET_MAIN"] = {
    	text = L["Set Main"],
    	dist = 0,
    	func = mod.GetMainName
    }

    -----------------------------

    UnitPopupButtons["SET_MAIN"].func = self.GetMainName

    -----------------------------

    self:SecureHook("UnitPopup_ShowMenu")

     -----------------------------

    function mod:UnitPopup_ShowMenu(dropdownMenu, which, unit, name, userData, ...)
    	for i=1, UIDROPDOWNMENU_MAXBUTTONS do
    		local button = _G["DropDownList"..UIDROPDOWNMENU_MENU_LEVEL.."Button"..i];
    		if button.value == "SET_MAIN" then
    		    button.func = UnitPopupButtons["SET_MAIN"].func
    		end
    	end
    end

     

    -----------------------------

     


    Edited Jun 2, 2022
  • Shimiya posted a comment Jun 3, 2022

    ...

     
     

    Merci beaucoup Surarn !



    J'avais constamment "ERREUR #132 (0x85100084) Exception fatale !" depuis la 9.2.5 et ça s'est arrêté dès que j'ai fait tes montages ! (Chatter était le seul addon avec des erreurs LUA dans Bugsack)



    Donc même un addon peut planter le jeu avec ces ERROR #132...

     


    Edited Jun 3, 2022

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