Repository: WeakAuras/WeakAuras2

Issue #4911: Weakaura didn´t start
Created: 2024-03-16T16:33:03Z
Is there an existing issue for this?

 I have searched the existing open and closed issues.

Description
Hello,
I have the Addon Weakaura and he is activated but i can´t start that with /wa or /weakauras but some Weakaura that are inside is activ but not correct.
Please help me fast for use back that Addon so i have to need it
WeakAuras Version
Weakauras 10.2.5
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
EU
Tested with only WeakAuras

 Yes

Lua Error
Message: Interface/AddOns/WeakAuras/WeakAuras.lua:1282: script ran too long
Time: Sat Mar 16 17:21:51 2024
Count: 1
Stack: Interface/AddOns/WeakAuras/WeakAuras.lua:1282: script ran too long

Reproduction Steps
i tested all about only with weakaura and than he going
Last Good Version
WeakAuras 10.2.5
Screenshots

Export String
Message: Interface/AddOns/WeakAuras/WeakAuras.lua:1282: script ran too long
Time: Sat Mar 16 17:21:51 2024
Count: 1
Stack: Interface/AddOns/WeakAuras/WeakAuras.lua:1282: script ran too long

Duplicate issue #5172: 5.14 Error: script ran too long on first login
Created: 2024-06-20T22:21:48Z
Is there an existing issue for this?

 I have searched the existing open and closed issues.

Description
Going from 5.13.2 to 5.14 gives me a Script ran for too long and none of the weakauras show, typing /wa does nothing either, a quick /reloadUI fixes it and the error don't come back.
seems to be only the first time after the update, my weakauras.lua is rather big (33mb) attached below
thanks in advance
WeakAuras Version
WeakAuras 5.14
World of Warcraft Flavor
Cataclysm Classic
World of Warcraft Region
US/NA
Tested with only WeakAuras
I got this issue with only WeakAuras enabled
Lua Error
1x WeakAuras/WeakAuras.lua:1299: script ran too long
[string "@WeakAuras/WeakAuras.lua"]:1299: in function `Login'
[string "@WeakAuras/WeakAuras.lua"]:1386: in function <WeakAuras/WeakAuras.lua:1334>

Locals:
initialTime = 15000
takeNewSnapshots = true
loginThread = <no value>
startTime = 161794208.926200
finishTime = 161805358.110600
ok = true
msg = nil
(*temporary) = true
(*temporary) = nil
(*temporary) = true
(*temporary) = true
(*temporary) = nil
(*temporary) = "script ran too long"
Private = <table> {
 HandleGlowAction = <function> defined @WeakAuras/WeakAuras.lua:3616
 frame_strata_types = <table> {
 }
 DisplayToString = <function> defined @WeakAuras/Transmission.lua:357
 combat_event_type = <table> {
 }
 regions = <table> {
 }
 frameLevels = <table> {
 }
 CheckItemSlotCooldowns = <function> defined @WeakAuras/GenericTrigger.lua:3166
 InitializeEncounterAndZoneLists = <function> defined @WeakAuras/Types_Cata.lua:13
 IsEnvironmentInitialized = <function> defined @WeakAuras/AuraEnvironment.lua:200
 form_types = <table> {
 }
 CleanArchive = <function> defined @WeakAuras/History.lua:25
 UpdateProgressFrom = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:567
 RunConditions = <function> defined @WeakAuras/Conditions.lua:840
 tooltip_count = <table> {
 }
 SmoothStatusBarMixin = <table> {
 }
 pet_spec_types = <table> {
 }
 regionOptions = <table> {
 }
 get_zoneId_list = <function> defined @WeakAuras/Types_Cata.lua:75
 checkForSingleLoadCondition = <function> defined @WeakAuras/Prototypes.lua:1224
 author_option_classes = <table> {
 }
 grid_types = <table> {
 }
 non_transmissable_fields = <table> {
 }
 absorb_modes = <table> {
 }
 combatlog_spell_school_types_for_ui = <table> {
 }
 miss_types = <table> {
 }
 CancelDelayedTrigger = <function> defined @WeakAuras/GenericTrigger.lua:944
 centered_types_h = <table> {
 }
 ensurePRDFrame = <function> defined @WeakAuras/WeakAuras.lua:5434
 talent_types = <table> {
 }
 LoadFunction = <function> defined @WeakAuras/AuraEnvironment.lua:652
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 player_target_events = <table> {
 }
 FinishLoadUnload = <function> defined @WeakAuras/WeakAuras.lua:2064
 subRegionTypes = <table> {
 }
 UnregisterAllEveryFrameUpdate = <function> defined @WeakAuras/GenericTrigger.lua:1884
 array_entry_name_types = <table> {
 }
 eclipse_direction_types = <table> {
 }
 StringToTable = <function> defined @WeakAuras/Transmission.lua:301
 RegisterLoadEvents = <function> defined @WeakAuras/WeakAuras.lua:1910
 GetReputationsSorted = <function> defined @WeakAuras/Types.lua:1712
 blend_types = <table> {
 }
 text_automatic_width = <table> {
 }
 EnforceSubregionExists = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:1125
 CheckSpellCooldown = <function> defined @WeakAuras/GenericTrigger.lua:3022
 custom_trigger_types = <table> {
 }
 group_types = <table> {
 }
 subRegionOptions = <table> {
 }
 GetProgressValueConstant = <function> defined @WeakAuras/WeakAuras.lua:3927
 text_rotate_types = <table> {
 }
 spec_types = <table> {
 }
 anim_ease_types = <table> {
 }
 item_slot_types = <table> {
 }
 multiUnitUnits = <table> {
 }
 anim_color_types = <table> {
 }
 loaded = <table> {
 }
 Convert = <function> defined @WeakAuras/WeakAuras.lua:2281
 sound_channel_types = <table> {
 }
 CheckCooldownReady = <function> defined @WeakAuras/GenericTrigger.lua:3224
 event_prototypes = <table> {
 }
 NeedToRepairDatabase = <function> defined @WeakAuras/WeakAuras.lua:2358
 AtlasList = <table> {
 }
 RegisterRegionType = <function> defined @WeakAuras/WeakAuras.lua:413
 classification_types = <table> {
 }
 GetCurrencyListSize = <function> defined =[C]:-1
 unit_types_bufftrigger_2 = <table> {
 }
 IsOptionsProcessingPaused = <function> defined @WeakAuras/WeakAuras.lua:1586
 ValueFromPath = <function> defined @WeakA

Reproduction Steps

Update addon
Login to the game
???
get error

Last Good Version
Weakauras 5.13.2
Screenshots
Saved Variables before updating.
WeakAuras.zip
Export String
No response
Bisector Report
No response

Closing comment (2024-06-21T04:58:35Z): This is a duplicate of #4911, and the same advice applies - consider, uh, not having so many auras.
I'll see if i can make WeakAuras more resilient to denial of service attacks from its own users, but our ability to handle infinite auras is ultimately limited.