Lua error
BlueNightSky opened this issue · 6 comments
When I open the backpack, there are two errors appear:
1x Baganator/Source/ItemButton.lua:29: Usage: NonEmptyItem:ContinueOnItemLoad(callbackFunction) invalid itemLink: <|Hkeystone:180653:406:19:9:134:11:0[鑰石:灌注迴廊(19)]> [string "=[C]"]: in function
error'
[string "@FrameXML/ObjectAPI/Item.lua"]:316: in function ValidateForContinueOnItemLoad' [string "@FrameXML/ObjectAPI/Item.lua"]:331: in function
ContinueOnItemLoad'
[string "@Baganator/Source/ItemButton.lua"]:29: in function <Baganator/Source/ItemButton.lua:4>
[string "@Baganator/Source/ItemButton.lua"]:212: in function SetItemDetails' [string "@Baganator/Source/View.lua"]:804: in function
ShowCharacter'
[string "@Baganator/Source/View.lua"]:282: in function UpdateForCharacter' [string "@Baganator/Source/Main.lua"]:59: in function <Baganator/Source/Main.lua:56> [string "=[C]"]: in function
ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>
Locals:
(*temporary) = "Usage: NonEmptyItem:ContinueOnItemLoad(callbackFunction) invalid itemLink: <|cffa335ee|Hkeystone:180653:406:19:9:134:11:0|h[鑰石:灌注迴廊(19)]|h|r>"
3x Baganator/Source/Utilities.lua:66: attempt to concatenate a nil value
[string "@Baganator/Source/Utilities.lua"]:66: in function GetItemKey' [string "@Baganator/Source/Summaries.lua"]:26: in function
GenerateSummary'
[string "@Baganator/Source/Summaries.lua"]:63: in function GetTooltipInfo' [string "@Baganator/Source/Tooltips.lua"]:10: in function
AddLines'
[string "@Baganator/Source/Main.lua"]:6: in function <Baganator/Source/Main.lua:5>
[string "@Baganator/Source/Main.lua"]:116: in function <Baganator/Source/Main.lua:113>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:162: in function <SharedXML/Tooltip/TooltipDataHandler.lua:157> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:182: in function <SharedXML/Tooltip/TooltipDataHandler.lua:178> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:218: in function <SharedXML/Tooltip/TooltipDataHandler.lua:208> [string "=[C]"]: in function
SetAttribute'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:243: in function <SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:389: in function <SharedXML/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:336: in function <SharedXML/Tooltip/TooltipDataHandler.lua:335> [string "=(tail call)"]: ? [string "@FrameXML/ContainerFrame.lua"]:1519: in function
OnUpdate'
[string "@FrameXML/ContainerFrame.lua"]:1486: in function `OnEnter'
[string "@FrameXML/ContainerFrame.lua"]:1482: in function <FrameXML/ContainerFrame.lua:1481>
[string "=[C]"]: ?
[string "=[C]"]: ?
Locals:
itemLink = "|cffa335ee|Hkeystone:180653:406:19:9:134:11:0|h[鑰石:灌注迴廊(19)]|h|r"
(*temporary) = "i:"
(*temporary) = nil
(*temporary) = "|cffa335ee|Hkeystone:180653:406:19:9:134:11:0|h[鑰石:灌注迴廊(19)]|h|r"
(*temporary) = "attempt to concatenate a nil value"
KeyPartsPetLink = defined @Baganator/Source/Utilities.lua:37
IsEquipment = defined @Baganator/Source/Utilities.lua:49
KeyPartsItemLink = defined @Baganator/Source/Utilities.lua:13
`
After installed the 0.6 version, the error no longer appears, thank you !
But I have another question, I can't find the bag/bank's sort button.
And there are tooltips that need to be translated in the item, for example: "Inventory Total"、"Bags"、"Bank"...etc
Hi. Thanks for the bug report, I've got a possible fix. Could you try out this build and report
- If it errors
- If you can view the keystone in your bag
Sort button I'll add now.
I forgot to include the tooltip text in the translations file so it didn't get translated, I've now pushed the translation strings for the tooltips to Curseforge so they can be translated https://legacy.curseforge.com/wow/addons/baganator/localization
I've added the sort button to the retail version now too
Baganator-0.7.zip