MacFrames

MacFrames

3.3k Downloads

Lots of errors with warrior, but works fine on many other classes.

Anothersignup opened this issue · 1 comments

commented
`1x MacFrames\Frames\RaidFrame.lua:200: attempt to index upvalue '_frame' (a nil value)
[string "@MacFrames\Frames\RaidFrame.lua"]:200: in function `SetDisabled'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:167: in function `ToggleTestMode'
[string "@MacFrames\Frames\SettingsFrame.lua"]:43: in function <MacFrames\Frames\SettingsFrame.lua:43>

Locals:
disabled = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = "state-visibility"
(*temporary) = <function> defined =[C]:-1
(*temporary) = "attempt to index upvalue '_frame' (a nil value)"
_frame = nil
_raidSettings = <table> {
 _propertyChangedListeners = <table> {
 }
 RegisterPropertyChanged = <function> defined @MacFrames\SavedVariables\Profile.lua:37
 UnregisterAllPropertyChanged = <function> defined @MacFrames\SavedVariables\Profile.lua:51
 RegisterAllPropertyChanged = <function> defined @MacFrames\SavedVariables\Profile.lua:43
 UnregisterPropertyChanged = <function> defined @MacFrames\SavedVariables\Profile.lua:40
 GetRawEntries = <function> defined @MacFrames\SavedVariables\Profile.lua:59
 _settings = <table> {
 }
 _settingsType = "properties"
 OnPropertyChanged = <function> defined @MacFrames\SavedVariables\Profile.lua:32
 _pathToMe = ".RaidFrame"
 _defaults = <table> {
 }
}`

`2x FrameXML\SecureStateDriver.lua:161: attempt to index field '?' (a nil value)
[string "@FrameXML\SecureStateDriver.lua"]:161: in function <FrameXML\SecureStateDriver.lua:146>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\SecureStateDriver.lua"]:19: in function `UnregisterAttributeDriver'
[string "@MacFrames\Frames\RaidFrame.lua"]:199: in function `SetDisabled'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:167: in function `ToggleTestMode'
[string "@MacFrames\Frames\SettingsFrame.lua"]:43: in function <MacFrames\Frames\SettingsFrame.lua:43>

Locals:
self = SecureStateDriverManager {
 0 = <userdata>
}
name = "setstate"
value = "state-visibility"
frame = nil
attribute = "state-visibility"
values = ""
(*temporary) = nil
(*temporary) = "state-visibility"
(*temporary) = ""
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
secureAttributeDrivers = <table> {
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
}
resolveDriver = <function> defined @FrameXML\SecureStateDriver.lua:95
unitExistsWatchers = <table> {
}
SecureStateDriverManager_UpdateUnitWatch = <function> defined @FrameXML\SecureStateDriver.lua:73
STATE_DRIVER_UPDATE_THROTTLE = 0.200000`

`1x MacFrames\Frames\RaidFrame.lua:162: attempt to index upvalue '_frame' (a nil value)
[string "@MacFrames\Frames\RaidFrame.lua"]:162: in function `SetTestMode'
[string "@MacFrames\Frames\RaidFrame.lua"]:187: in function `SetMovable'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:73: in function `ToggleAnchors'
[string "@MacFrames\Frames\SettingsFrame.lua"]:45: in function <MacFrames\Frames\SettingsFrame.lua:45>

Locals:
enabled = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = "state-visibility"
(*temporary) = <function> defined =[C]:-1
(*temporary) = SecureStateDriverManager {
 0 = <userdata>
}
(*temporary) = "setstate"
(*temporary) = "attempt to index upvalue '_frame' (a nil value)"
_frame = nil
_groupFrames = nil
RaidFrame = <table> {
 SetMovable = <function> defined @MacFrames\Frames\RaidFrame.lua:185
 ProcessLayout = <function> defined @MacFrames\Frames\RaidFrame.lua:291
 SetChildTestModes = <function> defined @MacFrames\Frames\RaidFrame.lua:206
 OnEvent = <function> defined @MacFrames\Frames\RaidFrame.lua:220
 ShowAllGroups = <function> defined @MacFrames\Frames\RaidFrame.lua:265
 UpdateAnchorFromCurrentPosition = <function> defined @MacFrames\Frames\RaidFrame.lua:150
 create = <function> defined @MacFrames\Frames\RaidFrame.lua:104
 SetDisableBlizzardFrame = <function> defined @MacFrames\Frames\RaidFrame.lua:81
 EnteringCombat = <function> defined @MacFrames\Frames\RaidFrame.lua:234
 SetDisabled = <function> defined @MacFrames\Frames\RaidFrame.lua:197
 SetForcedVisibility = <function> defined @MacFrames\Frames\RaidFrame.lua:172
 LeavingCombat = <function> defined @MacFrames\Frames\RaidFrame.lua:238
 HideGroupsForContent = <function> defined @MacFrames\Frames\RaidFrame.lua:246
 UpdateRect = <function> defined @MacFrames\Frames\RaidFrame.lua:271
 SetupEvents = <function> defined @MacFrames\Frames\RaidFrame.lua:212
 SetTestMode = <function> defined @MacFrames\Frames\RaidFrame.lua:159
}
_forcedVisibility = nil`

`2x MacFrames\Frames\RaidFrame.lua:207: attempt to get length of upvalue '_unitFrames' (a nil value)
[string "@MacFrames\Frames\RaidFrame.lua"]:207: in function `SetChildTestModes'
[string "@MacFrames\Frames\RaidFrame.lua"]:169: in function `SetTestMode'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:162: in function `ToggleTestMode'
[string "@MacFrames\Frames\SettingsFrame.lua"]:43: in function <MacFrames\Frames\SettingsFrame.lua:43>

