Login error.
meyverick opened this issue ยท 3 comments
Description
- Login into the game and get an error.
/reload
is required to makes WeakAuras works again.- It requires a fresh start (open/close the game)
WeakAuras Version
WeakAuras 5.1.1
World of Warcraft Flavor
Wrath of the Lich King Classic
Tested with only WeakAuras
- Yes
- No
Lua Error
3x WeakAuras\WeakAuras-5.1.1.lua:1189: script ran too long
[string "@WeakAuras\WeakAuras-5.1.1.lua"]:1189: in function `Login'
[string "@WeakAuras\WeakAuras-5.1.1.lua"]:1273: in function <WeakAuras\WeakAuras.lua:1224>
Locals:
initialTime = 15000
takeNewSnapshots = nil
loginThread = <no value>
startTime = 3489344.029200
finishTime = 3489356.679300
ok = true
msg = nil
(*temporary) = false
(*temporary) = "WeakAuras\GenericTrigger.lua:612: script ran too long"
(*temporary) = false
(*temporary) = "WeakAuras\GenericTrigger.lua:612: script ran too long"
(*temporary) = false
(*temporary) = "script ran too long"
Private = <table> {
HandleGlowAction = <function> defined @WeakAuras\WeakAuras.lua:3468
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:2435
InitializeEncounterAndZoneLists = <function> defined @WeakAuras\Types_Wrath.lua:9
IsEnvironmentInitialized = <function> defined @WeakAuras\AuraEnvironment.lua:200
talent_extra_option_types = <table> {
}
CleanArchive = <function> defined @WeakAuras\History.lua:22
RunConditions = <function> defined @WeakAuras\Conditions.lua:752
tooltip_count = <table> {
}
pet_spec_types = <table> {
}
regionOptions = <table> {
}
get_zoneId_list = <function> defined @WeakAuras\Types_Wrath.lua:150
checkForSingleLoadCondition = <function> defined @WeakAuras\Prototypes.lua:999
author_option_classes = <table> {
}
grid_types = <table> {
}
non_transmissable_fields = <table> {
}
absorb_modes = <table> {
}
combatlog_spell_school_types_for_ui = <table> {
}
miss_types = <table> {
}
faction_group = <table> {
}
ensurePRDFrame = <function> defined @WeakAuras\WeakAuras.lua:5055
talent_types = <table> {
}
LoadFunction = <function> defined @WeakAuras\AuraEnvironment.lua:641
reset_swing_spells = <table> {
}
circular_group_constant_factor_types = <table> {
}
FinishLoadUnload = <function> defined @WeakAuras\WeakAuras.lua:1929
subRegionTypes = <table> {
}
ToggleMinimap = <function> defined @WeakAuras\WeakAuras.lua:203
spec_types_3 = <table> {
}
combatlog_spell_school_types = <table> {
}
StringToTable = <function> defined @WeakAuras\Transmission.lua:294
RegisterLoadEvents = <function> defined @WeakAuras\WeakAuras.lua:1777
FixGroupChildrenOrderForGroup = <function> defined @WeakAuras\WeakAuras.lua:3945
blend_types = <table> {
}
text_automatic_width = <table> {
}
EnforceSubregionExists = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:1012
CheckSpellCooldown = <function> defined @WeakAuras\GenericTrigger.lua:2312
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:2145
sound_channel_types = <table> {
}
CheckCooldownReady = <function> defined @WeakAuras\GenericTrigger.lua:2492
event_prototypes = <table> {
}
CanHaveDuration = <function> defined @WeakAuras\WeakAuras.lua:3615
NeedToRepairDatabase = <function> defined @WeakAuras\WeakAuras.lua:2222
StopProfileSystem = <function> defined @WeakAuras\Init.lua:387
classification_types = <table> {
}
unit_types_bufftrigger_2 = <table> {
}
CheckSpellCooldows = <function> defined @WeakAuras\GenericTrigger.lua:2366
IsOptionsProcessingPaused = <function> defined @WeakAuras\WeakAuras.lua:1469
ValueFromPath = <function> defined @WeakAuras\WeakAuras.lua:3897
Login = <function> defined @WeakAuras\WeakAuras.lua:1120
GetTriggerCond
Reproduction Steps
- Start you game,
- Login,
- Wee the error,
/reload
- All works fine.
Last Good Version
WeakAuras 5.1.0 or 5.0.5
Screenshots
No response
Export String
https://gist.github.com/meyverick/85dac6915e93c3606ab3cd7e1c7717a5
But it's not because of WeakAuras version, it's because of the custom code of your aura "Find Minerals Range" doing an infinite loop, editing it out of your data fix the problem.
WeakAuras.zip
function()
if not aura_env.last or aura_env.last < GetTime() - 5 then
if canTrackMinerals == nil then
canTrackMinerals = false
end
if canTrackMinerals == nil then
isTrackingMinecrals = false
end
aura_env.last = GetTime()
local index = 1
local activeTrackerName, activeTrackerTexture, activeTrackerEnabled = GetTrackingInfo(index)
while activeTrackerName ~= nil do
if (activeTrackerName == "Find Minerals") then
canTrackMinerals = true;
isTrackingMinerals = activeTrackerEnabled
break
end
index = index + 1
end
end
return canTrackMinerals and isTrackingMinerals
end
That while loop never exit