KeystoneLoot

KeystoneLoot

8.5k Downloads

10.2.5 LUA error

Jahfry opened this issue ยท 3 comments

commented

In 10.2.5 with LUA errors displayed (/console scriptErrors 1) I get the below quoted error after pulling up KeystoneLoot and mousing over an item.

Disabling LUA errors (/console scriptErrors 0) hides the error fine.

This may be an interaction with another addon, not sure, didn't do full debug.

Message: ...PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:308: Invalid arg1: invalid item.
Time: Wed Jan 17 13:30:15 2024
Count: 4
Stack: ...PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua:308: Invalid arg1: invalid item.
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface/AddOns/ArkInventory/Externals/PeriodicTable/PeriodicTable/LibPeriodicTable-3.1.lua"]:308: in function `ItemInSet'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventoryPT.lua"]:813: in function `PT_BonusIDIsWanted'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventoryObject.lua"]:972: in function `ObjectIDBonus'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventoryObject.lua"]:1015: in function `ObjectIDCount'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventoryTooltip.lua"]:2422: in function `TooltipAddItemCount'
[string "@Interface/AddOns/ArkInventory/Core/ArkInventoryTooltip.lua"]:3078: in function <...ace/AddOns/ArkInventory/Core/ArkInventoryTooltip.lua:3058>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:157>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:178>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:208>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function `securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:335>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `SetHyperlink'
[string "@Interface/AddOns/KeystoneLoot/frames/item.lua"]:9: in function <Interface/AddOns/KeystoneLoot/frames/item.lua:4>

Locals: (*temporary) = true
(*temporary) = <function> defined =[C]:-1
commented

Heii Jahfry,

Thank you for your report!

The error indicates that 'PeriodicTable' from 'ArkInventory' has an issue. Since the error is only 'invalid item,' I can't precisely say what I could do about it.

I'll take a closer look at it later.

Best regards,
Shantalya

commented

Thanks.

I cross-posted on the Arkinventory repo here in case it is useful for either author.

commented

Heii Jahfry,

Good news: I found the error. 'PeriodicTable' took my item links too literally, which caused an issue.

It will be fixed in the next version!

Thanks again for reporting this.

Best regards,
Shantalya