Azilroka / AddOnSkins

27 stars 32 forks source link

lua error with SilverDragon attempt to access field "backdrop" #188

Open DockieB opened 8 months ago

DockieB commented 8 months ago

I've been receiving the following error with SilverDragon enabled in AddOnSkins:

58x ...faceAddOnSkins/SkinsSilverDragon.lua:13: attempt to index field 'backdrop' (a nil value) [string "@AddOnSkins/SkinsSilverDragon.lua"]:13: in function <...faceAddOnSkins/SkinsSilverDragon.lua:7> [string "@SilverDragon/targets/popup.lua"]:15: in function `ApplyLook' [string "@SilverDragon/targets/popup.lua"]:364: in function <SilverDragon/targets/popup.lua:188>

[string "@SharedXML/Pools.lua"]:116: in function <SharedXML/Pools.lua:106>

[string "@SilverDragon/targets/popup.lua"]:25: in function ShowFrame' [string "@SilverDragon/targets/queue.lua"]:74: in functionProcessQueue' [string "@SilverDragon/targets/queue.lua"]:65: in function Enqueue' [string "@SilverDragon/targets/module.lua"]:96: in function?' [string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

... [string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function Fire' [string "@SilverDragon/core.lua"]:483: in functionNotifyForMob' [string "@SilverDragon/scan/vignettes.lua"]:301: in function <SilverDragon/scan/vignettes.lua:281>

[string "@SilverDragon/scan/vignettes.lua"]:277: in function `?' [string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@PetTracker/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <PetTracker/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: self =

