-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error at login in patch 11.0 #252
Comments
1x ...crap/libs/Sushi-3.2-1/classes/buttons/ExpandHeader.lua:1: attempt to index field 'Clickable' (a nil value) Locals: } (*temporary) = 1 (*temporary) = "attempt to index field 'Clickable' (a nil value)" |
1x ...dOns/Scrap/libs/Sushi-3.2-1/classes/buttons/Header.lua:20: attempt to index field 'Clickable' (a nil value) Locals: } (*temporary) = "attempt to index field 'Clickable' (a nil value)" |
1x Scrap/libs/Sushi-3.2-1/classes/buttons/Red.lua:20: attempt to index field 'TextedClickable' (a nil value) Locals: } (*temporary) = 1 (*temporary) = nil (*temporary) = "attempt to index field 'TextedClickable' (a nil value)" |
1x ...dOns/Scrap/libs/Sushi-3.2-1/classes/buttons/Texted.lua:20: attempt to index field 'Clickable' (a nil value) Locals: |
1x ...s/Scrap/libs/Sushi-3.2-1/classes/buttons/Clickable.lua:20: attempt to index field 'Tipped' (a nil value) Locals: |
1x Scrap/libs/Sushi-3.2-1/classes/core/Labeled.lua:20: attempt to index field 'Tipped' (a nil value) Locals: |
1x Scrap/libs/Sushi-3.2-1/classes/core/Tipped.lua:20: attempt to index field 'Callable' (a nil value) Locals: |
1x ...ddOns/Scrap/libs/Sushi-3.2-1/classes/core/Callable.lua:20: attempt to index field 'Base' (a nil value) Locals: |
1x Scrap/libs/Poncho-2.0-3/Poncho-2.0.lua:65: attempt to index field 'Types' (a nil value) Locals: __type = "Abstract" } kind = nil name = nil template = nil class = __index = } __super = } } (*temporary) = nil (*temporary) = "Abstract" (*temporary) = nil (*temporary) = "attempt to index field 'Types' (a nil value)" Lib = SuperCall = } ClassMeta = } Base = } } ClassMeta = } |
1x Scrap/libs/Poncho-2.0-3/Poncho-2.0.lua:183: attempt to index a nil value Locals: SuperCall = } ClassMeta = } Base = } } Base = __type = "Abstract" } ClassMeta = } SuperCall = } (*temporary) = Abstract = } Frame = } } (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index a nil value" |
I believe they are made by the same person, @Jailiborc. |
Aha! Then hopefully it will be fixed soon whenever they find a time to work on that. I briefly looked around the new menu guide, but not sure if I would find a good solution. |
I modified the Change the lines (starting at 180) Lib.Types = Lib.Types or {
Abstract = {},
Frame = getmetatable(GameMenuFrame).__index,
Button = getmetatable(tempContinueButton).__index,
CheckButton = getmetatable(AddonListForceLoad).__index,
EditBox = getmetatable(ChatFrame1EditBox).__index,
GameTooltip = getmetatable(GameTooltip).__index,
} To this (it'll maintain backwards compatibility): tempContinueButton = GameMenuButtonContinue
if not tempContinueButton then
for button in GameMenuFrame.buttonPool:EnumerateActive() do
-- Locate the "Continue" button.
if (button:GetText() == _G["CONTINUE"]) then
tempContinueButton = button
break
end
end
end
if not tempContinueButton then
Lib.Types = Lib.Types or {
Abstract = {},
Frame = getmetatable(GameMenuFrame).__index,
CheckButton = getmetatable(AddonListForceLoad).__index,
EditBox = getmetatable(ChatFrame1EditBox).__index,
GameTooltip = getmetatable(GameTooltip).__index,
}
else
Lib.Types = Lib.Types or {
Abstract = {},
Frame = getmetatable(GameMenuFrame).__index,
Button = getmetatable(tempContinueButton).__index,
CheckButton = getmetatable(AddonListForceLoad).__index,
EditBox = getmetatable(ChatFrame1EditBox).__index,
GameTooltip = getmetatable(GameTooltip).__index,
}
end Then in Change local focus
if GetMouseFocus then
focus = GetMouseFocus()
else
focus = GetMouseFoci()[1]
end Then in Change if InterfaceOptions_AddCategory then
group.category = InterfaceOptions_AddCategory(dock)
else
local category, layout = Settings.RegisterCanvasLayoutCategory(dock, dock.name);
Settings.RegisterAddOnCategory(category);
group.category = category
end |
Which software were you running?
Please describe the bug.
A clear and concise description of what the bug is.
Please describe how to reproduce it.
LUA error at login
Error Logs are Important!
Message: ...AddOns/Scrap/libs/Sushi-3.2/classes/groups/Popup.lua:20: attempt to index field 'Group' (a nil value)
Time: Wed Jul 24 22:08:25 2024
Count: 1
Stack: ...AddOns/Scrap/libs/Sushi-3.2/classes/groups/Popup.lua:20: attempt to index field 'Group' (a nil value)
The text was updated successfully, but these errors were encountered: