BetterAddonList

BetterAddonList

177k Downloads

getting errors after 10.2.7

born2slip opened this issue ยท 1 comments

commented

good day
I get errors like this when I try to create a new set or overwrite an existing one

1x BetterAddonList/libs/LibDialog-1.0-8.lua:833: attempt to get length of field 'StaticPopup_DisplayedFrames' (a nil value)
[string "@BetterAddonList/libs/LibDialog-1.0-8.lua"]:833: in function `Spawn'
[string "@BetterAddonList/BetterAddonList.lua"]:426: in function `func'
[string "@Blizzard_SharedXML/Mainline/UIDropDownMenu.lua"]:1019: in function `UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:133_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:133_OnClick"]:1>

Locals:
self = <table> {
 active_dialogs = <table> {
 }
 active_buttons = <table> {
 }
 Register = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:713
 delegate_queue = <table> {
 }
 active_editboxes = <table> {
 }
 Dismiss = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:876
 checkbox_heap = <table> {
 }
 dialog_heap = <table> {
 }
 queued_delegates = <table> {
 }
 ActiveDialog = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:858
 hooked_set_up_position = true
 Spawn = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:749
 delegates = <table> {
 }
 button_heap = <table> {
 }
 hooked_escape_pressed = true
 active_checkboxes = <table> {
 }
 active_icons = <table> {
 }
 editbox_heap = <table> {
 }
 icon_heap = <table> {
 }
 hooked_onhide = true
}
reference = "BETTER_ADDONLIST_NEWSET"
data = nil
delegate = <table> {
 on_show = <function> defined @BetterAddonList/BetterAddonList.lua:296
 show_while_dead = true
 buttons = <table> {
 }
 hide_on_escape = true
 text = "Enter the name for the new set"
 no_close_button = true
 editboxes = <table> {
 }
}
cancel_list = nil
dialog = LibDialog-1.0_Dialog1 {
 BottomLeftCorner = Texture {
 }
 editboxes = <table> {
 }
 close_button = Button {
 }
 backdropInfo = <table> {
 }
 TopRightCorner = Texture {
 }
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 buttons = <table> {
 }
 TopEdge = Texture {
 }
 text = FontString {
 }
 0 = <userdata>
 BottomEdge = Texture {
 }
 delegate = <table> {
 }
 BottomRightCorner = Texture {
 }
 is_new = true
 LeftEdge = Texture {
 }
 Center = Texture {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = LibDialog-1.0_Dialog1 {
 BottomLeftCorner = Texture {
 }
 editboxes = <table> {
 }
 close_button = Button {
 }
 backdropInfo = <table> {
 }
 TopRightCorner = Texture {
 }
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 buttons = <table> {
 }
 TopEdge = Texture {
 }
 text = FontString {
 }
 0 = <userdata>
 BottomEdge = Texture {
 }
 delegate = <table> {
 }
 BottomRightCorner = Texture {
 }
 is_new = true
 LeftEdge = Texture {
 }
 Center = Texture {
 }
}
(*temporary) = 1
(*temporary) = nil
(*temporary) = 1
(*temporary) = 1
(*temporary) = 1
(*temporary) = LibDialog-1.0_EditBox1 {
 0 = <userdata>
 mid = LibDialog-1.0_EditBox1Mid {
 }
 label = LibDialog-1.0_EditBox1Label {
 }
 right = LibDialog-1.0_EditBox1Right {
 }
 left = LibDialog-1.0_EditBox1Left {
 }
 addHighlightedText = true
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = LibDialog-1.0_EditBox1 {
 0 = <userdata>
 mid = LibDialog-1.0_EditBox1Mid {
 }
 label = LibDialog-1.0_EditBox1Label {
 }
 right = LibDialog-1.0_EditBox1Right {
 }
 left = LibDialog-1.0_EditBox1Left {
 }
 addHighlightedText = true
}
(*temporary) = "TOP"
(*temporary) = FontString {
 0 = <userdata>
}
(*temporary) = "attempt to get length of field 'StaticPopup_DisplayedFrames' (a nil value)"
_FindDelegate = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:724
active_dialogs = <table> {
}
delegates = <table> {
 BETTER_ADDONLIST_NEWSET = <table> {
 }
 BETTER_ADDONLIST_DELETESET = <table> {
 }
 BETTER_ADDONLIST_ERROR_NAME = <table> {
 }
 BETTER_ADDONLIST_RENAMESET = <table> {
 }
 BETTER_ADDONLIST_SAVESET = <table> {
 }
}
error = <function> defined =[C]:-1
_BuildDialog = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:553
_Dialog_OnShow = <function> defined @BetterAddonList/libs/LibDialog-1.0.lua:229

commented

Thanks, I included an updated LibDialog-1.0 in 7226e05 to fix this