AzeriteForge

AzeriteForge

99.8k Downloads

Lua error in combination with World Quest List addon

Uriyel opened this issue ยท 1 comments

commented

When mousing over an azerite gear item in World Quest List, the following LUA errors appear:

Message: Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
Time: Fri Sep 14 07:01:36 2018
Count: 8
Stack: Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
...ce\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:613: in function <...ce\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:575>
[C]: ?
[C]: in function DoesItemExist' Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: in function BuildTraitText'
Interface\AddOns\AzeriteForge\AzeriteForge.lua:1595: in function <Interface\AddOns\AzeriteForge\AzeriteForge.lua:1590>
(tail call): ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
...face\AddOns\TradeSkillMaster\Core\Lib\TooltipLib.lua:95: in function <...face\AddOns\TradeSkillMaster\Core\Lib\TooltipLib.lua:93>
[C]: in function `SetQuestLogItem'
Interface\AddOns\WorldQuestsList\WorldQuestsList.lua:1866: in function <Interface\AddOns\WorldQuestsList\WorldQuestsList.lua:1862>

Locals: errMsg = "Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))"
errorTime = 104302987.87496
tsmErrMsg = nil
oldModule = nil
private =

{
AddonBlockedEvent = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:379
num = 0
ErrorHandler = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:106
origErrorHandler = defined @interface\SharedXML\SharedBasicControls.lua:295
errorReports =
{
}
IsTSMAddon = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:356
SantizeErrorReportString = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:387
errorFrame = {
}
}
MAX_STACK_DEPTH = 50
TSM =
{
}

Message: Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
Time: Fri Sep 14 06:57:40 2018
Count: 1
Stack: Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
...ce\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:613: in function <...ce\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:575>
[C]: ?
[C]: in function DoesItemExist' Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: in function BuildTraitText'
Interface\AddOns\AzeriteForge\AzeriteForge.lua:959: in function <Interface\AddOns\AzeriteForge\AzeriteForge.lua:950>
(tail call): ?
[C]: ?
[C]: in function EmbeddedItemTooltip_SetItemByQuestReward' Interface\FrameXML\GameTooltip.lua:201: in function <Interface\FrameXML\GameTooltip.lua:149> [C]: in function GameTooltip_AddQuestRewardsToTooltip'
Interface\FrameXML\WorldMapFrame.lua:318: in function `TaskPOI_OnEnter'
...rd_SharedMapDataProviders\WorldQuestDataProvider.lua:401: in function <...rd_SharedMapDataProviders\WorldQuestDataProvider.lua:400>

Locals: errMsg = "Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))"
errorTime = 104067185.69729
tsmErrMsg = nil
oldModule = nil
private =

{
AddonBlockedEvent = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:379
num = 0
ErrorHandler = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:106
origErrorHandler = defined @interface\SharedXML\SharedBasicControls.lua:295
errorReports =
{
}
IsTSMAddon = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:356
SantizeErrorReportString = defined @interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:387
errorFrame = {
}
}
MAX_STACK_DEPTH = 50
TSM =
{
}

commented

Get the error with only this addon loaded if you hover over a WQ icon:

Message: Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation)) Time: Fri Sep 14 10:53:08 2018 Count: 2 Stack: Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation)) [C]: in function DoesItemExist'
Interface\AddOns\AzeriteForge\AzeriteForge.lua:1454: in function BuildTraitText' Interface\AddOns\AzeriteForge\AzeriteForge.lua:959: in function <Interface\AddOns\AzeriteForge\AzeriteForge.lua:950> (tail call): ? [C]: in function EmbeddedItemTooltip_SetItemByQuestReward'
Interface\FrameXML\GameTooltip.lua:201: in function GameTooltip_AddQuestRewardsToTooltip' Interface\FrameXML\WorldMapFrame.lua:318: in function TaskPOI_OnEnter'
...rd_SharedMapDataProviders\WorldQuestDataProvider.lua:401: in function <...rd_SharedMapDataProviders\WorldQuestDataProvider.lua:400>

Locals: (*temporary) =

{
Clear = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:21
IsEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:48
IsEqualToBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:60
SetBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:27
IsBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:52
SetEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:38
HasAnyLocation = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:56
GetEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:44
IsEqualToEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:68
GetBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:34
IsEqualTo = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:76
}
`