Questie

Questie

122M Downloads

LUA Error on Quest Turn In

Gogo1951 opened this issue ยท 5 comments

commented

Message: ...erface\AddOns\Questie\Modules\Quest\QuestieQuest.lua:370: bad argument #1 to 'mod' (number expected, got nil)
Time: Tue May 17 00:10:24 2022
Count: 2
Stack: ...erface\AddOns\Questie\Modules\Quest\QuestieQuest.lua:370: bad argument #1 to 'mod' (number expected, got nil)
[string "@interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:761: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "=[C]"]: in function mod' [string "@Interface\AddOns\Questie\Modules\Quest\QuestieQuest.lua"]:370: in function CompleteQuest'
[string "@interface\AddOns\Questie\Modules\Quest\QuestEventHandler.lua"]:162: in function `QuestTurnedIn'
[string "@interface\AddOns\Questie\Modules\Quest\QuestEventHandler.lua"]:338: in function <...e\AddOns\Questie\Modules\Quest\QuestEventHandler.lua:334>

Locals: errMsg = "...erface\AddOns\Questie\Modules\Quest\QuestieQuest.lua:370: bad argument #1 to 'mod' (number expected, got nil)"
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"
}

commented

Hey @Gogo1951 can you tell which quest it was you turned in?

commented

@Gogo1951 Also, does the error go away when you disable TradeSkillMaster addon?

commented

Nah @Muehe I think I already found the issue, but wasn't able to test this yet. TSM only adds a custom error handler so that's the reason it appears in the stack trace.

commented

The linked commit above fixed this rare error.

commented

Fixed in latest release.