Legion errors
ceylina opened this issue ยท 3 comments
With some of the API changes in legion, some functions are removed or changed. These are the errors when bagnon is enabled
1x Bagnon\common\components\item.lua:15: attempt to call global 'GetAuctionItemClasses' (a nil value)
Bagnon\common\components\item.lua:15: in main chunk
Locals:
ADDON = "Bagnon"
Addon =
SetDefaultModuleLibraries = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:381
ItemSlot = {
}
Cache =
}
Enable = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:313
UnregisterAllEvents = defined @bagnon\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:202
BagFrame = {
}
EnableModule = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:346
modules =
}
GetModule = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:230
IterateEmbeds = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:456
Bag = {
}
GetPlayerColor = defined @bagnon\common\core\players.lua:38
defaultModuleLibraries =
}
GetPlayerColorString = defined @bagnon\common\core\players.lua:30
GetPlayerIcon = defined @bagnon\common\core\players.lua:11
UnregisterChatCommand = defined @bagnon\libs\AceConsole-3.0\AceConsole-3.0.lua:111
GetBagFamily = defined @bagnon\common\core\bags.lua:84
GetBagSize = defined @bagnon\common\core\bags.lua:49
BAG_TYPES =
}
Printf = defined @bagnon\libs\AceConsole-3.0\AceConsole-3.0.lua:69
GetSpecificProfile = defined @bagnon\common\core\settings.lua:147
GetName = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:298
GetBagType = defined @bagnon\common\core\bags.lua:80
GetArgs = defined @bagnon\libs\AceConsole-3.0\AceConsole-3.0.lua:144
IsBagShown = defined @bagnon\common\core\bags.lua:53
name = "Bagnon"
IsBank = defined @bagnon\common\core\bags.lua:19
IsEnabled = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:465
IsReagents = defined @bagnon\common\core\bags.lua:23
GetBagInfo = defined @bagnon\common\core\bags.lua:34
DisableModule = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:364
NewClass = defined @bagnon\common\core\classes.lua:21
IsBackpackBag = defined @bagnon\common\core\bags.lua:15
IsBackpack = defined @bagnon\common\core\bags.lua:11
StartupSettings = defined @bagnon\common\core\settings.lua:74
RegisterMessage = defined @bagnon\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118
UnregisterMessage = defined @bagnon\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181
Print = defined @bagnon\libs\AceConsole-3.0\AceConsole-3.0.lua:54
IsBagCached = defined @bagnon\common\core\bags.lua:38
IsBagLocked = defined @bagnon\common\core\bags.lua:42
UnregisterEvents = defined @bagnon\common\core\classes.lua:75
IsBankBag = defined @bagnon\common\core\bags.lua:27
IsModule = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:482
GetProfile = defined @bagnon\common\core\settings.lua:143
SetDefaultModuleState = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:401
SetProfile = defined @bagnon\common\core\settings.lua:138
StartupProfile = defined @bagnon\common\core\settings.lua:132
SetEnabledState = defined @bagnon\libs\AceAddon-3.0\AceAddon-3.0.lua:438
UpdateSettings = defined @bagnon\common\core\settings.lua:111
enabledState = true
Second error
1x ...ceBagnon\common\components\tooltipCounts.lua:115: hooksecurefunc(): SetTradeSkillItem is not a function
C: in function hooksecurefunc' ...ceBagnon\common\components\tooltipCounts.lua:115: in function <...ceBagnon\common\components\tooltipCounts.lua:111> ...ceBagnon\common\components\tooltipCounts.lua:131: in function
HookTooltips'
Bagnon\main.lua:24: in function <Bagnon\main.lua:20>
(tail call): ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
Bartender4\libs\AceAddon-3.0\AceAddon-3.0-12.lua:558: in function EnableAddon' Bartender4\libs\AceAddon-3.0\AceAddon-3.0-12.lua:651: in function <Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:636> [C]: in function
LoadAddOn'
FrameXML\UIParent.lua:390: in function UIParentLoadAddOn' FrameXML\UIParent.lua:413: in function
CombatLog_LoadUI'
FrameXML\UIParent.lua:998: in function <FrameXML\UIParent.lua:894>
Locals:
nil
Third error
1x ...\Bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2-12.lua:205: attempt to call global 'GetAuctionItemClasses' (a nil value)
...\Bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2-12.lua:205: in main chunk
Locals:
Search =
OR = "or"
NOT_MATCH = "not"
NOT = "Not"
Find = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:133
Match = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:56
MatchAny = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:48
ACCENTS =
}
MatchAll = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:38
UseFilter = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:123
Compare = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:152
Matches = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:29
Filter = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:101
Clean = defined @bagnon\libs\CustomSearch-1.0\CustomSearch-1.0.lua:142
}
Unfit =
}
Lib =
TooltipPhrase = defined @bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:26
InSet = defined @bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:30
Tooltip = defined @bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:22
Matches = defined @bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:18
Filters =
}
}
qualities =
1 = "common"
2 = "uncommon"
3 = "rare"
4 = "epic"
5 = "legendary"
6 = "artifact"
7 = "heirloom"
8 = "wow token"
0 = "poor"
}
scanner = LibItemSearchTooltipScanner {
0 =
updateTooltip = 0.2
needsReset = true
}
(_temporary) =
type =
}
name =
}
requiredlevel =
}
tip =
}
level =
}
usable =
}
quality =
}
}
(_temporary) =
canSearch = defined @bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:167
cache =
}
match = defined @bagnon\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:171
}
(_temporary) =
boa = "Binds to Battle.net account"
bop = "Binds when picked up"
soulbound = "Binds when picked up"
bou = "Binds when used"
bound = "Binds when picked up"
boe = "Binds when equipped"
}
(_temporary) = defined =C:-1
(_temporary) = 10
(_temporary) = nil
(*temporary) = "attempt to call global 'GetAuctionItemClasses' (a nil value)"
Fourth Error
1x Bagnon\libs\Unfit-1.0\Unfit-1.0-7.lua:61: table index is nil
Bagnon\libs\Unfit-1.0\Unfit-1.0-7.lua:61: in main chunk
Locals:
Lib =
}
_ = "Hunter"
Class = "HUNTER"
Unusable =
1 =
}
2 =
}
5 = true
6 = true
}
(for index) = 1
(for limit) = 2
(for step) = 1
class = 1
subs =
1 = 0
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = 10
}
(for generator) = defined =C:-1
(for state) =
1 = 5
2 = 6
3 = 16
}
(for control) = 3
i = 3
subclass = 16
(_temporary) = nil
(_temporary) = 3
(_temporary) = 16
(_temporary) = "table index is nil"
Just wanted to also add that the library unfit.lua is not understanding the new class structure with demon hunters added and is throwing errors.
@Jaliborc @Tuller https://github.com/icyblade/wow_addons/tree/master/Bagnon has fixes for legion
Could you integrate them into Bagnon and release a version that is compatible with 6.2 and 7.x?