KkthnxUI

KkthnxUI

277k Downloads

Error upon initial setup

deadlydag opened this issue · 4 comments

commented

Description
LUA-error after going through the KkthnxUI initial setup.
Error goes away after resetting global cvars server-side.
'Interface' disappears completely in Options.
Can't edit anything since its gone. Have to reset global cvars.

Message: Interface/SharedXML/Settings/Blizzard_Setting.lua:221: SetValue 'Status Text' requires 'number' type, not 'nil' type.
Time: Wed Mar 22 12:42:46 2023
Count: 1
Stack: Interface/SharedXML/Settings/Blizzard_Setting.lua:221: SetValue 'Status Text' requires 'number' type, not 'nil' type.
[string "=[C]"]: in function error' [string "@Interface/SharedXML/Settings/Blizzard_Setting.lua"]:221: in function SetValueInternal'
[string "@Interface/SharedXML/Settings/Blizzard_Setting.lua"]:237: in function Init' [string "@Interface/SharedXML/Mixin.lua"]:50: in function CreateAndInitFromMixin'
[string "@Interface/SharedXML/Settings/Blizzard_Settings.lua"]:168: in function RegisterProxySetting' [string "@Interface/FrameXML/SettingDefinitions/Interface.lua"]:287: in function registrant'
[string "@Interface/SharedXML/Settings/Blizzard_SettingsRegistrar.lua"]:15: in function <...ce/SharedXML/Settings/Blizzard_SettingsRegistrar.lua:14>
[string "=[C]"]: in function secureexecuterange' [string "@Interface/SharedXML/Settings/Blizzard_SettingsRegistrar.lua"]:17: in function <...ce/SharedXML/Settings/Blizzard_SettingsRegistrar.lua:11> [string "@Interface/SharedXML/EventUtil.lua"]:21: in function <Interface/SharedXML/EventUtil.lua:15> [string "=[C]"]: ? [string "@Interface/SharedXML/CallbackRegistry.lua"]:143: in function <Interface/SharedXML/CallbackRegistry.lua:142> [string "=[C]"]: ? [string "@Interface/SharedXML/CallbackRegistry.lua"]:146: in function TriggerEvent'
[string "@Interface/SharedXML/GlobalCallbackRegistry.lua"]:9: in function <Interface/SharedXML/GlobalCallbackRegistry.lua:8>

Locals: (*temporary) = "SetValue 'Status Text' requires 'number' type, not 'nil' type."

commented

I know the issue. Currently on vacation atm though Ill work on a temp fix.

commented

Test latest push

7e24da1

commented

Latest push fixed the error, but now the initial install tutorial doesn't work.
When going through the install tutorial, button 1\5 and 5\5 can't be clicked.
And on the last page (5\5), you can click decline, leading to no errors as far as I can see - but you won't get out of the setup.
It continues to 6\5, 7\5, 8\5 etc.

commented

Fixed