Skip to content
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

10.1 Error: Invalid addon name... #5

Closed
nancikennedy opened this issue May 5, 2023 · 2 comments
Closed

10.1 Error: Invalid addon name... #5

nancikennedy opened this issue May 5, 2023 · 2 comments

Comments

@nancikennedy
Copy link

Using v1.8.1, on Retail, I am getting an error when trying to use the search function.

8x ...lector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua:228: bad argument #1 to 'GetAddOnMetadata' (Invalid AddOn name AdvancedIconSelector-KeywordData. - Usage: local value = C_AddOns.GetAddOnMetadata(name, variable))
[string "=[C]"]: in function GetAddOnMetadata' [string "@LargerMacroIconSelection/Libs/LibAdvancedIconSelector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua"]:228: in function LoadKeywords'
[string "@LargerMacroIconSelection/Libs/LibAdvancedIconSelector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua"]:1130: 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) = "AdvancedIconSelector-KeywordData"
(*temporary) = "X-Revision"
(*temporary) = "Invalid AddOn name AdvancedIconSelector-KeywordData. - Usage: local value = C_AddOns.GetAddOnMetadata(name, variable)"

@SpareSimian
Copy link

Look for the lines in LargerMacroIconSelection/Libs/LibAdvancedIconSelector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua that call "GetAddOnInfo(5" and change the 5 to a 4. The enabled flag in the return values in that API was removed so the loadable flag is now the 4th, not the 5th. See here:

https://wowpedia.fandom.com/wiki/API_GetAddOnInfo

@Ketho Ketho closed this as completed in 126b95f Jun 17, 2023
@Ketho
Copy link
Member

Ketho commented Jun 17, 2023

Look for the lines in LargerMacroIconSelection/Libs/LibAdvancedIconSelector-1.0-LMIS/LibAdvancedIconSelector-1.0-LMIS.lua that call "GetAddOnInfo(5" and change the 5 to a 4. The enabled flag in the return values in that API was removed so the loadable flag is now the 4th, not the 5th.

Thanks for the CurseForge comment 🙂 I apparently didn't get notifications for this repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants