Lua Errors report for latest release.... #100


  • New
  • Defect
Open
  • avrosati created this issue Aug 13, 2024

    This set of Lua errors was picked up by my BugGrabber/BugSack addons:

     

    15x Bazooka/Bazooka.lua:1507: attempt to call upvalue 'GetAddOnInfo' (a nil value)
    [string "@Bazooka/Bazooka.lua"]:1507: in function `New'
    [string "@Bazooka/Bazooka.lua"]:2417: in function `createPlugin'
    [string "@Bazooka/Bazooka.lua"]:2242: in function `init'
    [string "@Bazooka/Bazooka.lua"]:2081: in function <Bazooka/Bazooka.lua:2079>
    [string "=[C]"]: ?
    [string "@AutoProfitX2/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...dOns/AutoProfitX2/libs/AceAddon-3.0/AceAddon-3.0.lua:61>
    [string "@AutoProfitX2/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
    [string "@AutoProfitX2/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...dOns/AutoProfitX2/libs/AceAddon-3.0/AceAddon-3.0.lua:611>
    [string "=[C]"]: ?
    [string "=[C]"]: in function `LoadAddOn'
    [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:422: in function `UIParentLoadAddOn'
    [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:627: in function `MajorFactions_LoadUI'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:103: in function `SetUpMajorFactionList'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:96: in function `RefreshMajorFactionList'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:91: in function `RefreshOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:83: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:79>
    [string "=[C]"]: in function `CreateFrame'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:78: in function `RefreshExpansionOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>

    Locals:
    self = <table> {
    suffixColorHex = "ff00d100"
    fontSize = 12
    labelColorHex = "ffe5e5e5"
    iconTextSpacing = 2
    iconSize = 16
    }
    name = "Narcissus"
    dataobj = <table> {
    }
    db = <table> {
    shrinkThreshold = 0
    overrideTooltipScale = false
    disableMouseInCombat = false
    showLabel = false
    showIcon = true
    tooltipScale = 1
    disableTooltip = false
    area = "left"
    enabled = true
    showTitle = true
    forceHideTip = false
    bar = 1
    showText = false
    hideTipOnClick = true
    disableTooltipInCombat = true
    disableMouseOutOfCombat = false
    iconBorderClip = 0.070000
    pos = 73
    }
    plugin = <table> {
    name = "Narcissus"
    dataobj = <table> {
    }
    }
    (*temporary) = nil
    (*temporary) = "Narcissus"
    (*temporary) = "attempt to call upvalue 'GetAddOnInfo' (a nil value)"
    Plugin = <table> {
    suffixColorHex = "ff00d100"
    fontSize = 12
    labelColorHex = "ffe5e5e5"
    iconTextSpacing = 2
    iconSize = 16
    }
    GetAddOnInfo = nil

     

  • avrosati added the tags Defect New Aug 13, 2024
  • karaste posted a comment Aug 14, 2024

    GetAddOnInfo is now C_AddOns.GetAddOnInfo

  • andfos posted a comment Aug 14, 2024

    Experiencing the same issue

     

  • avrosati posted a comment Aug 14, 2024

    Here is the BugSack report from tonight.... same as yesterday ,,,

     

    33x Bazooka/Bazooka.lua:1507: attempt to call upvalue 'GetAddOnInfo' (a nil value)
    [string "@Bazooka/Bazooka.lua"]:1507: in function `New'
    [string "@Bazooka/Bazooka.lua"]:2417: in function `createPlugin'
    [string "@Bazooka/Bazooka.lua"]:2242: in function `init'
    [string "@Bazooka/Bazooka.lua"]:2081: in function <Bazooka/Bazooka.lua:2079>
    [string "=[C]"]: ?
    [string "@AutoProfitX2/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...dOns/AutoProfitX2/libs/AceAddon-3.0/AceAddon-3.0.lua:61>
    [string "@AutoProfitX2/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
    [string "@AutoProfitX2/libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...dOns/AutoProfitX2/libs/AceAddon-3.0/AceAddon-3.0.lua:611>
    [string "=[C]"]: ?
    [string "=[C]"]: in function `LoadAddOn'
    [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:422: in function `UIParentLoadAddOn'
    [string "@Blizzard_UIParent/Mainline/UIParent.lua"]:627: in function `MajorFactions_LoadUI'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:103: in function `SetUpMajorFactionList'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:96: in function `RefreshMajorFactionList'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:91: in function `RefreshOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:83: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:79>
    [string "=[C]"]: in function `CreateFrame'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:78: in function `RefreshExpansionOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:37: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:35>

    Locals:
    self = <table> {
    suffixColorHex = "ff00d100"
    fontSize = 12
    labelColorHex = "ffe5e5e5"
    iconTextSpacing = 2
    iconSize = 16
    }
    name = "Narcissus"
    dataobj = <table> {
    }
    db = <table> {
    shrinkThreshold = 0
    overrideTooltipScale = false
    disableMouseInCombat = false
    showLabel = false
    showIcon = true
    tooltipScale = 1
    disableTooltip = false
    area = "left"
    enabled = true
    showTitle = true
    forceHideTip = false
    bar = 1
    showText = false
    hideTipOnClick = true
    disableTooltipInCombat = true
    disableMouseOutOfCombat = false
    iconBorderClip = 0.070000
    pos = 73
    }
    plugin = <table> {
    name = "Narcissus"
    dataobj = <table> {
    }
    }
    (*temporary) = nil
    (*temporary) = "Narcissus"
    (*temporary) = "attempt to call upvalue 'GetAddOnInfo' (a nil value)"
    Plugin = <table> {
    suffixColorHex = "ff00d100"
    fontSize = 12
    labelColorHex = "ffe5e5e5"
    iconTextSpacing = 2
    iconSize = 16
    }
    GetAddOnInfo = nil

  • im_guu posted a comment Aug 16, 2024

    I investigated karaste comment.

    I'm not big on programming at all so I needed some more background info to understand what he meant and how his comment wanted to help fix the issues.

     

    GetAddOnInfo quey was deprecated in favour of  C_AddOns.GetAddOnInfo.

    Blizzard did not disable the old calls right away, so it kept working until last patch.

     

    To fix this addon you need to edit Bazooka.lua and change:
    Line 59:

    local GetAddOnInfo = _G.C_AddOns.GetAddOnInfo

     

    and line 2675:

    self.optionsLoaded, self.optionsLoadError = C_AddOns.LoadAddOn(OptionsAppName)

     

    Basically replacing the old calls with the new ones.

     

    That should restore wile the creator publishes a new release.

    This will also work for several other addons.


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