Locals:
enabled = false
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of upvalue '_unitFrames' (a nil value)"
_unitFrames = nil
UnitFrame = <table> {
 UpdateAuras = <function> defined @MacFrames\Frames\UnitFrame.lua:1454
 SetHealth = <function> defined @MacFrames\Frames\UnitFrame.lua:1266
 SetUnit = <function> defined @MacFrames\Frames\UnitFrame.lua:739
 RegisterUnitEvents = <function> defined @MacFrames\Frames\UnitFrame.lua:839
 UpdateStatusText = <function> defined @MacFrames\Frames\UnitFrame.lua:1181
 DisableScripts = <function> defined @MacFrames\Frames\UnitFrame.lua:768
 UpdateReadyCheckStatus = <function> defined @MacFrames\Frames\UnitFrame.lua:1066
 UpdateRangeCheckTicker = <function> defined @MacFrames\Frames\UnitFrame.lua:793
 CreateDispellablesFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:657
 IsTapDenied = <function> defined @MacFrames\Frames\UnitFrame.lua:1393
 SetInRange = <function> defined @MacFrames\Frames\UnitFrame.lua:1446
 UpdateHealthColor = <function> defined @MacFrames\Frames\UnitFrame.lua:1397
 SetSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:149
 UpdateAggroHighlightTextureFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:326
 CreateBossAurasFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:677
 CreateSpecialClassDisplayFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:560
 CreateUndispellablesFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:636
 SetAttribute = <function> defined @MacFrames\Frames\UnitFrame.lua:697
 UpdatePhasingStatus = <function> defined @MacFrames\Frames\UnitFrame.lua:1026
 RegisterEvents = <function> defined @MacFrames\Frames\UnitFrame.lua:813
 UpdateAllMouseActions = <function> defined @MacFrames\Frames\UnitFrame.lua:1476
 GetFontFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:312
 UpdateResurrectionStatus = <function> defined @MacFrames\Frames\UnitFrame.lua:1041
 UpdatePowerMax = <function> defined @MacFrames\Frames\UnitFrame.lua:1254
 CreateBuffsFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:588
 FinishReadyCheck = <function> defined @MacFrames\Frames\UnitFrame.lua:1102
 ResetReadyCheck = <function> defined @MacFrames\Frames\UnitFrame.lua:1056
 CreateRangeCheckTicker = <function> defined @MacFrames\Frames\UnitFrame.lua:783
 LayoutHealthAndPowerBar = <function> defined @MacFrames\Frames\UnitFrame.lua:382
 UpdateAll = <function> defined @MacFrames\Frames\UnitFrame.lua:953
 SetPowerColor = <function> defined @MacFrames\Frames\UnitFrame.lua:1430
 ProcessHealthBarExtraInfoBar = <function> defined @MacFrames\Frames\UnitFrame.lua:1367
 PlayerInfoChanged = <function> defined @MacFrames\Frames\UnitFrame.lua:1482
 UpdateName = <function> defined @MacFrames\Frames\UnitFrame.lua:1388
 UpdateLFGStatus = <function> defined @MacFrames\Frames\UnitFrame.lua:1011
 CreateSpecialClassDisplays = <function> defined @MacFrames\Frames\UnitFrame.lua:1467
 UpdateInRange = <function> defined @MacFrames\Frames\UnitFrame.lua:1437
 GetTextureFromSettings = <function> defined @MacFrames\Frames\UnitFrame.lua:297
 SetHealthColor = <function> defined @MacFrames\Frames\UnitFrame.lua:1423
 UpdateTargetHighlight = <function> defined @MacFrames\Frames\UnitFrame.lua:1128
 SetIcon = <function> def`

`6x FrameXML\SecureStateDriver.lua:163: attempt to index field '?' (a nil value)
[string "@FrameXML\SecureStateDriver.lua"]:163: in function <FrameXML\SecureStateDriver.lua:146>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\SecureStateDriver.lua"]:11: in function `RegisterAttributeDriver'
[string "@MacFrames\Frames\RaidFrame.lua"]:180: in function `SetForcedVisibility'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:222: in function <MacFrames\MacFrames.lua:214>
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:273: in function `?'
[string "@MacFrames\MacFrames-v0.0.9c.lua"]:308: in function <MacFrames\MacFrames.lua:304>

Locals:
self = SecureStateDriverManager {
 0 = <userdata>
}
name = "setstate"
value = "state-visibility [group:raid] show; hide;"
frame = nil
attribute = "state-visibility"
values = "[group:raid] show; hide;"
(*temporary) = nil
(*temporary) = "state-visibility"
(*temporary) = "[group:raid] show; hide;"
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
secureAttributeDrivers = <table> {
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
  = <table> {
 }
}
resolveDriver = <function> defined @FrameXML\SecureStateDriver.lua:95
unitExistsWatchers = <table> {
}
SecureStateDriverManager_UpdateUnitWatch = <function> defined @FrameXML\SecureStateDriver.lua:73
STATE_DRIVER_UPDATE_THROTTLE = 0.200000`
commented

Hey, thanks for the report. I seem to have broken this at some point. I just published a fix (curseforge always takes a bit of time to update).

I forgot to initialize a setting for some classes (or didn't check if it was initialized 🤦🏻, pick whatever you like more).