[CF 1643] Script ran too long errors ever since 8.1 release
tmw-issue-import opened this issue ยท 3 comments
I'm a very heavy user of tellmewhen, maybe somewhere around 220 groups, basically a custom pvp ui. It's broken after the patch though for me. I'll go and donate $50 right now for it being such a good addon that I've used for so long
error #1:
Message: [string "safecall Dispatcher[1]"]:9: script ran too long
Time: Sat Jan 5 15:04:36 2019
Count: 1
Stack: [string "safecall Dispatcher[1]"]:9: script ran too long
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
Interface\AddOns\TellMeWhen\TellMeWhen.lua:2678: in function `UpdateNormally'
Interface\AddOns\TellMeWhen\TellMeWhen.lua:2807: in function `Update'
Interface\AddOns\TellMeWhen\TellMeWhen.lua:1156: in function `?'
...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:119: in function <...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[C]: ?
...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:29: in function <...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: in function `Fire'
...\AddOns\TellMeWhen\Lib\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\AddOns\TellMeWhen\Lib\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals: <none>
error #2:
Message: ...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:30: script ran too long
Time: Sat Jan 5 15:04:36 2019
Count: 1
Stack: ...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:30: script ran too long
...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:30: in function <...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
...When\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: in function `Fire'
...\AddOns\TellMeWhen\Lib\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\AddOns\TellMeWhen\Lib\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals: handlers = <table> {
}
index = TMW {
0 = <userdata>
OnGCD = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:335
Vararg = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:987
SlashCommand = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:2936
modules = <table> {
}
CancelTimer = <function> defined @interface\AddOns\TellMeWhen\Lib\AceTimer-3.0\AceTimer-3.0.lua:147
EquivFullNameLookup = <table> {
}
GroupsToUpdate = <table> {
}
GetBaseUpgrades = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:1521
GCDSpell = 53
DeserializeData = <function> defined @interface\AddOns\TellMeWhen\Options\TellMeWhen_Options.lua:3815
get = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:1305
InNLengthTable = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:1089
Group_HasIconData = <function> defined @interface\AddOns\TellMeWhen\Options\GroupConfig.lua:503
InIconSettings = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:877
GetSpells = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Spells\Spells.lua:346
TestDogTagString = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Common\DogTags\config.lua:462
IconDragger = <table> {
}
SetDefaultModulePrototype = <function> defined @interface\AddOns\TellMeWhen\Lib\AceAddon-3.0\AceAddon-3.0.lua:409
TryGetNPCName = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:1490
Classes = <table> {
}
DS = <table> {
}
TT_Parse = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:1274
SUG = <table> {
}
IsEnabled = <function> defined @interface\AddOns\TellMeWhen\Lib\AceAddon-3.0\AceAddon-3.0.lua:451
HELP = <table> {
}
GetIconMenuText = <function> defined @interface\AddOns\TellMeWhen\Options\IconConfig.lua:160
SplitNames = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:441
HSVToRGB = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:620
GuessIconTexture = <function> defined @interface\AddOns\TellMeWhen\Options\IconConfig.lua:183
Group_Add = <function> defined @interface\AddOns\TellMeWhen\Options\GroupConfig.lua:433
Backupdb = <table> {
}
SerializeData = <function> defined @interface\AddOns\TellMeWhen\Options\TellMeWhen_Options.lua:3742
UnregisterMessage = <function> defined @interface\AddOns\TellMeWhen\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
Update = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:2795
AnimateHeightChange = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:1361
tContains = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:703
DD = <table> {
}
toSeconds = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:389
SendCommMessage = <function> defined @interface\AddOns\TellMeWhen\Lib\AceComm-3.0\AceComm-3.0.lua:87
Group_Defaults = <table> {
}
DROPDOWNMENU = <table> {
}
GetParser = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:1455
GetDataOwner = <function> defined @interface\AddOns\TellMeWhen\TellMeWhen.lua:1338
SetEnabledState = <function> defined @interface\AddOns\TellMeWhen\Lib\AceAddon-3.0\AceAddon-3.0.lua:424
CopyWithMetatable = <function> defined @interface\AddOns\TellMeWhen\Components\Core\Utils.lua:819
ValidateType = <fun
Posted by CurseForge user dannycarrywow | Imported from CurseForge issue #1643 | Raw
Great! I made a change in that version based on your report that I hoped would fix this. Glad to hear that it did.
Posted by CurseForge user Cybeloras
Thank you for the donation!
Unfortunately, its really difficult to diagnose script ran too long errors. A few questions:
- What version of TMW are you using?
- Do they appear consistently at any particular time? E.g. when zoning into an arena, while in combat in a battleground, etc? Any patterns you can identify will be helpful.
Posted by CurseForge user Cybeloras
I had been using 8.5.7, and it always happened when I logged in and only half my groups would load and some icons wouldn't work. BUT I just tried the new alpha version 8.5.7-7-g43f279f5-alpha (I hadn't tried any alpha version before), and my problems seem to be fixed. Everything is loading and no errors are being thrown now
Posted by CurseForge user dannycarrywow