Haleth / Aurora

Minimalistic UI theme for World of Warcraft
Other
54 stars 23 forks source link

[Bug] (TBC Classic) Options appearing but no changes are being made #268

Closed Nabohs closed 3 years ago

Nabohs commented 3 years ago

Error pulled from Swatter

Date: 2021-06-03 11:51:21 ID: 5 Error occured in: Global Count: 1 Message: ..\AddOns\Aurora\gui.lua line 155: attempt to index local 'value' (a boolean value) Debug:

  Aurora\gui.lua:149

Locals: self = { BottomLeftCorner = { } OnBackdropLoaded = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:178 GetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:272 SetBackdropOptions = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:344 value = "customHighlight" TopLeftCorner = { } RightEdge = { } GetBackdropTexture = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:320 ApplyBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:189 SetBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:233 ClearBackdrop = defined @Interface\SharedXML\Backdrop.lua:369 GetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:292 GetBackdrop = defined @Interface\SharedXML\Backdrop.lua:434 SetBackdropGradient = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:298 SetBorderBlendMode = defined @Interface\SharedXML\Backdrop.lua:353 SetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:329 SetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:306 backdropInfo =

{ } OnBackdropSizeChanged = defined @Interface\SharedXML\Backdrop.lua:269 TopRightCorner = { } GetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:338 GetEdgeSize = defined @Interface\SharedXML\Backdrop.lua:275 Center = { } TopEdge = { } _backdropInfo =
{ } 0 = BottomEdge = { } BottomRightCorner = { } GetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:315 SetupTextureCoordinates = defined @Interface\SharedXML\Backdrop.lua:301 HasBackdropInfo = defined @Interface\SharedXML\Backdrop.lua:365 SetupPieceVisuals = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:181 SetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:262 LeftEdge = { } SetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:276 } value = true (temporary) =
{ swatchFunc = defined @Interface\AddOns\Aurora\gui.lua:118 cancelFunc = defined @Interface\AddOns\Aurora\gui.lua:134 } (temporary) =
{ swatchFunc = defined @Interface\AddOns\Aurora\gui.lua:118 cancelFunc = defined @Interface\AddOns\Aurora\gui.lua:134 } (temporary) =
{ swatchFunc = defined @Interface\AddOns\Aurora\gui.lua:118 cancelFunc = defined @Interface\AddOns\Aurora\gui.lua:134 } (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index local 'value' (a boolean value)" swatch = { BottomLeftCorner = { } OnBackdropLoaded = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:178 GetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:272 SetBackdropOptions = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:344 value = "customHighlight" TopLeftCorner = { } RightEdge = { } GetBackdropTexture = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:320 ApplyBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:189 SetBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:233 ClearBackdrop = defined @Interface\SharedXML\Backdrop.lua:369 GetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:292 GetBackdrop = defined @Interface\SharedXML\Backdrop.lua:434 SetBackdropGradient = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:298 SetBorderBlendMode = defined @Interface\SharedXML\Backdrop.lua:353 SetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:329 SetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\back AddOns: Swatter, v1.13.6652 (SwimmingSeadragon) AdiBags, vv1.9.24-bcc AdiBagsItemRackSets, vv1.7 AdvancedInterfaceOptions, v1.5.0-1-gcd568fb Atlas, vv1.49.00 AtlasBurningCrusade, vv1.49.00 AtlasClassicWoW, vv1.49.00 AtlasLootClassic, vv2.2.1-bcc AtlasLootClassicData, vv2.2.1-bcc AtlasLootClassicDungeonsAndRaids, vv2.2.1-bcc Attune, v227 AucAdvanced, v1.13.6686 (SwimmingSeadragon) AucFilterBasic, v1.13.6680 (SwimmingSeadragon) AucStatHistogram, v1.13.6681 (SwimmingSeadragon) AucStatiLevel, v1.13.6636 (SwimmingSeadragon) AucStatPurchased, v1.13.6672 (SwimmingSeadragon) AucStatSimple, v1.13.6634 (SwimmingSeadragon) AucStatStdDev, v1.13.6635 (SwimmingSeadragon) AucUtilFixAH, v1.13.6608 (SwimmingSeadragon) Auctionator, v100.0.11 Aurora, v9.0.5.0 AutoCarrot, v1.13.12 AutoVendor, v68-classic BeanCounter, v1.13.6682 (SwimmingSeadragon) BlizzMove, vv3.0.18 CEPGP, v ClassicAuraDurations, v2.5.4 ClassicCastbars, vv1.4.0 ClassicCastbarsOptions, vv1.4.0 DBMAceAttorneyMusicPack, v1.0.0 DBMCore, v2.5.4 DBMStatusBarTimers, v DBMVPHazelNutty, v1.1 Details, v DetailsStreamer, v DetailsTinyThreat, v Dominos, v9.0.28 DominosCast, v DominosEncounter, v DominosProgress, v DominosRoll, v ElkBuffBars, v2.6.2-199 Enchantrix, v1.13.6662 (SwimmingSeadragon) EnchantrixBarker, v1.13.6692 (SwimmingSeadragon) Gnosis, vr241 Immersion, v1.3.7 Informant, v1.13.6684 (SwimmingSeadragon) ItemRack, v ItemTooltipProfessionIcons, v1.2 KuiMedia, v KuiNameplates, v2.27.3a KuiNameplatesCore, v LeatrixMaps, v2.5.38 LeatrixPlus, v2.5.38 Masque, v9.0.6 MasqueSerenity, v9.0.7 MaxCam, v2.5.1 MBB, v1.2.0 MikScrollingBattleText, v5.7.152 NovaInstanceTracker, v1.17 NovaWorldBuffs, v2.08 OmniCC, v9.0.10 Postal, vr436 Prat30, v3.9.1 Prat30Libraries, v Questie, v6.3.14 RepByZone, v1.19.5 SexyMap, vv3-bcc ShadowedUnitFrames, vv4.3.1-classic-1-gf597a16 SheepMonitor, v1.23 SinStats, v3.1.7 SlideBar, v1.13.6668 (SwimmingSeadragon) SpellbookAbridged, v2.6.4a Stubby, v1.13.6614 (SwimmingSeadragon) TipTac, v21.05.26 TipTacItemRef, v21.05.11 TranqRotate, v1.7.0 WeakAuras, v3.4.2 WeakAurasCompanion, v1.1.0 WeaponSwingTimer, v6.3.4 WowUp, v1.0.0 wowupdataaddon, v1.0.0 BlizRuntimeLib_enUS v2.5.1.20501 (ck=925)

Gethe commented 3 years ago

I can't replicate this error. Try disabling your other addons, there may be a conflict.

Nabohs commented 3 years ago

disabled all Addons except for Aurora, received the following Error in chat:

ERROR: Interface/AddOns/Aurora/aurora.lua87: attempt to index field 'customHighlight' (a boolean value)

Gethe commented 3 years ago

probably the saved vars file was corrupted somehow. It'll be in the _classic_\WTF\Account\<accountName>\SavedVariables\Aurora.lua. Try renaming or deleting this file, plus the .lua.bak file if present.

Nabohs commented 3 years ago

tried that, not working after renaming and deleting. Looks like the Custom Highlight Color in the options might be causing an issue. Enabled Swatter for the error file:

Date: 2021-06-03 13:33:30 ID: 1 Error occured in: Global Count: 1 Message: ..\AddOns\Aurora\gui.lua line 280: attempt to index field 'customHighlight' (a boolean value) Debug:

  Aurora\gui.lua:274

Locals: self = { 0 = Text = AuroraOptionsText { } value = "customHighlight" } (temporary) = true (temporary) = { 0 = Text = AuroraOptionsText { } value = "customHighlight" } (temporary) = false (temporary) = "attempt to index field 'customHighlight' (a boolean value)" highlightButton = { BottomLeftCorner = { } OnBackdropLoaded = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:178 GetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:272 SetBackdropOptions = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:344 value = "customHighlight" TopLeftCorner = { } RightEdge = { } GetBackdropTexture = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:320 ApplyBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:189 SetBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:233 ClearBackdrop = defined @Interface\SharedXML\Backdrop.lua:369 GetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:292 GetBackdrop = defined @Interface\SharedXML\Backdrop.lua:434 SetBackdropGradient = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:298 SetBorderBlendMode = defined @Interface\SharedXML\Backdrop.lua:353 SetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:329 SetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:306 backdropInfo =

{ } OnBackdropSizeChanged = defined @Interface\SharedXML\Backdrop.lua:269 TopRightCorner = { } GetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:338 GetEdgeSize = defined @Interface\SharedXML\Backdrop.lua:275 Center = { } TopEdge = { } _backdropInfo =
{ } 0 = BottomEdge = { } BottomRightCorner = { } GetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:315 SetupTextureCoordinates = defined @Interface\SharedXML\Backdrop.lua:301 HasBackdropInfo = defined @Interface\SharedXML\Backdrop.lua:365 SetupPieceVisuals = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:181 SetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:262 LeftEdge = { } SetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:276 } private =
{ isPatch = false disabled =
{ } uiScale = 1 API_MINOR = 8 IGNORED_QUEST_DISPLAY = "|cffbfbfbf%s (ignored)|r" isBCC = true TRIVIAL_QUEST_DISPLAY = "|cffbfbfbf%s (low level)|r" textures =
{ } classColorsReset = defined @Interface\AddOns\Aurora\Skin\color.lua:360 debug = defined @Interface\AddOns\Aurora\Skin\init.lua:79 charClass =
{ } fileOrder =
{ } backdrop =
{ } UpdateUIScale = defined @Interface\AddOns\Aurora\Skin\init.lua:29 FACTION_COLORS =
{ } SharedXML =
{ } setColorCache = defined @Interface\AddOns\Aurora\Skin\color.lua:353 updateHighlightColor = defined @Interface\AddOns\Aurora\aurora.lua:85 isClassic = false API_MAJOR = 0 nop = defined @Interface\AddOns\Aurora\Skin\init.lua:79 OnLoad = defined @Interface\AddOns\Aurora\aurora.lua:38 commands =
{ } SetupGUI = defined @Interface\AddOns\Aurora\gui.lua:377 FrameXML =
{ } isRetail = false AddOns =
{ } atlasColors =
{ } NORMAL_QUEST_DISPLAY = "|cffffffff%s|r" Enum =
{ } FRAME_TITLE_HEIGHT = 27 Aurora =
{ } font =
{ } }

AddOns: Swatter, v1.13.6652 (SwimmingSeadragon) Aurora, v9.0.5.0 BlizRuntimeLib_enUS v2.5.1.20501 (ck=67)

Nabohs commented 3 years ago

Solved the issue, a secondary SavedVariables file was being generated for each character (along with the solo Account Name SavedVariables file). Did a fresh delete of the entire backup .Lua files and that fixed the issue