BuffEnough Wrath

BuffEnough Wrath

71.6k Downloads

Lua Errors in Wrath Classic

boktai1000 opened this issue ยท 2 comments

commented

Hey there! Really happy to see this updated for Wrath, but I'm seeing some Lua Errors which I wanted to pass along - it's spamming pretty badly. Looks like 3 different types of Lua errors, two of them popping once and then another that keeps popping every second or so.

https://www.curseforge.com/wow/addons/buff-enough?comment=151

1x BuffEnough\Frame.lua:86: attempt to index global 'this' (a nil value)
[string "@BuffEnough\Frame.lua"]:86: in function <BuffEnough\Frame.lua:84>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = "lock"
(*temporary) = "attempt to index global 'this' (a nil value)"
self = <table> {
SetProfileParam = <function> defined @BuffEnough\Config.lua:766
SetDefaultModuleLibraries = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
UpdateDisplay = <function> defined @BuffEnough\Frame.lua:188
EnableModule = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules = <table> {
}
CancelTimer = <function> defined @AutoCombatLogger\Libs\AceTimer-3.0\AceTimer-3.0.lua:147
IterateEmbeds = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
SetAnchors = <function> defined @BuffEnough\Frame.lua:154
Printf = <function> defined @Attune\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
DoPrint = <function> defined @BuffEnough\BuffEnough.lua:829
SetDefaultModulePrototype = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
CheckBuffOrPetChange = <function> defined @BuffEnough\BuffEnough.lua:948
updateInventoryAlertsBucket = "table: 0000020EB314BBB0"
dobj = <table> {
}
defaultModuleState = true
db = <table> {
}
IsEnabled = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
ScheduleTimer = <function> defined @AutoCombatLogger\Libs\AceTimer-3.0\AceTimer-3.0.lua:94
DisableModule = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
guardianElixirs = <table> {
}
timeSinceBuffEnough = 0
isShowingTooltip = false
RegisterMessage = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
RegisterBucketEvent = <function> defined @BuffEnough\Libs\AceBucket-3.0\AceBucket-3.0.lua:184
Grip = BuffEnoughResizeGrip {
}
battleElixirs = <table> {
}
CheckGear = <function> defined @BuffEnough\BuffEnough.lua:480
optionsFrame = <unnamed> {
}
tooltip = "

Consumables
Missing |cffffffffFlask/Elixirs|r
Missing |cffffffffWell Fed|r

Buffs
Missing |cffffffffBlessing of Might|r
Unexpected |cffffffffDefensive Stance|r
Unexpected |cffffffffCrusader Aura|r"
flasks = <table> {
}
Display = BuffEnoughDisplay {
}
Anchor = BuffEnoughAnchor {
}
lastBuffer = <table> {
}
SetEnabledState = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
baseName = "BuffEnough"
enabledState = true
Unfade = <function> defined @BuffEnough\Frame.lua:123
RegisterEvent = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
spells = <table> {
}
isBuffEnough = false
results = <table> {
}
trackedItems = <table> {
}
IterateModules = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
playerIsTank = false
CheckTank = <function> defined @BuffEnough\BuffEnough.lua:842
IsExpectingTrackedItem = <function> defined @BuffEnough\BuffEnough.lua:668
talents = <table> {
}
ClassPrototype = <table> {
}
TrackItem = <function> defined @BuffEnough\BuffEnough.lua:611
raidClassCount = <table> {
}
isBuffWarning = false
GetProfileParam = <function> defined @BuffEnough\Config.lua:784
OnDisplayUpdate = <function> defined @BuffEnough\Frame.lua:135
OnInitialize = <function> defined @BuffEnough\BuffEnough.lua:51
NewModule = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
Fade = <function> defined @BuffEnough\Frame.lua:109
DoDisable = <function> defined @BuffEnough\BuffEnough.lua:203
CreateFrame = <function> defined @BuffEnough\Frame.lua:28
GetModule = <fu
1x BuffEnough\Frame.lua:92: attempt to index global 'this' (a nil value)
[string "@BuffEnough\Frame.lua"]:92: in function <BuffEnough\Frame.lua:91>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'this' (a nil value)"
self = <table> {
SetProfileParam = <function> defined @BuffEnough\Config.lua:766
SetDefaultModuleLibraries = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
UpdateDisplay = <function> defined @BuffEnough\Frame.lua:188
EnableModule = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules = <table> {
}
CancelTimer = <function> defined @AutoCombatLogger\Libs\AceTimer-3.0\AceTimer-3.0.lua:147
IterateEmbeds = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
SetAnchors = <function> defined @BuffEnough\Frame.lua:154
Printf = <function> defined @Attune\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
DoPrint = <function> defined @BuffEnough\BuffEnough.lua:829
SetDefaultModulePrototype = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
CheckBuffOrPetChange = <function> defined @BuffEnough\BuffEnough.lua:948
updateInventoryAlertsBucket = "table: 0000020EB314BBB0"
dobj = <table> {
}
defaultModuleState = true
db = <table> {
}
IsEnabled = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
ScheduleTimer = <function> defined @AutoCombatLogger\Libs\AceTimer-3.0\AceTimer-3.0.lua:94
DisableModule = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
guardianElixirs = <table> {
}
timeSinceBuffEnough = 0
isShowingTooltip = false
RegisterMessage = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
RegisterBucketEvent = <function> defined @BuffEnough\Libs\AceBucket-3.0\AceBucket-3.0.lua:184
Grip = BuffEnoughResizeGrip {
}
battleElixirs = <table> {
}
CheckGear = <function> defined @BuffEnough\BuffEnough.lua:480
optionsFrame = <unnamed> {
}
tooltip = "

Consumables
Missing |cffffffffFlask/Elixirs|r
Missing |cffffffffWell Fed|r

Buffs
Missing |cffffffffBlessing of Might|r
Unexpected |cffffffffDefensive Stance|r
Unexpected |cffffffffCrusader Aura|r"
flasks = <table> {
}
Display = BuffEnoughDisplay {
}
Anchor = BuffEnoughAnchor {
}
lastBuffer = <table> {
}
SetEnabledState = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
baseName = "BuffEnough"
enabledState = true
Unfade = <function> defined @BuffEnough\Frame.lua:123
RegisterEvent = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
spells = <table> {
}
isBuffEnough = false
results = <table> {
}
trackedItems = <table> {
}
IterateModules = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
playerIsTank = false
CheckTank = <function> defined @BuffEnough\BuffEnough.lua:842
IsExpectingTrackedItem = <function> defined @BuffEnough\BuffEnough.lua:668
talents = <table> {
}
ClassPrototype = <table> {
}
TrackItem = <function> defined @BuffEnough\BuffEnough.lua:611
raidClassCount = <table> {
}
isBuffWarning = false
GetProfileParam = <function> defined @BuffEnough\Config.lua:784
OnDisplayUpdate = <function> defined @BuffEnough\Frame.lua:135
OnInitialize = <function> defined @BuffEnough\BuffEnough.lua:51
NewModule = <function> defined @Attune\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
Fade = <function> defined @BuffEnough\Frame.lua:109
DoDisable = <function> defined @BuffEnough\BuffEnough.lua:203
CreateFrame = <function> defined @BuffEnough\Frame.lua:28
GetModule = <function> defined @Inter
207x ...nough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0-90089.lua:253: attempt to call global 'GetInspectSpecialization' (a nil value)
[string "@BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0-90089.lua"]:253: in function <...nough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:245>
[string "=(tail call)"]: ?

Locals:
self = <table> {
PLAYER_LEAVING_WORLD = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:279
NotifyInspect = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:230
lastInspectPending = 0
Reset = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:239
INSPECT_READY = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:245
PLAYER_ENTERING_WORLD = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:273
lastInspectTime = 240.705000
RegisterCallback = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
garbageQueue = <table> {
}
CheckInspectQueue = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:174
events = <table> {
}
inspectQueue = <table> {
}
Query = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:143
frame = LibTalentQuery-1.0_Frame {
}
UnregisterCallback = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
UnregisterAllCallbacks = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
}
guid = "Player-4385-00063549"
unit = "player"
name = "Domsix"
shortname = "Domsix"
realm = nil
isnotplayer = false
(*temporary) = nil
(*temporary) = "player"
(*temporary) = "attempt to call global 'GetInspectSpecialization' (a nil value)"
GuidToUnitID = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:94
UnitFullName = <function> defined @BuffEnough\Libs\LibTalentQuery-1.0\LibTalentQuery-1.0.lua:87
UnitName = <function> defined =[C]:-1
inspectQueue = <table> {
}
garbageQueue = <table> {
}

image

commented

Thanks, fixed these two.

commented

Sorry to throw more at you, but I also got this one on my Shaman :) Thanks again for the great addon and can't wait to make use of it for all of Wrath once this is all fixed.

11x BuffEnough\Classes\Shaman.lua:38: attempt to call global 'OffhandHasWeapon' (a nil value)
[string "@BuffEnough\Classes\Shaman.lua"]:38: in function `CheckClassBuffs'
[string "@BuffEnough\BuffEnough.lua"]:239: in function `RunCheck'
[string "@BuffEnough\BuffEnough.lua"]:185: in function `DoEnable'
[string "@BuffEnough\BuffEnough.lua"]:153: in function <BuffEnough\BuffEnough.lua:144>
[string "=[C]"]: ?
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:527: in function `EnableAddon'
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:630: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>