ShestakUI (Classic)

ShestakUI (Classic)

33.7k Downloads

[BUG] Lua error on debuff application

eTzmNcbkrng opened this issue ยท 2 comments

commented

What steps will reproduce the problem?

  1. As a Hunter, apply Serpent Sting to target

What version of ShestakUI are you using? (Stating 'latest' is not useful)

0.84 - Downloaded fresh copy to test this bug.

Do you have an error log of what happened?

Two errors, can't find syntax for markdown spoiler tags :(

Message: ...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:98: attempt to index global 'button' (a nil value)
Time: Wed Aug 28 15:10:47 2019
Count: 2
Stack: ...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:98: attempt to index global 'button' (a nil value)
...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:98: in function <...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:78>
...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:205: in function <...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:199>
...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:242: in function <...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:226>
(tail call): ?

Locals: unit = "target"
icons = oUF_Target_Auras {
 1 = oUF_Target_AurasButton1 {
 }
 0 = <userdata>
 PostCreateIcon = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1447
 disableCooldown = false
 growth-y = "UP"
 createdIcons = 1
 spacing = 3.001876
 size = 25.015635
 __owner = oUF_Target {
 }
 PostUpdateIcon = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1480
 anchoredIcons = 1
 gap = true
 visibleAuras = 0
 visibleDebuffs = 0
 numBuffs = 32
 initialAnchor = "BOTTOMLEFT"
 visibleBuffs = 0
 growth-x = "RIGHT"
 numDebuffs = 16
 ForceUpdate = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:307
}
index = 1
offset = 0
filter = "HARMFUL"
isDebuff = true
visible = 0
name = "Serpent Sting"
texture = 132204
count = 0
debuffType = "Poison"
duration = 15
expiration = 18311.006000
caster = "player"
isStealable = false
nameplateShowSelf = false
spellID = 1978
canApply = true
isBossDebuff = false
casterIsPlayer = true
nameplateShowAll = false
timeMod = 1
effect1 = nil
effect2 = nil
effect3 = nil
n = 1
icon = oUF_Target_AurasButton1 {
 overlay = <unnamed> {
 }
 UpdateTooltip = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:11
 caster = "target"
 stealable = <unnamed> {
 }
 first = true
 timeLeft = Infinite
 isPlayer = false
 remaining = <unnamed> {
 }
 count = <unnamed> {
 }
 filter = "HELPFUL"
 parent = <unnamed> {
 }
 0 = <userdata>
 icon = <unnamed> {
 }
 cd = oUF_Target_AurasButton1Cooldown {
 }
}
durationNew = 15
expirationTimeNew = 18311.006000
(*temporary) = nil
(*temporary) = 1978
(*temporary) = "Player-4670-0033D14C"
(*temporary) = true
(*temporary) = <table> {
 25295 = <table> {
 }
 14325 = <table> {
 }
}
(*temporary) = 25295
(*temporary) = <table> {
 applications = <table> {
 }
}
(*temporary) = <table> {
 1 = 15
 2 = 18296.006000
 3 = "DEBUFF"
}
(*temporary) = 15
(*temporary) = 18296.006000
(*temporary) = 15
(*temporary) = 1
(*temporary) = 18311.006000
(*temporary) = 15
(*temporary) = 18311.006000
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'button' (a nil value)"
createAuraIcon = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:26
LibClassicDurations = <table> {
 Register = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:645
 dataVersions = <table> {
 }
 guidAccessTimes = <table> {
 }
 GetAuraDurationByUnit = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:621
 Talent = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:161
 RegisterCallback = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92
 GetAuraDurationByUnitDirect = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:610
 AddAura = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:137
 UnregisterCallback = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:155
 GetDurationForRank = <function> 

Second Error:

Message: ...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:98: attempt to index global 'button' (a nil value)
Time: Wed Aug 28 15:10:50 2019
Count: 1
Stack: ...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:98: attempt to index global 'button' (a nil value)
...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:98: in function <...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:78>
...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:205: in function <...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:199>
...terface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:242: in function `func'
Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:212: in function `UpdateAllElements'
Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:836: in function <Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:792>

Locals: unit = "nameplate1"
icons = <unnamed> {
 1 = ShestakNameplatesNamePlate1.AurasButton1 {
 }
 0 = <userdata>
 CustomFilter = <function> defined @Interface\AddOns\ShestakUI\Modules\Blizzard\Nameplates.lua:647
 disableCooldown = false
 growth-y = "UP"
 createdIcons = 1
 spacing = 2.666667
 size = 10.333333
 __owner = ShestakNameplatesNamePlate1 {
 }
 PostUpdateIcon = <function> defined @Interface\AddOns\ShestakUI\Modules\Blizzard\Nameplates.lua:699
 anchoredIcons = 0
 PostCreateIcon = <function> defined @Interface\AddOns\ShestakUI\Modules\Blizzard\Nameplates.lua:669
 numBuffs = 0
 initialAnchor = "BOTTOMRIGHT"
 visibleBuffs = 0
 growth-x = "LEFT"
 numDebuffs = 6
 ForceUpdate = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:307
}
index = 1
offset = 0
filter = "HARMFUL"
isDebuff = true
visible = 0
name = "Serpent Sting"
texture = 132204
count = 0
debuffType = "Poison"
duration = 15
expiration = 18311.006000
caster = "player"
isStealable = false
nameplateShowSelf = false
spellID = 1978
canApply = true
isBossDebuff = false
casterIsPlayer = true
nameplateShowAll = false
timeMod = 1
effect1 = nil
effect2 = nil
effect3 = nil
n = 1
icon = ShestakNameplatesNamePlate1.AurasButton1 {
 overlay = <unnamed> {
 }
 UpdateTooltip = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:11
 borderbottom = <unnamed> {
 }
 stealable = <unnamed> {
 }
 backdrop = <unnamed> {
 }
 parent = <unnamed> {
 }
 borderright = <unnamed> {
 }
 remaining = <unnamed> {
 }
 count = <unnamed> {
 }
 borderleft = <unnamed> {
 }
 bordertop = <unnamed> {
 }
 0 = <userdata>
 icon = <unnamed> {
 }
 cd = ShestakNameplatesNamePlate1.AurasButton1Cooldown {
 }
}
durationNew = 15
expirationTimeNew = 18311.006000
(*temporary) = nil
(*temporary) = 1978
(*temporary) = "Player-4670-0033D14C"
(*temporary) = true
(*temporary) = <table> {
 25295 = <table> {
 }
 14325 = <table> {
 }
}
(*temporary) = 25295
(*temporary) = <table> {
 applications = <table> {
 }
}
(*temporary) = <table> {
 1 = 15
 2 = 18296.006000
 3 = "DEBUFF"
}
(*temporary) = 15
(*temporary) = 18296.006000
(*temporary) = 15
(*temporary) = 1
(*temporary) = 18311.006000
(*temporary) = 15
(*temporary) = 18311.006000
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'button' (a nil value)"
createAuraIcon = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Auras.lua:26
LibClassicDurations = <table> {
 Register = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:645
 dataVersions = <table> {
 }
 guidAccessTimes = <table> {
 }
 GetAuraDurationByUnit = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:621
 Talent = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDurations\core.lua:161
 RegisterCallback = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92
 GetAuraDurationByUnitDirect = <function> defined @Interface\AddOns\ShestakUI\Compatibility\Classic\Libs\LibClassicDuratio

Any additional information? (example: WoW language if not English) (Attach screenshots here if available, do not link externally)

I tested if a Warrior's Rend got the same error and it did not. I don't know what to make of that, but perhaps it helps.

commented

Related to #28?

commented

Possibly related, but this particular error is a goof on my part. I just pushed an update that may solve this. I apologize for the inconvenience. Still working on trying to figure out #28. Possibly locale related as I've not experienced it ever myself. I am installing the zhCN locale to see.