Ask Mr Robot Retail - Right Click Lua Error

Ask Mr Robot Retail - Right Click Lua Error

Hello, when I right click to change spec, I receive this error. What should I do?

Message: Interface/AddOns/AskMrRobot/Gear.lua:1534: attempt to index field ‘?’ (a nil value)
Time: Thu Nov 30 03:26:51 2023
Count: 1
Stack: Interface/AddOns/AskMrRobot/Gear.lua:1534: attempt to index field ‘?’ (a nil value)
[string “@Interface/AddOns/AskMrRobot/Gear.lua”]:1534: in function EquipGearSet' [string "@Interface/AddOns/AskMrRobot/Core.lua"]:29: in function OnClick’
[string “@Interface/AddOns/AskMrRobot/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua”]:144: in function <…dOns/AskMrRobot/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:142>

Locals: self =

{
UpdateMinimap = defined @Interface/AddOns/AskMrRobot/Core.lua:320
StopLogging = defined @Interface/AddOns/AskMrRobot/CombatLog.lua:441
SlashCommand = defined @Interface/AddOns/AskMrRobot/Core.lua:287
modules =
{
}
UnregisterComm = defined @Interface/AddOns/AskMrRobot/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:179
HideShopWindow = defined @Interface/AddOns/AskMrRobot/Shopping.lua:30
HideCover = defined @Interface/AddOns/AskMrRobot/ui/Ui.lua:280
CreateItemLink = defined @Interface/AddOns/AskMrRobot/Constants.lua:139
SpecIds =
{
}
ReleaseTabLog = defined @Interface/AddOns/AskMrRobot/CombatLog.lua:216
SetDefaultModulePrototype = defined @Interface/AddOns/AskMrRobot/Libs/AceAddon-3.0/AceAddon-3.0.lua:440
ShowCover = defined @Interface/AddOns/AskMrRobot/ui/Ui.lua:262
PrintVersions = defined @Interface/AddOns/AskMrRobot/Core.lua:400
IsEnabled = defined @Interface/AddOns/AskMrRobot/Libs/AceAddon-3.0/AceAddon-3.0.lua:482
ProfessionIds =
{
}
SendAmrCommMessage = defined @Interface/AddOns/AskMrRobot/Core.lua:626
RefreshJunkUi = defined @Interface/AddOns/AskMrRobot/Junk.lua:571
RegisterMessage = defined @Interface/AddOns/AskMrRobot/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:116
UnregisterMessage = defined @Interface/AddOns/AskMrRobot/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:179
ChatPrefix = “_AMRS”
IsSupportedInstanceId = defined @Interface/AddOns/AskMrRobot/AskMrRobot-Serializer/AskMrRobot-Serializer.lua:338
SetItemTooltip = defined @Interface/AddOns/AskMrRobot/ui/Ui.lua:393
ReleaseTabGear = defined @Interface/AddOns/AskMrRobot/Gear.lua:617
CreateFont = defined @Interface/AddOns/AskMrRobot/ui/Ui.lua:84
SendCommMessage = defined @Interface/AddOns/AskMrRobot/Libs/AceComm-3.0/AceComm-3.0.lua:87
db =
{
}
UnregisterAllComm = defined @Interface/AddOns/AskMrRobot/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:200
SetEnabledState = defined @Interface/AddOns/AskMrRobot/Libs/AceAddon-3.0/AceAddon-3.0.lua:455
ShowAlert = defined @Interface/AddOns/AskMrRobot/ui/Ui.lua:290
dump = defined @Interface/AddOns/AskMrRobot/Core.lua:717
GetActiveSetupLabel = defined @Interface/AddOns/AskMrRobot/Gear.lua:518
ReleaseTabExport = defined @Interface/AddOns/AskMrRobot/Export.lua:103
InitializeGear = defined @Interface/AddOns/AskMrRobot/Gear.lua:1559
spairs = defined @Interface/AddOns/AskMrRobot/Core.lua:474
SetSpellTooltip = defined @Interface/AddOns/AskMrRobot/ui/Ui.lua:407
OnInitialize = defined @Interface/AddOns/AskMrRobot/Core.lua:169
UnregisterAllEvents = defined @Interface/AddOns/AskMrRobot/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:200
InitializeCombatLog = defined @Interface/AddOns/AskMrRobot/CombatLog.lua:638
MIN_ADDON_VERSION = 114
Deserialize = defined @Interface/AddOns/AskMrRobot/Libs/AceSerializer-3.0/AceSerializer-3.0.lua:246
GetName = defined @Interface/AddOns/AskMrRobot/Libs/AceAddon-3.0/AceAddon-3.0.lua:310
SpecIcons =
{
}
name = “AskMrRobot”
MIN_IMPORT_VERSION = 114
Contains = defined @Inte

Do you still get the error if you disable your other addons? Lots of times errors like this show up because our addon loads first (alphabetically) and the error is actually coming from a different addon that uses a shared library.

Have you perhaps not imported any gear setups for this character yet? I can try to put in a check for this error, but I believe if you use the “Send to Addon” feature after optimizing with Best in Bags it should resolve this issue.

I deleted whole game and re-installed, and only addon I i installed after that was ask mr robot

Have you tried my suggestion? I believe this error would only happen if your character had no gear setups imported into the addon.