nil value issues
Incendiaeternus opened this issue ยท 14 comments
Installed and trying to use this, but keep getting the lua error and the addon not showing up.
Message: ...terface\AddOns\GatheringTracker\GatheringTracker.lua:509: attempt to index field 'baseFrame' (a nil value)
Time: Fri Dec 11 22:18:14 2020
Count: 19
Stack: ...terface\AddOns\GatheringTracker\GatheringTracker.lua:509: attempt to index field 'baseFrame' (a nil value)
[string "@interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:758: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "@interface\AddOns\GatheringTracker\GatheringTracker.lua"]:509: in function `?'
[string "@interface\AddOns\GatheringTracker\GatheringTracker.lua"]:139: in function <...terface\AddOns\GatheringTracker\GatheringTracker.lua:134>
Locals: errMsg = "...terface\AddOns\GatheringTracker\GatheringTracker.lua:509: attempt to index field 'baseFrame' (a nil value)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private =
globalNameTranslation =
}
FormatErrorMessageSection = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
ErrorHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
origErrorHandler = defined @interface\SharedXML\SharedBasicControls.lua:355
hitInternalError = false
CreateErrorFrame = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
num = 0
SanitizeString = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
AddonBlockedHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
GetStackLevelInfo = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
ParseLocals = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
ignoreErrors = false
errorReports =
}
IsTSMAddon = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
localLinesTemp =
}
GetStackInfo = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES =
1 = "TradeSkillMaster_Accounting"
2 = "TradeSkillMaster_AuctionDB"
3 = "TradeSkillMaster_Auctioning"
4 = "TradeSkillMaster_Crafting"
5 = "TradeSkillMaster_Destroying"
6 = "TradeSkillMaster_Mailing"
7 = "TradeSkillMaster_Shopping"
8 = "TradeSkillMaster_Vendoring"
9 = "TradeSkillMaster_Warehousing"
}
thats a really weird error. Are there by chance any other errors as well, because this one by itself doesn't give me much information.
This is the only other lua - only two show up and this one had to reload to populate.
Message: ...terface\AddOns\GatheringTracker\GatheringTracker.lua:211: attempt to index field 'backdrop' (a nil value)
Time: Fri Dec 11 22:48:48 2020
Count: 1
Stack: ...terface\AddOns\GatheringTracker\GatheringTracker.lua:211: attempt to index field 'backdrop' (a nil value)
[string "=(tail call)"]: ?
[string "@interface\AddOns\GatheringTracker\GatheringTracker.lua"]:211: in function CreateBaseFrame' [string "@Interface\AddOns\GatheringTracker\Config.lua"]:610: in function <Interface\AddOns\GatheringTracker\Config.lua:552> [string "=[C]"]: ? [string "@Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:65> [string "@Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua"]:498: in function
InitializeAddon'
[string "@interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua"]:623: in function <...\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:615>
Locals:
can you post what other addons you have. I suspect that you have an addon with an old version of a specific library and that is causing issues.
I might have a fix, I'm taking a stab in the dark just based off of that second error. I went ahead and release 1.1.9, it should be live on curse soon, or you can get it here on github now.