Interface/AddOns/AllTheThings/lib/Runner.lua:64: script ran too long
marshallward opened this issue · 5 comments
I've hit the dreaded "script ran too long" error again.
I know that the following output log is not much to go on, but if anyone could provide advice on how to get more useful feedback, please let me know. It's been a very long time since I tried to debug one of these.
Forgot to add, I am running the latest version from git (b77af7c).
Message: Interface/AddOns/AllTheThings/lib/Runner.lua:64: script ran too long
Time: Thu Dec 28 11:59:53 2023
Count: 1
Stack: Interface/AddOns/AllTheThings/lib/Runner.lua:64: script ran too long
[string "@Interface/AddOns/AllTheThings/lib/Runner.lua"]:64: in function <Interface/AddOns/AllTheThings/lib/Runner.lua:59>
Locals: ok = true
err = false
(*temporary) = false
(*temporary) = "Interface/AddOns/AllTheThings/lib/Runner.lua:35: script ran too long"
(*temporary) = true
(*temporary) = "script ran too long"
c_status = <function> defined =[C]:-1
StackCo = <no value>
SetStackCo = <function> defined @Interface/AddOns/AllTheThings/lib/Runner.lua:26
RunningStack = nil
pcall = <function> defined =[C]:-1
c_resume = <function> defined =[C]:-1
app = <table> {
CreatePetType = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:7571
SetDataMember = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:234
FunctionRunner = <table> {
}
BaseAutomaticHeaderWithQuest = <table> {
}
UniqueModeItemCollectionHelper = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:11692
IsAccountLinked = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:5357
BaseAzeriteEssence = <table> {
}
CreateHash = <function> defined @Interface/AddOns/AllTheThings/src/Classes/base.lua:41
CloneArray = <function> defined @Interface/AddOns/AllTheThings/src/base.lua:93
PrintDebug = <function> defined @Interface/AddOns/AllTheThings/src/base.lua:51
ToggleMainList = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:18984
GetIconFromProviders = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:816
PrintGroup = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:82
RecursiveFirstParentWithField = <function> defined @Interface/AddOns/AllTheThings/src/Modules/Filter.lua:621
FillSymlinkAsync = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:3413
CleanInheritingGroups = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:11262
Push = <function> defined @Interface/AddOns/AllTheThings/lib/Runner.lua:80
IsComplete = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:1716
SearchForField = <function> defined @Interface/AddOns/AllTheThings/src/Cache.lua:710
DelayLoadedObject = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:251
TryPopulateQuestRewards = <function> defined @Interface/AddOns/AllTheThings/src/Classes/Quests.lua:1763
PrintTable = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:99
CreateMount = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:10239
ShowPopupDialogWithEditBox = <function> defined @Interface/AddOns/AllTheThings/src/base.lua:327
UpdateWindows = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:12508
BaseTitle = <table> {
}
BaseUnit = <table> {
}
GroupMatchesParams = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:1858
SortDefaults = <table> {
}
InitDataCoroutine = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:20085
StartCoroutine = <function> defined @Interface/AddOns/AllTheThings/lib/Runner.lua:171
CreateMapWithStyle = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:10077
GameBuildVersion = 100200
events = <table> {
}
IsQuestSaved = <function> defined @Interface/AddOns/AllTheThings/src/Classes/Quests.lua:1069
WrapObject = <function> defined @Interface/AddOns/AllTheThings/src/Classes/base.lua:483
CreateFollower = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:8498
AlwaysShowUpdate = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:148
GetCachedSearchResults = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:3520
CreateFlightPath = <function> defined @Interface/AddOns/AllTheThings/AllTheThings.lua:8399
FillAchievementCriteriaAsync = <function> defined @Interface/AddOns/AllTheThi...
I'm going to close this particular issue as there's really not any information to help determine the root cause. Not a fault of OP but the way the code reports error information in this case.
I think I found the triggering event. I was inside Icecrown Citadel when this happened. When I left, it loaded normally.
Not sure why this would be relevant, but it seems fine outside of this instance.
There's still something funky in instances during certain time frames and basically any addon functionality will be flagged as running too long.
Though I do recall I made it through 5 time walking dungeons a couple weeks ago without this issue occurring... So there may be hope yet.