CraftSim

CraftSim

2M Downloads

Lua Error Crafting Results Export JSON

DrGrixel opened this issue ยท 1 comments

commented

Hi there, i might got a little problem.
Soon after i did some Prospecting i went to the CraftSim Crafting Results and saw there is a Button "Export JSON" . After i press it, my game froze a bit and i got a cute little LUA Error. Just like this :

Message: ...terface/AddOns/CraftSim/Data/Classes/JSONBuilder.lua:74: script ran too long
Time: Tue Jun 13 11:28:38 2023
Count: 1
Stack: ...terface/AddOns/CraftSim/Data/Classes/JSONBuilder.lua:74: script ran too long
[string "=[C]"]: ?
[string "@Interface/AddOns/CraftSim/Data/Classes/JSONBuilder.lua"]:74: in function Add' [string "@Interface/AddOns/CraftSim/Data/Classes/CraftResultItem.lua"]:35: in function GetJSON'
[string "@Interface/AddOns/CraftSim/Data/Classes/JSONBuilder.lua"]:42: in function AddList' [string "@Interface/AddOns/CraftSim/Data/Classes/CraftResult.lua"]:121: in function GetJSON'
[string "@Interface/AddOns/CraftSim/Data/Classes/JSONBuilder.lua"]:42: in function AddList' [string "@Interface/AddOns/CraftSim/Data/Classes/CraftRecipeData.lua"]:104: in function GetJSON'
[string "@Interface/AddOns/CraftSim/Data/Classes/JSONBuilder.lua"]:42: in function AddList' [string "@Interface/AddOns/CraftSim/Data/Classes/CraftSessionData.lua"]:109: in function <...ce/AddOns/CraftSim/Data/Classes/CraftSessionData.lua:101> [string "=(tail call)"]: ? [string "@Interface/AddOns/CraftSim/Modules/CraftResults/Frames.lua"]:47: in function clickCallback'
[string "@Interface/AddOns/CraftSim/Libs/GGUI-1.0/GGUI.lua"]:1107: in function <Interface/AddOns/CraftSim/Libs/GGUI-1.0/GGUI.lua:1105>

Locals: (*temporary) = defined =[C]:-1

Anny tipps on how i can fix it ?

commented

This happens currently when you were craft a lot before exporting due to the sheer amount of data accumulating!
Currently there is no planned fix for this but its on my todo :)