Noshei / GatheringTracker

Addon for tracking gathered items
GNU General Public License v3.0
1 stars 0 forks source link

nil value issues #4

Closed Incendiaeternus closed 3 years ago

Incendiaeternus commented 3 years ago

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 "@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" }

Noshei commented 3 years ago

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.

Incendiaeternus commented 3 years ago

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 "@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 "@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:

Noshei commented 3 years ago

are you using ElvUI? and if so, what version?

Incendiaeternus commented 3 years ago

ElvUI 12.16 Shadow and Light 4.18

Noshei commented 3 years ago

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.

Noshei commented 3 years ago

actually, looking closer at that last error, what is that DataStore addon?

Noshei commented 3 years ago

I'm guessing it is related to Altoholic.

Incendiaeternus commented 3 years ago

DataStore is Altoholic database I believe

Noshei commented 3 years ago

do you know what version of altaholic you have?

Incendiaeternus commented 3 years ago

Altoholic-Retail (teelo's Fork) Altoholic-9.0.2-009.zip

Noshei commented 3 years ago

Can you post a list of all of your addons.

Noshei commented 3 years ago

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.

Incendiaeternus commented 3 years ago

No lua errors and showing up fine now.

Noshei commented 3 years ago

great to hear. Resolved with 1.1.9.