Baganator

Baganator

1M Downloads

`Order.lua:193: attempt to compare number with string`

tflo opened this issue · 1 comments

commented

Just got this one, probably after/during sorting:

`Order.lua:193: attempt to compare number with string`
2x Baganator/Sorting/Order.lua:193: attempt to compare number with string
[string "@Baganator/Sorting/Order.lua"]:193: in function <Baganator/Sorting/Order.lua:183>
[string "=[C]"]: in function `sort'
[string "@Baganator/Sorting/Order.lua"]:183: in function `OrderOneListOffline'
[string "@Baganator/Sorting/Order.lua"]:347: in function `ApplyOrdering'
[string "@Baganator/UnifiedBags/BankView.lua"]:282: in function <Baganator/UnifiedBags/BankView.lua:281>

Locals:
a = <table> {
 invSlotID = 0
 index = -1
 invertedCraftingQuality = 1
 invertedItemCount = -250
 invertedItemID = -190189
 subClassID = 4
 priority = 1000
 itemLink = "|cffa335ee|Hitem:190189::::::::70:252:::::::::|h[Sandworn Relic]|h|r"
 quality = 4
 itemName = "Sandworn Relic"
 sortedSubClassID = 4
 itemLevel = 60
 craftingQuality = -1
 invertedItemLevel = -60
 invertedQuality = -4
 classID = 15
 expansion = 8
 invertedExpansion = -8
 itemCount = 250
 itemID = 190189
 from = <table> {
 }
 sortedClassID = 19
 sortedInvSlotID = 35
 isBound = true
 iconTexture = 519378
}
b = <table> {
 invSlotID = 0
 index = "Item-1396-0-4000000875357DF7"
 invertedCraftingQuality = 1
 invertedItemCount = -250
 invertedItemID = -190189
 subClassID = 4
 priority = 1000
 itemLink = "|cffa335ee|Hitem:190189::::::::70:252:::::::::|h[Sandworn Relic]|h|r"
 quality = 4
 itemName = "Sandworn Relic"
 sortedSubClassID = 4
 itemLevel = 60
 craftingQuality = -1
 invertedItemLevel = -60
 invertedQuality = -4
 classID = 15
 expansion = 8
 invertedExpansion = -8
 itemCount = 250
 itemID = 190189
 from = <table> {
 }
 sortedClassID = 19
 sortedInvSlotID = 35
 isBound = true
 iconTexture = 519378
}
(*temporary) = -1
(*temporary) = "Item-1396-0-4000000875357DF7"
(*temporary) = 12
(*temporary) = nil
(*temporary) = nil
(*temporary) = 12
(*temporary) = 13
(*temporary) = "attempt to compare number with string"
sortKeys = <table> {
 1 = "priority"
 2 = "sortedClassID"
 3 = "sortedInvSlotID"
 4 = "sortedSubClassID"
 5 = "invertedItemLevel"
 6 = "invertedExpansion"
 7 = "invertedQuality"
 8 = "itemName"
 9 = "invertedCraftingQuality"
 10 = "invertedItemID"
 11 = "invertedItemCount"
 12 = "itemLink"
}
incomplete = false

Sorting seems to have completed fine (but hard to truely tell in detail). This was either sort by Expansion or by Item Type (Enhanced); next time I'll pay more attention…

I got a similar one earlier today, but discarded it because it was my first error.

Baganator 0.118, WoW Retail 10.2.0.52808

commented

Thanks for the bug report. Added a fix into the latest alpha.