Cell

Cell

1M Downloads

Lua error: Cell/Indicators/Base.lua:239: attempt to compare number with nil

class2u opened this issue · 1 comments

commented

您好! 感謝更新到 10.2.5!

使用 r215-release 版本,點設定選項視窗上方的 "外觀" 標籤頁時會發生下面的 Lua 錯誤:

4x Cell/Indicators/Base.lua:239: attempt to compare number with nil
[string "@Cell/Indicators/Base.lua"]:239: in function SetCooldown' [string "@Cell/Modules/Appearance.lua"]:255: in function <Cell/Modules/Appearance.lua:253> [string "=[C]"]: in function Show'
[string "@Cell/Modules/Appearance.lua"]:1352: in function onEventFunc' [string "@Cell/Libs/CallbackHandler.lua"]:24: in function Fire'
[string "@Cell/Modules/OptionsFrame.lua"]:95: in function <Cell/Modules/OptionsFrame.lua:92>
[string "@Cell/Widgets/Widgets.lua"]:724: in function <Cell/Widgets/Widgets.lua:722>

Locals:
frame = CellAppearancePreviewIcon4 {
BottomLeftCorner = Texture {
}
duration = FontString {
}
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
ag = AnimationGroup {
}
textFrame = Frame {
}
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
GetBackdrop = defined @SharedXML/Backdrop.lua:347
height = 22
stack = FontString {
}
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
ShowDuration = defined @Cell/Indicators/Base.lua:421
preview = Frame {
}
width = 22
ShowAnimation = defined @Cell/Indicators/Base.lua:430
0 =
backdropInfo =

{
}
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
TopRightCorner = Texture {
}
ShowStack = defined @Cell/Indicators/Base.lua:439
SetCooldown = defined @Cell/Indicators/Base.lua:217
SetFont = defined @Cell/Indicators/Base.lua:212
UpdatePixelPerfect = defined @Cell/Indicators/Base.lua:447
GetEdgeSize = defined @SharedXML/Backdrop.lua:188
spark = Texture {
}
BottomEdge = Texture {
}
TopEdge = Texture {
}
icon = CellAppearancePreviewIcon4Icon {
}
cooldown = CellAppearancePreviewIcon4CooldownBar {
}
maskIcon = CellAppearancePreviewIcon4MaskIcon {
}
Center = Texture {
}
SetupTextureCoordinates = defined @SharedXML/Backdrop.lua:214
HasBackdropInfo = defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @SharedXML/Backdrop.lua:422
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetBackdropColor = defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
BottomRightCorner = Texture {
}
}
start = 13266.360000
duration = 13
debuffType = nil
texture = 136085
count = 0
refreshing = nil
threshold = nil
(*temporary) = nil
(*temporary) =
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
Cell =
{
CreateTripleSwitch = defined @Cell/Widgets/Widgets.lua:1318
MIN_DEBUFFS_VERSION = 189
CreateMask = defined @Cell/Widgets/Widgets.lua:1640
GetUnitFrame = defined @Cell/Utils.lua:1887
MIN_QUICKASSIST_VERSION = 213
WrapTextInAccentColor = defined @Cell/Widgets/Widgets.lua:162
SetTooltips = defined @Cell/Widgets/Widgets.lua:403
CreateColorPicker = defined @Cell/Widgets/Widgets.lua:846
CreateBindingButton = defined @Cell/Widgets/Widgets.lua:3037
CreateScrollTextFrame = defined @Cell/Widgets/Widgets.lua:2302
funcs =
{
}
CreateStatusBarButton = defined @Cell/Widgets/Widgets.lua:1569
snippetVars =
{
}
patrons1 =
{
}
SetEnabled = defined @Cell/Widgets/Widgets.lua:169
MIN_CLICKCASTINGS_VERSION = 189
CreateTipsButton = defined @Cell/Widgets/Widgets.lua:734
IndentationLib =
{
}
isRetail = true
animations =
{
}
GetAccentColorTable = defined @Cell/Widgets/Widgets.lua:146
frames =
{
}
CreateTitledPane = defined @Cell/Widgets/Widgets.lua:265
CreateSlider = defined @Cell/Widget

commented

已修复,感谢反馈。