WeakAuras

WeakAuras

206M Downloads

Lua Error after Login

Baratheus opened this issue ยท 2 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

As I login I get a Lua Error and the addon stops working. Can't find the problematic Aura

WeakAuras Version

5.10.1

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

  • Yes

Lua Error

6x WeakAuras/WeakAuras.lua:2692: attempt to get length of field 'values' (a nil value)
[string "@WeakAuras/WeakAuras.lua"]:2692: in function <WeakAuras/WeakAuras.lua:2597>
[string "@WeakAuras/WeakAuras.lua"]:2647: in function <WeakAuras/WeakAuras.lua:2597>
[string "@WeakAuras/WeakAuras.lua"]:2919: in function `PreAdd'
[string "@WeakAuras/WeakAuras.lua"]:2546: in function `AddMany'
[string "@WeakAuras/WeakAuras.lua"]:1189: in function <WeakAuras/WeakAuras.lua:1160>

[string "@WeakAuras/WeakAuras.lua"]:1314: in function <WeakAuras/WeakAuras.lua:1263>

Locals:
self = Frame {
 0 = <userdata>
}
event = "PLAYER_LOGIN"
addon = nil
dbIsValid = true
takeNewSnapshots = nil
ADDON_NAME = "WeakAuras"
db = <table> {
 editor_tab_spaces = 4
 displays = <table> {
 }
 mousePointerFrame = <table> {
 }
 minimap = <table> {
 }
 historyCutoff = 730
 dbVersion = 70
 clearOldHistory = 30
 editor_theme = "Standard"
 dynamicIconCache = <table> {
 }
 editor_font_size = 12
 talent_cache = <table> {
 }
 RealTimeProfilingWindow = <table> {
 }
 editor_bracket_matching = true
 lastUpgrade = 1700030910
 migrationCutoff = 730
 registered = <table> {
 }
 lastArchiveClear = 1580839056
 login_squelch_time = 10
 personalRessourceDisplayFrame = <table> {
 }
}
Private = <table> {
 HandleGlowAction = <function> defined @WeakAuras/WeakAuras.lua:3553
 frame_strata_types = <table> {
 }
 DisplayToString = <function> defined @WeakAuras/Transmission.lua:351
 combat_event_type = <table> {
 }
 regions = <table> {
 }
 frameLevels = <table> {
 }
 CheckItemSlotCooldowns = <function> defined @WeakAuras/GenericTrigger.lua:2943
 InitializeEncounterAndZoneLists = <function> defined @WeakAuras/Types_Retail.lua:10
 IsEnvironmentInitialized = <function> defined @WeakAuras/AuraEnvironment.lua:185
 form_types = <table> {
 }
 CleanArchive = <function> defined @WeakAuras/History.lua:22
 RunConditions = <function> defined @WeakAuras/Conditions.lua:775
 tooltip_count = <table> {
 }
 SmoothStatusBarMixin = <table> {
 }
 pet_spec_types = <table> {
 }
 regionOptions = <table> {
 }
 get_zoneId_list = <function> defined @WeakAuras/Types_Retail.lua:72
 checkForSingleLoadCondition = <function> defined @WeakAuras/Prototypes.lua:1148
 author_option_classes = <table> {
 }
 grid_types = <table> {
 }
 non_transmissable_fields = <table> {
 }
 absorb_modes = <table> {
 }
 combatlog_spell_school_types_for_ui = <table> {
 }
 GetDiscoveredCurrencies = <function> defined @WeakAuras/Types.lua:1582
 CancelDelayedTrigger = <function> defined @WeakAuras/GenericTrigger.lua:910
 centered_types_h = <table> {
 }
 ensurePRDFrame = <function> defined @WeakAuras/WeakAuras.lua:5204
 talent_types = <table> {
 }
 LoadFunction = <function> defined @WeakAuras/AuraEnvironment.lua:637
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 player_target_events = <table> {
 }
 GetTalentData = <function> defined @WeakAuras/Types_Retail.lua:185
 subRegionTypes = <table> {
 }
 UnregisterAllEveryFrameUpdate = <function> defined @WeakAuras/GenericTrigger.lua:1815
 array_entry_name_types = <table> {
 }
 combatlog_spell_school_types = <table> {
 }
 StringToTable = <function> defined @WeakAuras/Transmission.lua:295
 RegisterLoadEvents = <function> defined @WeakAuras/WeakAuras.lua:1830
 GetReputationsSorted = <function> defined @WeakAuras/Types.lua:1654
 blend_types = <table> {
 }
 text_automatic_width = <table> {
 }
 EnforceSubregionExists = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:969
 CheckSpellCooldown = <function> defined @WeakAuras/GenericTrigger.lua:2814
 custom_trigger_types = <table> {
 }
 group_types = <table> {
 }
 subRegionOptions = <table> {
 }
 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:2200
 sound_channel_types = <table> {
 }
 CheckCooldownReady = <function> defined @WeakAuras/GenericTrigger.lua:3002
 event_prototypes = <table> {
 }
 CanHaveDuration = <function> defined @WeakAuras/WeakAuras.lua:3701
 NeedToRepairDatabase = <function> defined @WeakAuras/WeakAuras.lua:2277
 AtlasList = <table> {
 }
 RegisterRegionType

Reproduction Steps

Logging into the Game

Last Good Version

5.9.2

Screenshots

No response

Export String

https://drive.google.com/file/d/1YWHvN1pAlk-EnnMr7EFtyFjJ3oyQCk2j/view?usp=sharing
commented

You had a corrupted aura (specifically, this one), which interacted poorly with a change made for 5.10.0. I've repaired the corruption for you, download this & replace your existing savedvariables and you should be able to play the game just fine.

commented

unfortunately importing that zip changed nothing for me. But i deleted that aura and the Season 1 aura, which made a lua error after I removed the season 2 aura.
Not sure why importing did not work.
But 5.10 is working now. Thanks for your work