WeakAuras

WeakAuras

200M Downloads

Private.SetRegion - regionType lua error

Chrimari-zz opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

With the latest WA 5.14 version I am constantly getting this issue whenever I load into the game: at the very end of the loading screen I get an lua error.

Impact is that I am not able to open the WA addon and none of my weakauras are working.

The lua errors I get are uploaded here:
https://pastebin.com/FPbnynbZ

WeakAuras Version

WeakAuras 5.14

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

4x Lua error in aura 'main': Modernize
WeakAuras Version: 5.14.1
WeakAuras/Modernize.lua:1313: attempt to index field 'regionType' (a nil value)
[string "@WeakAuras/Modernize.lua"]:1313: in function <WeakAuras/Modernize.lua:14>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:2990: in function <WeakAuras/WeakAuras.lua:2981>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:2629: in function `AddMany'
[string "@WeakAuras/WeakAuras.lua"]:1259: in function <WeakAuras/WeakAuras.lua:1227>

Locals:
data = <table> {
 authorOptions = <table> {
 }
 duration_type = "seconds"
 actions = <table> {
 }
 triggers = <table> {
 }
 internalVersion = 2
 type = "none"
 animation = <table> {
 }
 id = "main"
 uid = "kSVH4D2spOw"
 config = <table> {
 }
 load = <table> {
 }
 easeType = "none"
 easeStrength = 3
 information = <table> {
 }
 conditions = <table> {
 }
}
oldSnapshot = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "message_format_(.*)_format"
(*temporary) = false
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'regionType' (a nil value)"
Private = <table> {
 HandleGlowAction = <function> defined @WeakAuras/WeakAuras.lua:3625
 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:3172
 InitializeEncounterAndZoneLists = <function> defined @WeakAuras/Types_Retail.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_Retail.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> {
 }
 GetDiscoveredCurrencies = <function> defined @WeakAuras/Types.lua:1620
 CancelDelayedTrigger = <function> defined @WeakAuras/GenericTrigger.lua:944
 centered_types_h = <table> {
 }
 ModernizeNeedsOldSnapshot = <function> defined @WeakAuras/Modernize.lua:2081
 ensurePRDFrame = <function> defined @WeakAuras/WeakAuras.lua:5443
 talent_types = <table> {
 }
 LoadFunction = <function> defined @WeakAuras/AuraEnvironment.lua:652
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 player_target_events = <table> {
 }
 GetTalentData = <function> defined @WeakAuras/Types_Retail.lua:191
 subRegionTypes = <table> {
 }
 UnregisterAllEveryFrameUpdate = <function> defined @WeakAuras/GenericTrigger.lua:1884
 array_entry_name_types = <table> {
 }
 combatlog_spell_school_types = <table> {
 }
 StringToTable = <function> defined @WeakAuras/Transmission.lua:301
 RegisterLoadEvents = <function> defined @WeakAuras/WeakAuras.lua:1910
 GetReputationsSorted = <function> defined @Interface


4x WeakAuras/WeakAuras.lua:3212: Improper arguments to Private.SetRegion - regionType not defined in main
[string "=[C]"]: in function `error'
[string "@WeakAuras/WeakAuras.lua"]:3212: in function `SetRegion'
[string "@WeakAuras/WeakAuras.lua"]:3339: in function <WeakAuras/WeakAuras.lua:3319>
[string "@WeakAuras/WeakAuras.lua"]:3349: in function `EnsureRegion'
[string "@WeakAuras/WeakAuras.lua"]:1776: in function <WeakAuras/WeakAuras.lua:1644>
[string "@WeakAuras/WeakAuras.lua"]:1995: in function `Resume'
[string "@WeakAuras/WeakAuras.lua"]:1268: in function <WeakAuras/WeakAuras.lua:1227>

[string "@WeakAuras/WeakAuras.lua"]:1386: in function <WeakAuras/WeakAuras.lua:1334>

Locals:
self = Frame {
 0 = <userdata>
}
event = "PLAYER_LOGIN"
addon = nil
dbIsValid = true
takeNewSnapshots = nil
ADDON_NAME = "WeakAuras"
db = <table> {
 editor_tab_spaces = 4
 login_squelch_time = 10
 mousePointerFrame = <table> {
 }
 minimap = <table> {
 }
 historyCutoff = 730
 dbVersion = 75
 clearOldHistory = 30
 editor_theme = "Monokai"
 dynamicIconCache = <table> {
 }
 editor_font_size = 12
 personalRessourceDisplayFrame = <table> {
 }
 RealTimeProfilingWindow = <table> {
 }
 displays = <table> {
 }
 lastUpgrade = 1719232987
 features = <table> {
 }
 migrationCutoff = 730
 editor_bracket_matching = false
 lastArchiveClear = 1580760906
 registered = <table> {
 }
 ProfilingWindow = <table> {
 }
}
Private = <table> {
 HandleGlowAction = <function> defined @WeakAuras/WeakAuras.lua:3625
 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:3172
 InitializeEncounterAndZoneLists = <function> defined @WeakAuras/Types_Retail.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_Retail.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> {
 }
 GetDiscoveredCurrencies = <function> defined @WeakAuras/Types.lua:1620
 CancelDelayedTrigger = <function> defined @WeakAuras/GenericTrigger.lua:944
 centered_types_h = <table> {
 }
 ModernizeNeedsOldSnapshot = <function> defined @WeakAuras/Modernize.lua:2081
 ensurePRDFrame = <function> defined @WeakAuras/WeakAuras.lua:5443
 talent_types = <table> {
 }
 LoadFunction = <function> defined @WeakAuras/AuraEnvironment.lua:652
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 player_target_events = <table> {
 }
 GetTalentData = <function> defined @WeakAuras/Types_Retail.lua:191
 subRegionTypes = <table> {
 }
 UnregisterAllEveryFrameUpdate = <function> defined @WeakAuras/GenericTrigger.lua:1884
 array_entry_name_types = <table> {
 }
 combatlog_spell_school_types = <table> {
 }
 StringToTable = <function> defined @WeakAuras/Transmission.lua:301
 RegisterLoadEvents = <function> defined @WeakAuras/WeakAuras.lua:1910
 GetReputationsSorted = <function> defined @WeakAuras/Types.lua:1714
 talentInfoByNodeId = <table> {
 }
 text_automatic_width = <table> {
 }
 EnforceSubregionExists = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:1125
 CheckSpellCooldown = <function> defined @WeakAuras/GenericTrigger.lua:3028
 custom_trigger_types = <table> {
 }
 group_types = <table> {
 }
 subRegionOptions = <table> {
 }
 GetProgressValueConstant = <function> defined @WeakAuras/WeakAuras.lua:3936
 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> {
 }
 CheckCooldownRea

Reproduction Steps

  1. Login to the game
  2. ???
  3. get error

Last Good Version

Weakauras 5.13.2

Screenshots

Saved Variables:
WeakAuras.zip

Export String

No response

Bisector Report

Bisect results:

report version: 2
addon version: v1.3.0
mode at print: done
bisect origin: cli
last test result: bad
Bisect took 1 out of (6-84) steps
Hints taken: 1
Addons ruled out: 40
Addons proved: 0

Narrowest set of addons that reproduces the issue:
|-- H:WeakAuras @ 5.14.1
|  |-- D:WeakAuras Archive @ 5.14.1
|  |-- d:WeakAuras Model Paths @ 5.14.1
|  |-- d:WeakAuras Options @ 5.14.1
|  |  |--WeakAuras Model Paths...(see above)
|  |  |-- d:WeakAuras Templates @ 5.14.1
|  |--WeakAuras Templates...(see above)
|-- E:WeakAuras Companion @ 5.2.3
|-- A:Bisector @ 1.1.2
|-- A:BugGrabber @ v10.2.5
|-- A:BugSack @ v10.2.6

Libraries:
LibCompress @ 90083
GUTIL-2.0 @ 18
AceAddon-3.0 @ 13
LibGetFrame-1.0 @ 58
LibSharedMedia-3.0 @ 8020003
AceGUISharedMediaWidgets-1.0 @ 9004
AceGUI-3.0 @ 41
LibUIDropDownMenu-4.0 @ 90135
AceConfigRegistry-3.0 @ 21
LibDataBroker-1.1 @ 4
AceDB-3.0 @ 29
AceGUI-3.0-DropDown-ItemBase @ 2000
LibDBIcon-1.0 @ 52
AceConsole-3.0 @ 7
AceConfig-3.0 @ 3
AceComm-3.0 @ 14
AceConfigDialog-3.0 @ 86
LibSerialize @ 1
LibCustomGlow-1.0 @ 19
AceEvent-3.0 @ 4
LibRangeCheck-3.0 @ 19
SpellRange-1.0 @ 21
LibSpecialization @ 10
CallbackHandler-1.0 @ 8
LibDeflate @ 1
AceTimer-3.0 @ 17
AceSerializer-3.0 @ 5
GGUI-2.1 @ 27
AceConfigCmd-3.0 @ 14
commented

We need your full settings to investigate.

commented

Ah sorry you did include them

commented

Your file seems to have been corrupted and incomplete. That could be due to a hardware issue, full harddrive, a bug in the game or some other reason. In any case, I've fixed your file up so that WA loads it:

WeakAuras.zip

But note, that almost certainly data was lost and cannot be recovered from that file. If you have backups those are probably better.