Skada Damage Meter (Revisited)

Skada Damage Meter (Revisited)

71.5k Downloads

[Bug]: Error on login

Stanzilla opened this issue ยท 1 comments

commented

Are you using the latest version of the addon?

  • Yes
  • No

Addon Version

Skada: Version: 1.8.85 - Date: 2023-08-10 @ 12:39 UTC

Did you try having only this addon enabled?

  • Yes
  • No

Current Behavior

Error

Expected Behavior

No Error

Lua Error

32x Skada/Core/Display/Bar.lua:154: attempt to compare nil with number
[string "@Skada/Core/Display/Bar.lua"]:154: in function Create' [string "@Skada/Core/Core.lua"]:974: in function CreateWindow'
[string "@Skada/Core/Core.lua"]:2228: in function ReloadSettings' [string "@Skada/Core/Core.lua"]:2347: in function <Skada/Core/Core.lua:2316> [string "=[C]"]: ? [string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function EnableAddon'
[string "@Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: in function LoadAddOn' [string "@FrameXML/UIParent.lua"]:544: in function UIParentLoadAddOn'
[string "@FrameXML/UIParent.lua"]:753: in function MajorFactions_LoadUI' [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:179: in function SetUpMajorFactionList'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:172: in function RefreshMajorFactionList' [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:167: in function RefreshOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:158: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:154>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function CreateFrame' [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:122: in function CreateOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:63: in function `RefreshExpansionOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:35: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:33>

Locals:
self =

{
SetDefaultModuleLibraries = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
GetBarGroup = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:483
WindowStretchStart = defined @Skada/Core/Display/Bar.lua:409
EnableModule = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
modules =
{
}
baseName = "Skada"
IterateEmbeds = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
BarClick = defined @Skada/Core/Display/Bar.lua:556
BarLeave = defined @Skada/Core/Display/Bar.lua:262
WindowResized = defined @Skada/Core/Display/Bar.lua:359
WindowStretching = defined @Skada/Core/Display/Bar.lua:402
IsShown = defined @Skada/Core/Display/Bar.lua:229
Show = defined @Skada/Core/Display/Bar.lua:216
defaultModuleState = true
WindowLocked = defined @Skada/Core/Display/Bar.lua:396
SetTitle = defined @Skada/Core/Display/Bar.lua:235
DisableModule = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
callbacks =
{
}
Update = defined @Skada/Core/Display/Bar.lua:708
db =
{
}
SetEnabledState = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
OnModuleCreated = defined @Skada/Core/Functions.lua:35
ScrollStart = defined @Skada/Core/Display/Bar.lua:1001
IterateModules = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
GetBars = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:528
Wipe = defined @Skada/Core/Display/Bar.lua:203
localeName = "Bar Display"
OnInitialize = defined @Skada/Core/Display/Bar.lua:2537
NewModule = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
GetModule = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
EndScroll = defined @Skada/Core/Display/Bar.lua:1008
defaultModuleLibraries =
{
}
Hide = defined @Skada/Core/Display/Bar.lua:223
Destroy = defined @Skada/Core/Display/Bar.lua:196
BarEnter = defined @Skada/Core/Display/Bar.lua:253
GetName = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:275
RegisterCallback = defined @Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
GetBarGroups = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:488
WindowMoveStop = defined @Skada/Core/Display/Bar.lua:312
orderedModules =
{
}
Disable = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:310
OnAnchorFrame = defined @Skada/Core/Display/Bar.lua:446
GetBar = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:523
description = "Bar display is the normal bar window used by most damage meters. It can be extensively styled."
IsModule = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:213
Enable = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:290
SetDefaultModuleState = defined @Ace3/AceAddon-3.0/AceAddon-3.0.lua:383
ReleaseBar = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:536
OnEnable = defined @Skada/Core/Display/Bar.lua:2520
ApplySettings = defined @Skada/Core/Display/Bar.lua:1027
AddDisplayOptions = defined @Skada/

Reproduction Steps

Log in

Last Good Version

No response

Screenshots

No response

commented

Hello @Stanzilla and thanks for reporting this issue.
I am very aware of it and I have applied a fix for it that will be pushed to the next update. This error likely happens when you import old/external profiles.

If you cannot wait for the update, please download this file and put it inside Skada\Core\Display folder. Make sure it asks you to replace the file, otherwise you'd be in the wrong folder.

Leave this issue open and I will close it when the time comes.
Thanks!