LUA Error
spamwax opened this issue ยท 1 comments
2x Aptechka\Aptechka-9.0.21.lua:1087: attempt to call method 'StartTrace' (a nil value)
[string "@Aptechka\Aptechka-9.0.21.lua"]:1087: in function `func'
[string "@Aptechka\Aptechka-9.0.21.lua"]:2629: in function `ForEachFrameOptsWidget'
[string "@Aptechka\Aptechka-9.0.21.lua"]:1091: in function `func'
[string "@Aptechka\Aptechka-9.0.21.lua"]:1707: in function `ForEachUnitFrame'
[string "@Aptechka\Aptechka-9.0.21.lua"]:1476: in function `?'
[string "@Aptechka\Aptechka-9.0.21.lua"]:6: in function <Aptechka\Aptechka.lua:5>
Locals:
widget = <unnamed> {
0 = <userdata>
text = <unnamed> {
}
SetJob = <function> defined @Aptechka\frame.lua:2233
}
slot = "Bestow"
frame = NugRaid1UnitButton1 {
0 = <userdata>
raidbuff = <unnamed> {
}
activeAuras = <table> {
}
healthColor = <unnamed> {
}
Bestow = <unnamed> {
}
healfeedback = <unnamed> {
}
absorb2 = <unnamed> {
}
UnwrapScript = <function> defined @FrameXML\SecureHandlers.lua:788
debuffIcons = <unnamed> {
}
incomingCastIcon = <unnamed> {
}
OnMouseEnterFunc = <function> defined @Aptechka\frame.lua:2541
mouseover = <unnamed> {
}
healthtext = <unnamed> {
}
state = <table> {
}
ReconfigureUnitFrame = <function> defined @Aptechka\frame.lua:2602
raidicon = <unnamed> {
}
buffIcons = <unnamed> {
}
Mitigation = <unnamed> {
}
bar4 = <unnamed> {
}
statusIcon = <unnamed> {
}
Execute = <function> defined @FrameXML\SecureHandlers.lua:777
text3 = <unnamed> {
}
bossdebuff = <unnamed> {
}
unit = "party1"
raidTargetIcon = <unnamed> {
}
LeaderIndicator = NugRaid1UnitButton1LeaderIcon {
}
SetFrameRef = <function> defined @FrameXML\SecureHandlers.lua:793
roleIcon = <unnamed> {
}
WrapScript = <function> defined @FrameXML\SecureHandlers.lua:782
Glimmer = <unnamed> {
}
text1 = <unnamed> {
}
flashPool = <table> {
}
self = NugRaid1UnitButton1 {
}
text2 = <unnamed> {
}
absorb = <unnamed> {
}
power = <unnamed> {
}
auraEvents = <table> {
}
guid = "Player-3661-085B2E31"
HideFunc = <function> defined @Aptechka\Aptechka.lua:2940
PixelSnapDisabled = true
border = <unnamed> {
}
OnMouseLeaveFunc = <function> defined @Aptechka\frame.lua:2544
health = <unnamed> {
}
debuffTypeMask = 0
onleave = <function> defined @Aptechka\Aptechka.lua:2272
bars = <unnamed> {
}
healabsorb = <unnamed> {
}
onenter = <function> defined @Aptechka\Aptechka.lua:2263
}
opts = <table> {
name = "OutOfSight"
color = <table> {
}
scale = 1.600000
priority = 95
assignto = <table> {
}
fade = 0.300000
}
(*temporary) = nil
(*temporary) = <unnamed> {
0 = <userdata>
text = <unnamed> {
}
SetJob = <function> defined @Aptechka\frame.lua:2233
}
(*temporary) = <table> {
name = "OutOfSight"
color = <table> {
}
scale = 1.600000
priority = 95
assignto = <table> {
}
fade = 0.300000
}
(*temporary) = "attempt to call method 'StartTrace' (a nil value)"
Aptechka = Aptechka {
0 = <userdata>
UNIT_MAXPOWER = <function> defined @Aptechka\Aptechka.lua:1288
loadedAuras = <table> {
}
UNIT_AFK_CHANGED = <function> defined @Aptechka\Aptechka.lua:1221
ForEachFrame = <function> defined @Aptechka\Aptechka.lua:1695
FrameColorize = <function> defined @Aptechka\Aptechka.lua:1765
UNIT_MAXHEALTH = <function> defined @Aptechka\Aptechka.lua:940
FrameStartTrace = <function> defined @Aptechka\Aptechka.lua:1090
ScanAuras = <function> defined @Aptechka\Aptechka.lua:2995
IsGroupEnabled = <function> defined @Aptechka\Aptechka.lua:1988
FrameUpdateIncomingCast = <function> defined @Aptechka\Aptechka.lua:3658
FrameUpdateStagger = <function> defined @Aptechka\Aptechka.lua:1484
RAID_TARGET_UPDATE = <function> defined @Aptechka\Aptechka.lua:1690
FrameReadyCheckFinished = <function> defined @Aptechka\Aptechka.lua:1748
Reconfigure = <function> defined @Aptechka\Aptechka.lua:757
UNIT_HEAL_PREDICTION = <function> defined @Aptechka\Aptechka.lua:873
PLAYER_LOGIN = <function> defined @Aptechka\Aptechka.lua:241
SimpleDebuffPostUpdate = <function> defined @Aptechka\Aptechka.lua:2857
FixWidgetsAfterUpgrade = <function> defined @Aptechka\frame.lua:97
UNIT_SPELLCAST_SENT = <function> defined @Aptechka\Aptechka.lua:1466
UNIT_SPELLCAST_DELA
https://github.com/rgd87/Aptechka/releases/tag/9.0.22-beta2
I added trace support (and LOS warning is a trace) to Border, Text and simple Icon widgets in addition to Texture and Indicator types that worked before. Don't know where you assigned it to have this error, but should be fine now.