Broker Everything

Broker Everything

588k Downloads

[BUG]: GetContainerItemLink error

nancikennedy opened this issue ยท 8 comments

commented

WoW client

WoW Retail

What happened?

Doing various things with inventory items....caused no doubt by GetContainerItemLink being superseded by C_Container.GetContainerItemLink

Lua Error Message?

9x Broker_Everything/shared.lua:1119: attempt to call upvalue 'GetContainerItemLink' (a nil value)
[string "@Broker_Everything/shared.lua"]:1119: in function <Broker_Everything/shared.lua:1117>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Sorted/Utilities.lua"]:831: in function `VendorTrash'
[string "@Sorted/FrameBuilder.lua"]:1172: in function <Sorted/FrameBuilder.lua:1171>

Locals:
bag = 0
slot = 3
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = 0
(*temporary) = 3
(*temporary) = "attempt to call upvalue 'GetContainerItemLink' (a nil value)"
tonumber = <function> defined =[C]:-1
GetContainerItemLink = nil
callback = <table> {
 128294 = <table> {
 }
}
pairs = <function> defined =[C]:-1
type = <function> defined =[C]:-1

Other addons?

No response

commented

Yep im getting this error too after 10.0.2

commented

change line 16 of shared.lua

local GetContainerItemCooldown,GetContainerItemLink=C_Container.GetContainerItemCooldown,C_Container.GetContainerItemLink;

commented

Thanks, that fixed the error

commented

Doing this stops the LUA error, but it causes stutter when vendoring or interacting with items in your inventory. Disabling the addon corrects the issue.

commented

Also getting this

349x Interface/AddOns/Broker_Everything/shared.lua:1119: attempt to call upvalue 'GetContainerItemLink' (a nil value)
[string "@Interface/AddOns/Broker_Everything/shared.lua"]:1119: in function <Interface/AddOns/Broker_Everything/shared.lua:1117>
[string "=[C]"]: ?
[string "=[C]"]: in function `UseContainerItem'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1409: in function `ContainerFrameItemButton_OnClick'
[string "@Interface/FrameXML/ContainerFrame.lua"]:1461: in function <Interface/FrameXML/ContainerFrame.lua:1448>

Locals:
bag = 4
slot = 10
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = 4
(*temporary) = 10
(*temporary) = "attempt to call upvalue 'GetContainerItemLink' (a nil value)"
tonumber = <function> defined =[C]:-1
GetContainerItemLink = nil
callback = <table> {
 163320 = <table> {
 }
 162131 = <table> {
 }
 162139 = <table> {
 }
 166368 = <table> {
 }
 137774 = <table> {
 }
 162352 = <table> {
 }
 162376 = <table> {
 }
 162132 = <table> {
 }
 162361 = <table> {
 }
 163314 = <table> {
 }
 162377 = <table> {
 }
 162133 = <table> {
 }
 142107 = <table> {
 }
 162023 = <table> {
 }
 182668 = <table> {
 }
 162129 = <table> {
 }
 183098 = <table> {
 }
 162134 = <table> {
 }
 162256 = <table> {
 }
 162289 = <table> {
 }
 137777 = <table> {
 }
 162292 = <table> {
 }
 162363 = <table> {
 }
 163316 = <table> {
 }
 183106 = <table> {
 }
 162135 = <table> {
 }
 162287 = <table> {
 }
 162128 = <table> {
 }
 162288 = <table> {
 }
 162293 = <table> {
 }
 183102 = <table> {
 }
 183104 = <table> {
 }
 162254 = <table> {
 }
 162136 = <table> {
 }
 166806 = <table> {
 }
 183103 = <table> {
 }
 137779 = <table> {
 }
 166263 = <table> {
 }
 142331 = <table> {
 }
 163318 = <table> {
 }
 162255 = <table> {
 }
 162137 = <table> {
 }
 162371 = <table> {
 }
 162373 = <table> {
 }
 137780 = <table> {
 }
 162358 = <table> {
 }
 183093 = <table> {
 }
 182660 = <table> {
 }
 162130 = <table> {
 }
 162138 = <table> {
 }
 166367 = <table> {
 }
 137773 = <table> {
 }
 137781 = <table> {
 }
 162359 = <table> {
 }
 142120 = <table> {
 }
}
pairs = <function> defined =[C]:-1
type = <function> defined =[C]:-1
commented

