BagSync

BagSync

3M Downloads

Broken for BCC 2.5.4

Jakobud opened this issue ยท 6 comments

commented

Broke today for the Zul'Aman patch. Continuous errors:

...BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2-22.lua:14: attempt to index field 'tipPhrases' (a nil value)
[string "@BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2-22.lua"]:14: in function <...BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:13>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'tipPhrases' (a nil value)"
Lib = <table> {
 ForQuest = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:36
 InSet = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:44
 Tooltip = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:28
 Scanner = LibItemSearchTooltipScanner {
 }
 IsReagent = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:40
 TooltipLine = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:54
 TooltipPhrase = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:32
 Matches = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:24
 BelongsToSet = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:64
 Filters = <table> {
 }
}
commented

Also seeing:

18x ...BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2-22.lua:252: attempt to call field 'GetAzeriteCurrencyID' (a nil value)
[string "@BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2-22.lua"]:252: in main chunk

Locals:
Search = <table> {
 OR = "or"
 NOT_MATCH = "not"
 NOT = "Not"
 Find = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:131
 Match = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:54
 MatchAny = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:46
 ACCENTS = <table> {
 }
 MatchAll = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:36
 UseFilter = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:121
 Compare = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:151
 Matches = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:27
 Filter = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:99
 Clean = <function> defined @BagSync\libs\CustomSearch-1.0\CustomSearch-1.0.lua:140
}
Unfit = <table> {
 IsItemUnusable = <function> defined @Scrap\libs\Unfit-1.0\Unfit-1.0.lua:111
 unusable = <table> {
 }
 IsClassUnusable = <function> defined @Scrap\libs\Unfit-1.0\Unfit-1.0.lua:118
}
Lib = <table> {
 ForQuest = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:36
 InSet = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:44
 Tooltip = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:28
 Scanner = LibItemSearchTooltipScanner {
 }
 IsReagent = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:40
 TooltipLine = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:54
 TooltipPhrase = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:32
 Matches = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:24
 BelongsToSet = <function> defined @BagSync\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:64
 Filters = <table> {
 }
}
(*temporary) = <table> {
 items = <table> {
 }
 type = <table> {
 }
 name = <table> {
 }
 requiredlevel = <table> {
 }
 usable = <table> {
 }
 level = <table> {
 }
 sets = <table> {
 }
 quality = <table> {
 }
}
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to call field 'GetAzeriteCurrencyID' (a nil value)"

commented

change line 250 to
if C_AzeriteItem and C_CurrencyInfo.GetAzeriteCurrencyID then

should fix all errors. Solution copypasted from Bagnon addon.

commented

What about the tipPhrases error?

commented

should fix ALL errors

commented

+1

commented

Thank you for the response. I've been out of subscription for some time and haven't had to urge to resub as of late. I will make the necessary fixes to the live version. :) wish folks would merge fixes so I can publish XD