Grid2

Grid2

12M Downloads

Error when attempting to create a new theme (v2.9)

sdonegan opened this issue ยท 1 comments

commented

Receiving a Lua error when attempting to create a new theme on v2.9. Clicking the "Create New Theme" option then selecting a theme to serve asthe template throws the error. The dialog box opens, but the new theme is not created. The error occurs when Grid2 is the only addon loaded. The errorr seems to be related to the built-in Blizzard_StaticPopup code; not sure if they changed something regarding that API. Error text here:

`
6x Grid2Options/GridUtils.lua:632: attempt to index field 'editBox' (a nil value)
[Grid2Options/GridUtils.lua]:632: in function 'OnShow'
[Blizzard_StaticPopup/StaticPopup.lua]:549: in function 'StaticPopup_OnShow'
[Blizzard_StaticPopup_Game/GameDialog.lua]:666: in function <...faceBlizzard_StaticPopup_Game/GameDialog.lua:665>
[C]: in function 'Show'
[Blizzard_StaticPopup/StaticPopup.lua]:386: in function <Blizzard_StaticPopup/StaticPopup.lua:273>
[C]: in function 'StaticPopup_Show'
[Grid2Options/GridUtils.lua]:640: in function <Grid2Options/GridUtils.lua:630>
[Grid2Options/GridUtils.lua]:652: in function 'ShowEditDialog'
[Grid2Options/GridThemes.lua]:238: in function <Grid2Options/GridThemes.lua:237>
[C]: ?
[AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[C]: ?
[AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua]:300: in function 'Fire'
[AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua]:432: in function <...ns/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua:423>
[C]: ?
[AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua]:300: in function 'Fire'
[AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown-Items.lua]:351: in function <...s/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua:341>

Locals:
self = StaticPopup1 {
TopSpacer = FontString {
}
visibleButtons =

{
}
CoverFrame = Frame {
}
previousRegionKey = "ButtonContainer"
ProgressBarSpacer = Texture {
}
DarkOverlay = Frame {
}
timeleft = 0
ButtonContainer = Frame {
}
dialogInfo =
{
}
which = "GRID2OPTIONS_GENERAL_DIALOG"
hideOnEscape = 1
ItemFrame = Frame {
}
MoneyInputFrame = StaticPopup1MoneyInputFrame {
}
AlertIcon = Texture {
}
ProgressBarFill = Texture {
}
ExtraButton = StaticPopup1ExtraButton {
}
Buttons =
{
}
BG = Frame {
}
EditBox = StaticPopup1EditBox {
}
ProgressBarBorder = Texture {
}
Dropdown = Button {
}
SubText = FontString {
}
heightPadding = 16
Spinner = Frame {
}
numButtons = 2
MoneyFrame = StaticPopup1MoneyFrame {
}
Text = StaticPopup1Text {
}
CloseButton = StaticPopup1CloseButton {
}
Separator = Texture {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'editBox' (a nil value)"
textDefault = ""
`

commented

Fixed in version 2.9.1