{ defaults =
{ } Point = defined @SilverDragon/targets/module.lua:145 Marked = defined @SilverDragon/targets/module.lua:153 SeenLoot = defined @SilverDragon/targets/module.lua:128 CreateAnchor = defined @SilverDragon/targets/module.lua:254 RefreshLootData = defined @SilverDragon/targets/popup.lua:98 IterateEmbeds = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:438 EnumerateActive = defined @SilverDragon/targets/queue.lua:39 SendLinkToMob = defined @SilverDragon/targets/module.lua:213 GetGeneralID = defined @SilverDragon/targets/module.lua:161 SetDefaultModulePrototype = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:405 queue =
{ } defaultModuleState = true IsEnabled = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:447 stack =
{ } DisableModule = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:346 RegisterLookConfig = defined @SilverDragon/targets/config.lua:184 RegisterMessage = defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 UnregisterMessage = defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143 AnnounceLoot = defined @SilverDragon/targets/module.lua:100 db =
{ } CanPoint = defined @SilverDragon/targets/module.lua:141 SetEnabledState = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:420 ShowFrame = defined @SilverDragon/targets/popup.lua:23 enabledState = true Looks =
{ } LookConfig =
{ } SetModel = defined @SilverDragon/targets/popup.lua:134 IterateModules = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:433 overflow =
{ } Acquire = defined @SilverDragon/targets/queue.lua:23 ResetLook = defined @SilverDragon/targets/popup.lua:18 GetPopupLookPool = defined @SilverDragon/targets/queue.lua:8 IsModelBlacklisted = defined @SilverDragon/targets/popup.lua:166 OnInitialize = defined @SilverDragon/targets/module.lua:49 NewModule = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:231 RefreshMobData = defined @SilverDragon/targets/popup.lua:86 UpdateWithData = defined @SilverDragon/targets/queue.lua:98 anchor = Frame { } defaultModuleLibraries =
{ } Reflow = defined @SilverDragon/targets/queue.lua:113 GetName = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:275 Redraw = defined @SilverDragon/targets/queue.lua:131 name = "SilverDragon_ClickTarget" Release = defined @SilverDragon/targets/queue.lua:27 orderedModules =
{ } Announce = defined @SilverDragon/targets/module.lua:65 Disable = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:310 GetPositionFromData = defined @SilverDragon/targets/module.lua:236 ApplyLook = defined @SilverDragon/targets/popup.lua:13 ProcessQueue = defined @SilverDragon/targets/queue.lua:69 baseName = "SilverDragon" pools =
{ } RegisterConfig = defined @SilverDragon/targets/config.lua:11 CreatePopup = defined @SilverDragon/targets/popup.lua:188 IsModule = defined @Interfac


Disabled SilverDragon within the AddOnSkins "Skins" module, and no more errors. Apparently, they're not playing nice together.

Thanks for all you do.

mapleleaf202324 commented 7 months ago

Aaah great, just wanted to report the error. I have the same problem.

34x ...faceAddOnSkins/SkinsSilverDragon.lua:13: attempt to index field 'backdrop' (a nil value) [string "@AddOnSkins/SkinsSilverDragon.lua"]:13: in function <...faceAddOnSkins/SkinsSilverDragon.lua:7> [string "@SilverDragon/targets/popup.lua"]:15: in function `ApplyLook' [string "@SilverDragon/targets/popup.lua"]:364: in function <SilverDragon/targets/popup.lua:188>

[string "@SharedXML/Pools.lua"]:116: in function <SharedXML/Pools.lua:106>

[string "@SilverDragon/targets/popup.lua"]:25: in function ShowFrame' [string "@SilverDragon/targets/queue.lua"]:74: in functionProcessQueue' [string "@SilverDragon/targets/queue.lua"]:65: in function Enqueue' [string "@SilverDragon/targets/module.lua"]:96: in function?' [string "@!mMT_MediaPack/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ack/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

... [string "@!mMT_MediaPack/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function Fire' [string "@SilverDragon/core.lua"]:483: in functionNotifyForMob' [string "@SilverDragon/scan/vignettes.lua"]:301: in function <SilverDragon/scan/vignettes.lua:281>

[string "@SilverDragon/scan/vignettes.lua"]:277: in function `?' [string "@!mMT_MediaPack/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ack/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

[string "@!mMT_MediaPack/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ack/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@!mMT_MediaPack/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@ElvUI_Libraries/Core/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...UI_Libraries/Core/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: self =

{ defaults =
{ } Point = defined @SilverDragon/targets/module.lua:145 Marked = defined @SilverDragon/targets/module.lua:153 SeenLoot = defined @SilverDragon/targets/module.lua:128 CreateAnchor = defined @SilverDragon/targets/module.lua:254 RefreshLootData = defined @SilverDragon/targets/popup.lua:98 IterateEmbeds = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:438 EnumerateActive = defined @SilverDragon/targets/queue.lua:39 SendLinkToMob = defined @SilverDragon/targets/module.lua:213 GetGeneralID = defined @SilverDragon/targets/module.lua:161 SetDefaultModulePrototype = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:405 queue =
{ } defaultModuleState = true IsEnabled = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:447 stack =
{ } DisableModule = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:346 RegisterLookConfig = defined @SilverDragon/targets/config.lua:184 RegisterMessage = defined @!mMT_MediaPack/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80 UnregisterMessage = defined @!mMT_MediaPack/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143 AnnounceLoot = defined @SilverDragon/targets/module.lua:100 db =
{ } CanPoint = defined @SilverDragon/targets/module.lua:141 SetEnabledState = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:420 ShowFrame = defined @SilverDragon/targets/popup.lua:23 enabledState = true Looks =
{ } LookConfig =
{ } SetModel = defined @SilverDragon/targets/popup.lua:134 IterateModules = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:433 overflow =
{ } Acquire = defined @SilverDragon/targets/queue.lua:23 ResetLook = defined @SilverDragon/targets/popup.lua:18 GetPopupLookPool = defined @SilverDragon/targets/queue.lua:8 IsModelBlacklisted = defined @SilverDragon/targets/popup.lua:166 OnInitialize = defined @SilverDragon/targets/module.lua:49 NewModule = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:231 RefreshMobData = defined @SilverDragon/targets/popup.lua:86 UpdateWithData = defined @SilverDragon/targets/queue.lua:98 anchor = Frame { } defaultModuleLibraries =
{ } Reflow = defined @SilverDragon/targets/queue.lua:113 GetName = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:275 Redraw = defined @SilverDragon/targets/queue.lua:131 name = "SilverDragon_ClickTarget" Release = defined @SilverDragon/targets/queue.lua:27 orderedModules =
{ } Announce = defined @SilverDragon/targets/module.lua:65 Disable = defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:310 GetPositionFromData = defined @SilverDragon/targets/module.lua:236 ApplyLook = defined @SilverDragon/targets/popup.lua:13 ProcessQueue = defined @SilverDragon/targets/queue.lua:69 baseName = "SilverDragon" pools =
{ } RegisterConfig = defined @SilverDragon/targets/config.lua:11 CreatePopup = defined @SilverDragon/targets/popup.lua:188 IsModule = d

kemayo commented 3 months ago

This seems to be a duplicate of #149 from 2023.