1x WeakAuras/AuraEnvironment.lua:376: attempt to index field '?' (a nil value)
L30m4nc3r opened this issue · 5 comments
Is there an existing issue for this?
- I have searched the existing open and closed issues.
Description
I don't understand, it just happened after entering the game and now I can't open the addon. And all my weakauras disabled.
WeakAuras Version
5.5.4
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
EU
Tested with only WeakAuras
- Yes
Lua Error
1x WeakAuras/AuraEnvironment.lua:376: attempt to index field '?' (a nil value)
[string "@WeakAuras/AuraEnvironment.lua"]:376: in function `ActivateAuraEnvironment'
[string "@WeakAuras/AuraEnvironment.lua"]:360: in function `ActivateAuraEnvironment'
[string "@WeakAuras/WeakAuras.lua"]:5482: in function <WeakAuras/WeakAuras.lua:5387>
[string "@WeakAuras/WeakAuras.lua"]:5510: in function `AnchorFrame'
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:540: in function `modify'
[string "@WeakAuras/RegionTypes/Group.lua"]:94: in function `modify'
[string "@WeakAuras/WeakAuras.lua"]:3129: in function `SetRegion'
[string "@WeakAuras/WeakAuras.lua"]:3214: in function <WeakAuras/WeakAuras.lua:3180>
[string "@WeakAuras/WeakAuras.lua"]:3235: in function `EnsureRegion'
[string "@WeakAuras/AuraEnvironment.lua"]:299: in function `ActivateAuraEnvironment'
[string "@WeakAuras/GenericTrigger.lua"]:4600: in function `GetTriggerConditions'
[string "@WeakAuras/WeakAuras.lua"]:3763: in function `GetTriggerConditions'
[string "@WeakAuras/Conditions.lua"]:661: in function <WeakAuras/Conditions.lua:653>
[string "@WeakAuras/Conditions.lua"]:761: in function `LoadConditionFunction'
[string "@WeakAuras/WeakAuras.lua"]:2994: in function <WeakAuras/WeakAuras.lua:2883>
[string "@WeakAuras/WeakAuras.lua"]:3051: in function `Add'
[string "@WeakAuras/WeakAuras.lua"]:2509: in function `AddMany'
[string "@WeakAuras/WeakAuras.lua"]:1156: in function <WeakAuras/WeakAuras.lua:1127>
[string "@WeakAuras/WeakAuras.lua"]:1279: in function <WeakAuras/WeakAuras.lua:1230>
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> {
}
ProfilingWindow = <table> {
}
clearOldHistory = 30
instanceHistoryDb = <table> {
}
editor_theme = "Monokai"
dynamicIconCache = <table> {
}
好友名单 Friend ListSave = <table> {
}
editor_font_size = 12
lastArchiveClear = 1580885731
lastUpgrade = 1678979471
displays = <table> {
}
registered = <table> {
}
personalRessourceDisplayFrame = <table> {
}
RealTimeProfilingWindow = <table> {
}
dbVersion = 65
}
Private = <table> {
HandleGlowAction = <function> defined @WeakAuras/WeakAuras.lua:3500
frame_strata_types = <table> {
}
DisplayToString = <function> defined @WeakAuras/Transmission.lua:350
combat_event_type = <table> {
}
regions = <table> {
}
frameLevels = <table> {
}
CheckItemSlotCooldowns = <function> defined @WeakAuras/GenericTrigger.lua:2838
InitializeEncounterAndZoneLists = <function> defined @WeakAuras/Types_Retail.lua:10
IsEnvironmentInitialized = <function> defined @WeakAuras/AuraEnvironment.lua:204
talent_extra_option_types = <table> {
}
CleanArchive = <function> defined @WeakAuras/History.lua:22
RunConditions = <function> defined @WeakAuras/Conditions.lua:767
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:1081
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:851
centered_types_h = <table> {
}
ensurePRDFrame = <function> defined @WeakAuras/WeakAuras.lua:5123
talent_types = <table> {
}
LoadFunction = <function> defined @WeakAuras/AuraEnvironment.lua:648
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:1725
array_entry_name_types = <table> {
}
combatlog_spell_school_types = <table> {
}
StringToTable = <function> defined @WeakAuras/Transmission.lua:294
RegisterLoadEvents = <function> defined @WeakAuras/WeakAuras.lua:1793
FixGroupChildrenOrderForGroup = <function> defined @WeakAuras/WeakAuras.lua:4001
blend_types = <table> {
}
text_automatic_width = <table> {
}
EnforceSubregionExists = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:948
CheckSpellCooldown = <function> defined @WeakAuras/GenericTrigger.lua:2715
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:2163
sound_channel_types = <table> {
}
CheckCooldownReady = <function> defined @WeakAuras/GenericTrigger.lua:2895
event_prototypes = <table> {
}
CanHaveDuration = <function> defined @WeakAuras/WeakAuras.lua:3648
NeedToRepairDatabase = <function> defined @WeakAuras/WeakAuras.lua:2240
AtlasList = <table> {
}
StopProfileSystem = <function> defined @Interfac
Reproduction Steps
Cant reproduce it.
Last Good Version
No response
Screenshots
No response
Export String
No response
You wrote that you can't reproduce it, so are you not having any error anymore?
Can you add your weakauras data as required in the ticket?
https://www.youtube.com/watch?v=XrylQx9wmpc&
Sorry for quality just uploaded (rn).
I don’t understand, sometimes when I enter the game it gives this error and the WA does not start, I restart the game, everything works, then I restart the game again and it gives an error.
I can’t reproduce this for one simple reason, it just happens when I enter the game, I cant press the WeakAuras button and all WAs don’t work until I force enable the addon via Shift + Click and I need to relog after this action to make it work. After I completely exit the game again, the addon breaks and I repeat the same steps to turn it on.