338x Broker_Everything/shared.lua:1119: attempt to call upvalue 'GetContainerItemLink' (a nil value)
[string "@Broker_Everything/shared.lua"]:1119: in function <Broker_Everything/shared.lua:1117>
[string "=[C]"]: in function UseContainerItem' [string "@FrameXML/ContainerFrame.lua"]:1409: in function ContainerFrameItemButton_OnClick'
[string "@FrameXML/ContainerFrame.lua"]:1461: in function <FrameXML/ContainerFrame.lua:1448>

Locals:
bag = 4
slot = 7
(*temporary) = defined =[C]:-1
(*temporary) = nil
(*temporary) = 4
(*temporary) = 7
(*temporary) = "attempt to call upvalue 'GetContainerItemLink' (a nil value)"
tonumber = defined =[C]:-1
GetContainerItemLink = nil
callback =

{
162287 =
{
}
142331 =
{
}
162706 =
{
}
123951 =
{
}
123953 =
{
}
123955 =
{
}
162288 =
{
}
162292 =
{
}
162707 =
{
}
162289 =
{
}
183094 =
{
}
182668 =
{
}
123948 =
{
}
162708 =
{
}
162774 =
{
}
123954 =
{
}
166368 =
{
}
162293 =
{
}
183095 =
{
}
166263 =
{
}
166806 =
{
}
166367 =
{
}
136698 =
{
}
136697 =
{
}
}
pairs = defined =[C]:-1
type = defined =[C]:-1

commented

115x Broker_Everything/shared.lua:1216: attempt to call upvalue 'GetContainerItemLink' (a nil value)
[string "@Broker_Everything/shared.lua"]:1216: in function <Broker_Everything/shared.lua:1186>
[string "=(tail call)"]: ?
[string "@Broker_Everything/modules/durability.lua"]:90: in function `fnc'
[string "@Broker_Everything/shared.lua"]:813: in function <Broker_Everything/shared.lua:807>
[string "@Broker_Everything/shared.lua"]:842: in function <Broker_Everything/shared.lua:817>
[string "@Broker_Everything/shared.lua"]:998: in function <Broker_Everything/shared.lua:938>
[string "@Broker_Everything/shared.lua"]:1024: in function <Broker_Everything/shared.lua:1012>

Locals:
tt = Broker_EverythingScanTooltip2 {
0 =
SetQuestLogRewardSpell = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = defined @SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRuneforgeResultItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnit = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
CIMI_tooltipWritten = true
hasMoney = 1
SetInfoBackdropStyle = defined @SharedXML/Tooltip/TooltipDataHandler.lua:338
shownMoneyFrames = 168
numMoneyFrames = 168
SetSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
info =

{
}
shouldRefreshData = true
updateTooltipTimer = 0
SetLootCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWorldCursor = defined @FrameXML/GameTooltip.lua:952
SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
StatusBar = Broker_EverythingScanTooltip2StatusBar {
}
GetUnit = defined @FrameXML/GameTooltip.lua:994
SetOwnedItemByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantCostItem = defined @CompactVendorFilter/frame.lua:143
SetQuestLogSpecialItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = Broker_EverythingScanTooltip2TextRight1 {
}
SetRecipeReagentItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetEnhancedConduit = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetWeeklyReward = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = defined @CompactVendorFilter/frame.lua:137
SetPvpBrawl = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAchievementByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
BottomOverlay = Texture {
}
SetSpellByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
supportsDataRefresh = true
SetSocketedRelic = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = defined @SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
RefreshData = defined @FrameXML/GameTooltip.lua:933
SetTransmogrifyItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootRollItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
OnLoad = defined @FrameXML/GameTooltip.lua:927
SetQuestLogCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnitDebuffByAuraInstanceID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetBagItem = defined @SharedXML/

commented

still seeing this error in retail every session. not sure if anyone is looking for a fix.