Error when stacking bank #79


Open
  • speckledegg created this issue Apr 19, 2022

    Been getting a lua error since the last patch I think:

     

    Message: Interface\AddOns\BankStack\sort.lua:119: bad argument #1 to 'IsBound' (Usage: local isBound = C_Item.IsBound(itemLocation))
    Time: Tue Apr 19 10:50:09 2022
    Count: 1
    Stack: Interface\AddOns\BankStack\sort.lua:119: bad argument #1 to 'IsBound' (Usage: local isBound = C_Item.IsBound(itemLocation))
    [string "=[C]"]: in function `sort'
    [string "@Interface\AddOns\BankStack\sort.lua"]:299: in function `Sort'
    [string "@Interface\AddOns\BankStack\sort.lua"]:43: in function <Interface\AddOns\BankStack\sort.lua:12>
    [string "@Interface\AddOns\BankStack\core.lua"]:503: in function `?'
    [string "@Interface\AddOns\BankStack\ldb.lua"]:68: in function <Interface\AddOns\BankStack\ldb.lua:56>
    [string "@Interface\AddOns\Titan\LDBToTitan.lua"]:296: in function <Interface\AddOns\Titan\LDBToTitan.lua:294>

    Locals: (*temporary) = <table> {
    1 = 5198
    2 = 5102
    3 = 5103
    4 = 5104
    5 = 5105
    6 = 5106
    7 = 5107
    8 = 5108
    9 = 5109
    10 = 5110
    11 = 5111
    12 = 5112
    13 = 5113
    14 = 5114
    15 = 5115
    16 = 5116
    17 = 5117
    18 = 5118
    19 = 5119
    20 = 5120
    21 = 5121
    22 = 5122
    23 = 5123
    24 = 5124
    25 = 5125
    26 = 5126
    27 = 5127
    28 = 5128
    29 = 5129
    30 = 5130
    31 = 5131
    32 = 5132
    33 = 5133
    34 = 5134
    35 = 5135
    36 = 5136
    37 = 5137
    38 = 5138
    39 = 5139
    40 = 5140
    41 = 5141
    42 = 5142
    43 = 5143
    44 = 5144
    45 = 5145
    46 = 5146
    47 = 5147
    48 = 5148
    49 = 5149
    50 = 5150
    51 = 5151
    52 = 5152
    53 = 5153
    54 = 5154
    55 = 5155
    56 = 5156
    57 = 5157
    58 = 5158
    59 = 5159
    60 = 5160
    61 = 5161
    62 = 5162
    63 = 5163
    64 = 5164
    65 = 5165
    66 = 5166
    67 = 5167
    68 = 5168
    69 = 5169
    70 = 5170
    71 = 5171
    72 = 5172
    73 = 5173
    74 = 5174
    75 = 5175
    76 = 5176
    77 = 5177
    78 = 5178
    79 = 5179
    80 = 5180
    81 = 5181
    82 = 5182
    83 = 5183
    84 = 5184
    85 = 5185
    86 = 5186
    87 = 5187
    88 = 5188
    89 = 5189
    90 = 5190
    91 = 5191
    92 = 5192
    93 = 5193
    94 = 5194
    95 = 5195
    96 = 5196
    97 = 5197
    98 = 5101
    }
    (*temporary) = <function> defined @Interface\AddOns\BankStack\sort.lua:169
    (*temporary) = 5149
    (*temporary) = 5198

  • Veyska posted a comment May 17, 2022

     Just had this start happening to me, no occurrences prior to today.  Usually behaves itself the first time or few after a fresh log-in or /reloadui but not always (so it seems unlikely it's a specific problem item, though not impossible).  Including my error trace as well, since the dump at the end's different.

     

    1x BankStack\sort.lua:119: bad argument #1 to 'IsBound' (Usage: local isBound = C_Item.IsBound(itemLocation))
    [string "=[C]"]: in function `IsBound'
    [string "@BankStack\sort.lua"]:119: in function <BankStack\sort.lua:116>
    [string "@BankStack\sort.lua"]:220: in function <BankStack\sort.lua:169>
    [string "=[C]"]: in function `sort'
    [string "@BankStack\sort.lua"]:299: in function `Sort'
    [string "@BankStack\sort.lua"]:37: in function <BankStack\sort.lua:12>
    [string "@BankStack\core.lua"]:503: in function `?'
    [string "@BankStack\ldb.lua"]:68: in function `OnClick'
    [string "@Masque\Libs\LibDBIcon-1.0\LibDBIcon-1.0-44.lua"]:144: in function <...eMasque\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:142>
    
    Locals:
    (*temporary) = <table> {
     Clear = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:29
     IsEquipmentSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:56
     IsEqualToBagAndSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:72
     SetBagAndSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:35
     IsBagAndSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:60
     SetEquipmentSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:46
     slotIndex = 76
     HasAnyLocation = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:64
     bagID = -3
     GetEquipmentSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:52
     IsEqualToEquipmentSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:80
     GetBagAndSlot = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:42
     IsValid = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:68
     IsEqualTo = <function> defined @FrameXML\ObjectAPI\ItemLocation.lua:88
    }

     

     


To post a comment, please login or register a new account.