Xruptor / BagSync

BagSync tracks your characters items and displays it within tooltips.
http://www.wowinterface.com/downloads/info15351-BagSync.html
Other
32 stars 21 forks source link

Broken for BCC 2.5.4 #159

Closed Jakobud closed 2 years ago

Jakobud commented 2 years ago

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> {
 }
}
Jakobud commented 2 years ago

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)"
GregoryGH commented 2 years ago

change line 250 to if C_AzeriteItem and C_CurrencyInfo.GetAzeriteCurrencyID then

should fix all errors. Solution copypasted from Bagnon addon.

Jakobud commented 2 years ago

What about the tipPhrases error?

GregoryGH commented 2 years ago

should fix ALL errors

Macumbatbc commented 2 years ago

+1

Xruptor commented 2 years ago

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