LargerMacroIconSelection

LargerMacroIconSelection

230k Downloads

Error when serching/selecting

p3lim opened this issue ยท 2 comments

commented

Just installed the addon on retail, searched for an icon, then selected it and pressed "Okay", got this error:

1x ...dOns/LargerMacroIconSelection/Mainline/SearchBox.lua:54: attempt to index field 'activeSearch' (a nil value)
[string "@LargerMacroIconSelection/Mainline/SearchBox.lua"]:54: in function `OnSearchStarted'
[string "@LargerMacroIconSelection/Libs/LibAdvancedIconSelector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua"]:1157: in function `RestartSearch'
[string "@LargerMacroIconSelection/Libs/LibAdvancedIconSelector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua"]:1120: in function `func'
[string "@Ace3/AceTimer-3.0-17/AceTimer-3.0.lua"]:57: in function <Ace3/AceTimer-3.0/AceTimer-3.0.lua:50>

Locals:
(*temporary) = nil
(*temporary) = <table> {
}
(*temporary) = "attempt to index field 'activeSearch' (a nil value)"
self = Frame {
 0 = <userdata>
 searchIcons = <table> {
 }
 UpdatePopup = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:129
 ShowTooltip = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:90
 UpdateIconSelector = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:120
 GameTooltip_Hide = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:104
 SetIconTooltip = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:108
 SearchBox_OnTextChanged = <function> defined @LargerMacroIconSelection/Mainline/SearchBox.lua:89
 searchObject = <table> {
 }
 LoadFileData = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:17
 OnEvent = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:33
 InitSearch = <function> defined @LargerMacroIconSelection/Mainline/SearchBox.lua:49
 db = <table> {
 }
 Initialize = <function> defined @LargerMacroIconSelection/Mainline/LargerMacroIconSelection.lua:46
 ClearSearch = <function> defined @LargerMacroIconSelection/Mainline/SearchBox.lua:77
 loadedFrames = <table> {
 }
 SetSearchData = <function> defined @LargerMacroIconSelection/Mainline/SearchBox.lua:84
 CreateSearchBox = <function> defined @LargerMacroIconSelection/Mainline/SearchBox.lua:10
}
commented

Oh sorry p3lim, I didn't get a notification for this; set the project to watching again.

I suppose it was fixed some time
https://github.com/ketho-wow/LargerMacroIconSelection/blob/v1.8.2/Mainline/SearchBox.lua#L63

commented

Yeah can't reproduce it any more on 1.8.2