[BUG] Script ran for too long error
melinerunen opened this issue · 3 comments
Hi! I encoutered this error when i was doing the weekly MC run. I first noticed a freeze times when looting the mobs so I reloaded the interface and now im getting this error:
1x AllTheThings\AllTheThings-SL-2.3.0.lua:4030: script ran too long
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4030: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:3933: in function <AllTheThings\AllTheThings.lua:3931>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4035: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:3933: in function <AllTheThings\AllTheThings.lua:3931>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4035: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:3933: in function <AllTheThings\AllTheThings.lua:3931>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4035: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:3933: in function <AllTheThings\AllTheThings.lua:3931>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4035: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:3933: in function <AllTheThings\AllTheThings.lua:3931>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4035: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:3933: in function <AllTheThings\AllTheThings.lua:3931>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:4035: in function <AllTheThings\AllTheThings.lua:4027>
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:13291: in function `GetDataCache'
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:17669: in function `?'
[string "@AllTheThings\AllTheThings-SL-2.3.0.lua"]:86: in function <AllTheThings\AllTheThings.lua:83>
[string "@AllTheThings\src\base.lua"]:34: in function <AllTheThings\src\base.lua:33>
Locals:
group = <table> {
isWeekly = 1
r = 2
parent = <table> {
}
coords = <table> {
}
providers = <table> {
}
questID = 54391
}
keys = <table> {
1 = "isWeekly"
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
isWeekly = 1
r = 2
parent = <table> {
}
coords = <table> {
}
providers = <table> {
}
questID = 54391
}
(for control) = "isWeekly"
(*temporary) = "isWeekly"
(*temporary) = 1
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
1 = "isWeekly"
}
(*temporary) = "isWeekly"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "script ran too long"
_cache = <function> defined @AllTheThings\AllTheThings.lua:3908
rawget = <function> defined =[C]:-1
fieldConverters = <table> {
azeriteEssenceID = <function> defined @AllTheThings\AllTheThings.lua:3845
c = <function> defined @AllTheThings\AllTheThings.lua:4011
cost = <function> defined @AllTheThings\AllTheThings.lua:3996
altAchID = <function> defined @AllTheThings\AllTheThings.lua:3842
titleID = <function> defined @AllTheThings\AllTheThings.lua:3923
encounterID = <function> defined @AllTheThings\AllTheThings.lua:3856
races = <function> defined @AllTheThings\AllTheThings.lua:4021
requireSkill = <function> defined @AllTheThings\AllTheThings.lua:3911
s = <function> defined @AllTheThings\AllTheThings.lua:3914
r = <function> defined @AllTheThings\AllTheThings.lua:4016
professionID = <function> defined @AllTheThings\AllTheThings.lua:3905
npcID = <function> defined @AllTheThings\AllTheThings.lua:3891
creatureID = <function> defined @AllTheThings\AllTheThings.lua:3848
spellID = <function> defined @AllTheThings\AllTheThings.lua:3920
mapID = <function> defined @AllTheThings\AllTheThings.lua:3888
objectID = <function> defined @AllTheThings\AllTheThings.lua:3896
qgs = <function> defined @AllTheThings\AllTheThings.lua:3942
maps = <function> defined @AllTheThings\AllTheThings.lua:3974
providers = <function> defined @AllTheThings\AllTheThings.lua:3954
flightPathID = <function> defined @AllTheThings\AllTheThings.lua:3862
altQuests = <function> defined @AllTheThings\AllTheThings.lua:3948
toyID = <function> defined @AllTheThings\AllTheThings.lua:3926
speciesID = <function> defined @AllTheThings\AllTheThings.lua:3917
g = <function> defined @AllTheThings\AllTheThings.lua:3931
crs = <function> defined @AllTheThings\AllTheThings.lua:3936
currencyID = <function> defined @AllTheThings\AllTheThings.lua:3853
instanceID = <function> defined @AllTheThings\AllTheThings.lua:3877
achievementID = <function> defined @AllTheThings\AllTheThings.lua:3836
itemID = <function> defined @AllTheThings\AllTheThings.lua:3880
followerID = <function> defined @AllTheThings\AllTheThings.lua:3865
questID = <function> defined @AllTheThings\AllTheThings.lua:3908
headerID = <function> defined @AllTheThings\AllTheThings.lua:3868
factionID = <function> defined @AllTheThings\AllTheThings.lua:3859
achID = <function> defined @AllTheThings\AllTheThings.lua:3839
}
Also im getting a lot of missin ATT. It started with some Covenant stuff and now i'm missing a lot of MC drops.
If you need something else, please feel free to ask :D
Hmmm so it looks like it timed out while caching all the data for ATT. So anything that references the cache will not find a result (i.e. all the Shared Sources in tooltips showing Missing).
Were you in combat or anything when you reloaded to cause the hang? Does it happen every reload now or was it just a one-time thing that it took too long?
Also the Bindings will continue to show until you actually complete the quest they are used for since we don't have any inventory-checking logic at this time.
This issue appeared after an /reload. It also might be that I had a power outagge and that session was after getting the power back. Also I did a CPU profiling wiht AddonUsage and found that the addon AchievIt, was consuming a lot of CPU. I disabled it and then everything ran well.
Now I've both addons back on and it seems to be no issue besides the Invalid Blizz id's from the Venthyr's Renow Quartermaster vendor:
Which this looks like to be a different issue and the original seems to be non-reproducible.
Is there a way to reset the cache and see if this entries shows up again?
On the other side you may close the ticket unless you want to test something else :D
Thanks!
ps I did the Thunderfury's quest line and the entries are marked as done now.
ps 2: I love how your profile pic matches the comment bubble from github :P
To reset your ATT cache you can rename (or delete if you really want to) the AllTheThings.lua
file within the SavedVariables directory structure. This is where addons save all their data from one session to the next.
Yea we can't do anything about the invalid Blizzard data. Basically the game says "these are the same appearance" and then doesn't actually have any items for those IDs. It used to just say "MISSING IN ATT" but now we differentiate so that people don't ask us about things that is Blizzard's issue :P