KuiNameplates

KuiNameplates

11M Downloads

Error in WOTLK

Xanpop opened this issue ยท 4 comments

commented

This is on a Druid. Error occurs whenever I approach enemies. Also noticed that the targeted mob no longer stands out from mobs around it. Not sure how better to describe the issue or what other info would help. (Edited to add these details)

3x ...rfaceKui_Nameplates/elements/classpowers.lua:332: attempt to get length of field 'icons' (a nil value)
[string "@Kui_Nameplates/elements/classpowers.lua"]:332: in function <...rfaceKui_Nameplates/elements/classpowers.lua:316>
[string "@Kui_Nameplates/elements/classpowers.lua"]:534: in function func' [string "@Kui_Nameplates/messages.lua"]:128: in function DispatchMessage'
[string "@Kui_Nameplates/elements/target.lua"]:9: in function <Kui_Nameplates/elements/target.lua:7>
[string "@Kui_Nameplates/elements/target.lua"]:37: in function func' [string "@Kui_Nameplates/messages.lua"]:128: in function DispatchMessage'
[string "@Kui_Nameplates/nameplate.lua"]:75: in function OnShow' [string "@Kui_Nameplates/nameplate.lua"]:68: in function OnUnitAdded'
[string "@Kui_Nameplates/addon.lua"]:115: in function `?'
[string "@Kui_Nameplates/addon.lua"]:157: in function <Kui_Nameplates/addon.lua:154>

Locals:
cur = 19026
(*temporary) = nil
(*temporary) = "player"
(*temporary) = nil
(*temporary) = true
(*temporary) = 19026
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of field 'icons' (a nil value)"
kui =

{
table_to_string = defined @Kui_Nameplates/lib/Kui/Kui.lua:73
DebugPopup = defined @Kui_Nameplates/lib/Kui/Kui.lua:525
SHADOWLANDS = false
Pluralise = defined @Kui_Nameplates/lib/Kui/Kui.lua:367
UnitLevel = defined @Kui_Nameplates/lib/Kui/Kui.lua:267
print = defined @Kui_Nameplates/lib/Kui/Kui.lua:189
string_to_table = defined @Kui_Nameplates/lib/Kui/Kui.lua:112
m =
{
}
frameFadeRemoveFrame = defined @Kui_Nameplates/lib/Kui/Kui.lua:598
utf8sub = defined @Kui_Nameplates/lib/Kui/Kui.lua:398
WRATH = true
SetTextureToClass = defined @Kui_Nameplates/lib/Kui/Kui.lua:222
num = defined @Kui_Nameplates/lib/Kui/Kui.lua:337
GetClassColour = defined @Kui_Nameplates/lib/Kui/Kui.lua:199
frameIsFading = defined @Kui_Nameplates/lib/Kui/Kui.lua:591
FrameLockMixin =
{
}
CreateFontString = defined @Kui_Nameplates/lib/Kui/Kui.lua:305
CreateEightSlice = defined @Kui_Nameplates/lib/Kui/Kui.lua:751
frameFade = defined @Kui_Nameplates/lib/Kui/Kui.lua:614
UNIT_HEALTH = "UNIT_HEALTH_FREQUENT"
GetUnitColour = defined @Kui_Nameplates/lib/Kui/Kui.lua:240
FormatTime = defined @Kui_Nameplates/lib/Kui/Kui.lua:351
CLASSIC = true
ModifyFontFlags = defined @Kui_Nameplates/lib/Kui/Kui.lua:291
UnitIsPet = defined @Kui_Nameplates/lib/Kui/Kui.lua:237
Brighten = defined @Kui_Nameplates/lib/Kui/Kui.lua:378
}
power_type = nil
power_mod = nil
cpf = Frame {
0 =
}
ICON_SPRITE = "interface/addons/kui_nameplates_core/media/combopoint"
power_display_partial = nil
highlight_at = nil
class = "DRUID"
ele =
{
Paladin_WatchFiresOfJustice = defined @Kui_Nameplates/elements/classpowers.lua:708
UNIT_ABSORB_AMOUNT_CHANGED = defined @Kui_Nameplates/elements/classpowers.lua:729
Enable = defined @Kui_Nameplates/messages.lua:496
PLAYER_ENTERING_WORLD = defined @Kui_Nameplates/elements/classpowers.lua:538
Initialise = defined @Kui_Nameplates/elements/classpowers.lua:789
Initialised = defined @Kui_Nameplates/elements/classpowers.lua:760
PowerEvent = defined @Kui_Nameplates/elements/classpowers.lua:695
StaggerUpdate = defined @Kui_Nameplates/elements/classpowers.lua:671
__MESSAGES =
{
}
priority = 0
UNIT_AURA = defined @Kui_Nameplates/elements/classpowers.lua:720
UNIT_POWER_FREQUENT = defined @Kui_Nameplates/elements/classpowers.lua:726
OnDisable = defined @Kui_Nameplates/elements/classpowers.lua:754
callbacks =
{
}
UPDATE_SHAPESHIFT_FORM = defined @Kui_Nameplates/elements/classpowers.lua:705
__CALLBACKS =
{
}
enabled = true
UNIT_MAXHEALTH = defined @Kui_Nameplates/elements/classpowers.lua:732
enable_on_load = true
element = true
RuneUpdate = defined @Kui_Nameplates/elements/classpowers.lua:636
OnEnable = defined @Kui_Nameplates/elements/classpowers.lua:736
name = "ClassPowers"
UNIT_MAXPOWER = defined @Interf

commented

Please post more info. Which class were you on for example?

commented

No error on my mage or rogue so I guess it's druid specific. Thanks for your help, it is much appreciated.

commented

Can also confirm errors on druid right after logging in and reloading in Dalaran (doesn't matter which spec).

Message: ...rface/AddOns/Kui_Nameplates/elements/classpowers.lua:558: attempt to call global 'GetSpecialization' (a nil value)
Time: Tue Apr 25 12:40:38 2023
Count: 1
Stack: ...rface/AddOns/Kui_Nameplates/elements/classpowers.lua:558: attempt to call global 'GetSpecialization' (a nil value)
[string "@Interface/AddOns/Kui_Nameplates/addon.lua"]:197: in function <Interface/AddOns/Kui_Nameplates/addon.lua:154>

Locals: self = Frame {
NAME_PLATE_UNIT_REMOVED = defined @Interface/AddOns/Kui_Nameplates/addon.lua:117
ui_print = defined @Interface/AddOns/Kui_Nameplates/addon.lua:59
Nameplate =

{
}
DispatchMessage = defined @Interface/AddOns/Kui_Nameplates/messages.lua:108
uiscale = 0.650000
Frames = defined @Interface/AddOns/Kui_Nameplates/addon.lua:62
USE_BLIZZARD_PERSONAL = false
NewElement = defined @Interface/AddOns/Kui_Nameplates/messages.lua:564
USE_BLIZZARD_POWERS = false
NewPlugin = defined @Interface/AddOns/Kui_Nameplates/messages.lua:527
IGNORE_UISCALE = false
plugins =
{
}
GetPlugin = defined @Interface/AddOns/Kui_Nameplates/messages.lua:557
layout =
{
}
NAME_PLATE_UNIT_ADDED = defined @Interface/AddOns/Kui_Nameplates/addon.lua:93
MINOR = 5
GetActiveNameplateForUnit = defined @Interface/AddOns/Kui_Nameplates/addon.lua:71
NamePlateDriverFrame_AcquireUnitFrame = defined @Interface/AddOns/Kui_Nameplates/hook.lua:21
ClassPowersFrame = Frame {
}
Layout = defined @Interface/AddOns/Kui_Nameplates/messages.lua:571
GetNameplateForGuid = defined @Interface/AddOns/Kui_Nameplates/addon.lua:77
PrintTrace = defined @Interface/AddOns/Kui_Nameplates/messages.lua:88
0 =
UI_SCALE_CHANGED = defined @Interface/AddOns/Kui_Nameplates/addon.lua:135
NAME_PLATE_CREATED = defined @Interface/AddOns/Kui_Nameplates/addon.lua:86
MAJOR = 2
PLAYER_LEAVING_WORLD = defined @Interface/AddOns/Kui_Nameplates/addon.lua:126
print = defined @Interface/AddOns/Kui_Nameplates/addon.lua:55
DEBUG_IGNORE =
{
}
HookNameplate = defined @Interface/AddOns/Kui_Nameplates/hook.lua:27
GetNameplateForUnit = defined @Interface/AddOns/Kui_Nameplates/addon.lua:65
}
event = "PLAYER_LOGIN"
(for generator) = defined =[C]:-1
(for state) =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
7 =
{
}
8 =
{
}
9 =
{
}
10 =
{
}
11 =
{
}
12 =
{
}
13 =
{
}
14 =
{
}
15 =
{
}
16 =
{
}
17 =
{
}
18 =
{
}
19 =
{
}
20 =
{
}
21 =
{
}
22 =
{
}
23 =
{
}
24 =
{
}
}
(for control) = 6
_ = 6
plugin =
{
Paladin_WatchFiresOfJustice = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:708
UNIT_ABSORB_AMOUNT_CHANGED = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:729
Enable = defined @Interface/AddOns/Kui_Nameplates/messages.lua:496
PLAYER_ENTERING_WORLD = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:538
Initialise = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:789
Initialised = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:760
PowerEvent = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:695
StaggerUpdate = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:671
__MESSAGES =
{
}
priority = 0
UNIT_AURA = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:720
UNIT_POWER_FREQUENT = defined @Interface/AddOns/Kui_Nameplates/elements/classpowers.lua:726
OnDisable = defined @Interface/AddOns

commented

I pushed a fix