Jaliborc / Bagnon

Single window displays for you items
194 stars 111 forks source link

`attempt to call field 'GetCurrentItemLevel' (a nil value)` when doing search by level #1592

Open tflo opened 1 year ago

tflo commented 1 year ago

Bagnon 10.0.14; WoW Retail 10.0.2 (47067) enUS

Searching by level (l:<number>) produces attempt to call field 'GetCurrentItemLevel' (a nil value)

Error details ```text 21x ...ceBagBrother/libs/ItemSearch-1.3-1/Filters.lua:157: attempt to call field 'GetCurrentItemLevel' (a nil value) [string "@BagBrother/libs/ItemSearch-1.3-1/Filters.lua"]:157: in function <...ceBagBrother/libs/ItemSearch-1.3/Filters.lua:156> [string "=(tail call)"]: ? [string "=(tail call)"]: ? [string "@BagBrother/libs/CustomSearch-1.0-10/CustomSearch-1.0.lua"]:87: in function `Match' [string "@BagBrother/libs/CustomSearch-1.0-10/CustomSearch-1.0.lua"]:49: in function `MatchAny' [string "@BagBrother/libs/CustomSearch-1.0-10/CustomSearch-1.0.lua"]:39: in function <...agBrother/libs/CustomSearch-1.0/CustomSearch-1.0.lua:37> [string "=(tail call)"]: ? [string "=(tail call)"]: ? [string "@BagBrother/addons/core/classes/item.lua"]:296: in function `?' [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:114: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:114> [string "=[C]"]: ? [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:24: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:59: in function `SendMessage' [string "@BagBrother/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:83: in function `SendSignal' [string "@Bagnon/src/searchFrame.lua"]:78: in function ```
alphabitnz commented 1 year ago

+1

10x ...ceBagBrother/libs/ItemSearch-1.3-1/Filters.lua:157: attempt to call field 'GetCurrentItemLevel' (a nil value)
[string "@BagBrother/libs/ItemSearch-1.3-1/Filters.lua"]:157: in function <...ceBagBrother/libs/ItemSearch-1.3/Filters.lua:156>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@BagBrother/libs/CustomSearch-1.0-10/CustomSearch-1.0.lua"]:87: in function `Match'
[string "@BagBrother/libs/CustomSearch-1.0-10/CustomSearch-1.0.lua"]:49: in function `MatchAny'
[string "@BagBrother/libs/CustomSearch-1.0-10/CustomSearch-1.0.lua"]:39: in function <...agBrother/libs/CustomSearch-1.0/CustomSearch-1.0.lua:37>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@BagBrother/addons/core/classes/item.lua"]:296: in function `?'
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:114: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:114>
[string "=[C]"]: ?
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20>
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:59: in function `SendMessage'
[string "@BagBrother/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:83: in function `SendSignal'
[string "@Bagnon/src/title.lua"]:56: in function <Bagnon/src/title.lua:54>
andranoxi commented 1 year ago

This is an issue with ItemSearch, the library Bagnon uses. This issue is a duplicate of https://github.com/Jaliborc/ItemSearch-1.3/issues/11. Until the library is fixed upstream, if you are looking for a simple way to fix this yourself, my comment on that issue details how.

Bless Bagnon, what a wonderful addon. Couldn't play without it.