Masque

Masque

7M Downloads

Bug: Error When Loading Settings

Landelor opened this issue ยท 13 comments

commented

Hi,

I'm getting the below error when trying to load Masque settings. None of my skins are showing.

Message: Interface\AddOns\Masque\Options\Skins.lua:457: attempt to index field 'Skins' (a nil value) Time: Mon Oct 28 10:18:31 2019 Count: 1 Stack: Interface\AddOns\Masque\Options\Skins.lua:457: attempt to index field 'Skins' (a nil value) Interface\AddOns\Masque\Options\Skins.lua:457: in function UpdateSkinOptions'
Interface\AddOns\Masque\Core\Group.lua:417: in function __Update' Interface\AddOns\Masque\Core\Groups.lua:84: in function <Interface\AddOns\Masque\Core\Groups.lua:58> Interface\AddOns\Masque\Core\Groups.lua:91: in function GetGroup'
Interface\AddOns\Masque\Options\Skins.lua:425: in function func' Interface\AddOns\Masque\Options\Core.lua:34: in function <Interface\AddOns\Masque\Options\Core.lua:31> Interface\AddOns\Masque\Options\Core.lua:118: in function func'
Interface\AddOns\Masque\Options\Core.lua:34: in function <Interface\AddOns\Masque\Options\Core.lua:31>
Interface\AddOns\Masque\Options\Core.lua:132: in function ToggleOptions' Interface\AddOns\Masque\Masque.lua:115: in function ?'
Interface\FrameXML\ChatFrame.lua:4839: in function ChatEdit_ParseText' Interface\FrameXML\ChatFrame.lua:4502: in function ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4538: in function `ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>

Locals: self =

{
SkinShadow = defined @interface\AddOns\Masque\Core\Regions\Shadow.lua:90
GetID = defined @interface\AddOns\Masque\Core\Groups.lua:40
SkinTexture = defined @interface\AddOns\Masque\Core\Regions\Texture.lua:39
OptionsLoaded = true
Callback =
{
}
WOW_RETAIL = true
Locale =
{
}
SkinIcon = defined @interface\AddOns\Masque\Core\Regions\Icon.lua:33
GetColor = defined @interface\AddOns\Masque\Core\Utility.lua:74
Skins =
{
}
AddSkin = defined @interface\AddOns\Masque\Skins\Skins.lua:40
API_VERSION = 80200
SkinNewItem = defined @interface\AddOns\Masque\Core\Regions\NewItem.lua:73
GetSize = defined @interface\AddOns\Masque\Core\Utility.lua:26
ToggleOptions = defined @interface\AddOns\Masque\Options\Core.lua:131
GetRegion = defined @interface\AddOns\Masque\Core\Core.lua:87
API =
{
}
Group_MT =
{
}
GetOptions = defined @interface\AddOns\Masque\Options\Skins.lua:159
Setup =
{
}
GetType = defined @interface\AddOns\Masque\Core\Core.lua:37
LDBI =
{
}
UpdateSkinOptions = defined @interface\AddOns\Masque\Options\Skins.lua:453
RegTypes =
{
}
SkinNormal = defined @interface\AddOns\Masque\Core\Regions\Normal.lua:127
Authors =
{
}
LDBO =
{
}
OptionsPanel = {
}
SkinGloss = defined @interface\AddOns\Masque\Core\Regions\Gloss.lua:90
GetStandAlone = defined @interface\AddOns\Masque\Options\Core.lua:165
GetScale = defined @interface\AddOns\Masque\Core\Utility.lua:100
Update = defined @interface\AddOns\Masque\Masque.lua:163
SkinIconBorder = defined @interface\AddOns\Masque\Core\Regions\IconBorder.lua:73
SkinList =
{
}
GetArg = defined @interface\AddOns\Masque\Options\Core.lua:170
OLD_VERSION = 70200
SkinButton = defined @interface\AddOns\Masque\Core\Button.lua:61
db =
{
}
CleanDB = defined @interface\AddOns\Masque\Core\Groups.lua:103
GetGroup = defined @interface\AddOns\Masque\Core\Groups.lua:89
Groups =
{
}
Websites =
{
}
SkinMask = defined @interface\AddOns\Masque\Core\Regions\Mask.lua:27
Options =
{
}
SkinCooldown = defined @interface\AddOns\Masque\Core\Regions\Frame.lua:105
SkinFrame = defined @interface\AddOns\Masque\Core\Regions\Frame.lua:57
SkinText = defined @interface\AddOns\Masque\Core\Regions\Text.lua:47
GetTexCoords = defined @Interfac`

commented

Restart the game or reinstall it with the game shut down.

commented

Installed it the first time with the game shut down.
A restart also didn't sort it.

commented

The error is the result of an installation issue.

  • Make sure you're using the latest version.
  • Make sure you're not using a no-libs version.
  • With the game shut down, manually remove the Masque folder from your add-ons folder and then reinstall it.

This is only report of this error, so it's something on your end.

commented

Tried re-adding the addon after removing all traces of it.
This is also after I completely removed my WTF folder.
Left it as the only addon running and still getting the error.

commented

I'm unable to reproduce the error. I need some more information before attempting to troubleshoot it further.

  • Which version are you trying to install (ie, version number + classic/retail)
  • Where are you getting the installation package (website and add-on manager, if using one).
  • What exact steps are you taking that cause the error to occur.
commented

Version 8.2.7 for retail.
I tried installing through Twitch app as well as downloading from Curseforge manually.
With a freshly loaded UI I try to open the Masque options. Doesn't matter how, through the button under interface settings or using /msq.

commented

Honestly, I've no clue. This is the only report of this I've had and it's working fine on my end.

commented

Yeah. No matter what I do it doesn't work.
What would cause that object to return a nil value?
Also it's saying that it's outdated, but I assumes that's just a TOC bump.

commented

Honestly, the error seems like an issue of a missing/outdated file. There is one other thing we can try but that would require a bit of effort on your part since I'm unable to reproduce the error.

In Masque/Options/Skins.lua change line 454 (approx) from:

	if not self.OptionsLoaded then return end

To:

	if Setup.Skins then return end

See if that fixes it.

commented

Alright. I'll include it in the next release.

commented

That seems to have fixed it.

commented

Thanks for your help.

commented

Should be fixed in ee19ccf.