WeakAuras

WeakAuras

206M Downloads

Import failed and breaks if loaded via SavedVariables

a-stephany opened this issue · 1 comments

commented

Description

I try to import Druid’s WA from Luxthos and it breaks even if I get it imported via savedvariables from an older config.
Other classes seem still to work so far.

WeakAuras Version

Weakauras 5.3.5

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • [] No

Lua Error

ERROR 1


4x WeakAuras/WeakAuras.lua:4810: attempt to concatenate a nil value
[string "@WeakAuras/WeakAuras.lua"]:4810: in function `ReplacePlaceHolders'
[string "@WeakAuras/SubRegionTypes/SubText.lua"]:259: in function `Update'
[string "@WeakAuras/SubRegionTypes/SubText.lua"]:349: in function `SetVisible'
[string "local newActiveConditions = {};"]:113: in function `?'
[string "@WeakAuras/Conditions.lua"]:765: in function `RunConditions'
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:739: in function <...aceWeakAuras/RegionTypes/RegionPrototype.lua:735>
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:829: in function `Collapse'
[string "@WeakAuras/WeakAuras.lua"]:4478: in function `UpdatedTriggerState'
[string "@WeakAuras/WeakAuras.lua"]:4183: in function `FakeStatesFor'
[string "@WeakAuras/WeakAuras.lua"]:2934: in function <WeakAuras/WeakAuras.lua:2878>
[string "@WeakAuras/WeakAuras.lua"]:3036: in function `Add'
[string "@WeakAurasOptions/OptionsFrames/Update.lua"]:1955: in function `ImportPhase2'
[string "@WeakAurasOptions/OptionsFrames/Update.lua"]:1550: in function `ImportImpl'
[string "@WeakAurasOptions/OptionsFrames/Update.lua"]:1518: in function <...aceWeakAurasOptions/OptionsFrames/Update.lua:1517>




ERROR 2
4x WeakAuras/WeakAuras.lua:4810: attempt to concatenate a nil value
[string "@WeakAuras/WeakAuras.lua"]:4810: in function `ReplacePlaceHolders'
[string "@WeakAuras/SubRegionTypes/SubText.lua"]:259: in function `Update'
[string "@WeakAuras/SubRegionTypes/SubText.lua"]:349: in function `SetVisible'
[string "local newActiveConditions = {};"]:113: in function `?'
[string "@WeakAuras/Conditions.lua"]:765: in function `RunConditions'
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:739: in function <...aceWeakAuras/RegionTypes/RegionPrototype.lua:735>
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:829: in function `Collapse'
[string "@WeakAuras/WeakAuras.lua"]:4478: in function `UpdatedTriggerState'
[string "@WeakAuras/WeakAuras.lua"]:4183: in function `FakeStatesFor'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua"]:1455: in function `SyncVisibility'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasDisplayButton.lua"]:1485: in function `PriorityHide'
[string "@WeakAurasOptions/OptionsFrames/OptionsFrame.lua"]:1080: in function `ClearPicks'
[string "@WeakAurasOptions/WeakAurasOptions.lua"]:533: in function `f'
[string "@WeakAuras/WeakAuras.lua"]:56: in function `Fire'
[string "@WeakAuras/WeakAuras.lua"]:1968: in function `Delete'
[string "@WeakAurasOptions/WeakAurasOptions.lua"]:446: in function `OnAccept'
[string "@FrameXML/StaticPopup.lua"]:5289: in function `StaticPopup_OnClick'
[string "*StaticPopup.xml:24_OnClick"]:1: in function <[string "*StaticPopup.xml:24_OnClick"]:1>

Locals:
textStr = "%stacks"
region = Frame {
 0 = <userdata>
 iconSource = 0
 AnchorSubRegion = <function> defined @WeakAuras/RegionTypes/Icon.lua:152
 subRegionEvents = <table> {
 }
 Expand = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:843
 yOffset = 0
 anchorPoint = "CENTER"
 GetColor = <function> defined @WeakAuras/RegionTypes/Icon.lua:443
 icon = Texture {
 }
 SetOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:280
 keepAspectRatio = true
 triggerProvidesTimer = false
 states = <table> {
 }
 SendChat = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:228
 SetInverse = <function> defined @WeakAuras/RegionTypes/Icon.lua:507
 toShow = false
 UpdateFrameTick = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:393
 SetRegionHeight = <function> defined @WeakAuras/RegionTypes/Icon.lua:502
 state = <table> {
 }
 SetIcon = <function> defined @WeakAuras/RegionTypes/Icon.lua:450
 xOffset = 0
 UpdateIcon = <function> defined @WeakAuras/RegionTypes/Icon.lua:467
 PixelSnapDisabled = true
 cloneId = ""
 Update = <function> defined @WeakAuras/RegionTypes/Icon.lua:579
 regionType = "icon"
 GetRegionAlpha = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:349
 relativePoint = "CENTER"
 Resume = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:905
 SoundPlay = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:210
 color_a = 1
 Collapse = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:821
 zoom = 0.300000
 ClickToPick = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:692
 OptionsClosed = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:687
 color_b = 1
 UpdateTexCoords = <function> defined @ElvUI_ToxiUI/Modules/Skins/WeakAuras.lua:35
 alpha = 1
 color_r = 1
 SetXOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:289
 SetGlow = <function> defined @WeakAuras/RegionTypes/Icon.lua:643
 SetRegionWidth = <function> defined @WeakAuras/RegionTypes/Icon.lua:497
 texXOffset = 0
 RealClearAllPoints = <function> defined =[C]:-1
 displayIcon = 1392544
 Color = <function> defined @ElvUI_ToxiUI/Modules/Skins/WeakAuras.lua:118
 RunCode = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:235
 GetYOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:301
 SetAnimAlpha = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:353
 scalex = 1
 styledMask = Frame {
 }
 outer = Frame {
 }
 SetYOffsetRelative = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:318
 PreShow = <function> defined @WeakAuras/RegionTypes/Icon.lua:569
 SetTime = <function> defined @WeakAuras/RegionTypes/Icon.lua:554
 cooldownSwipe = true
 SetValue = <function> defined @WeakAuras/RegionTypes/Icon.lua:542
 GetXOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:297
 SetYOffset = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:293
 SetCooldownEdge = <function> defined @WeakAuras/RegionTypes/Icon.lua:523
 color_g = 1
 SetZoom = <function> defined @WeakAuras/RegionTypes/Icon.lua:531
 cooldownEdge = true
 GetYOffsetRelative = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:326
 SetAnchor = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:268
 GlowExternal = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:243
 GetXOffsetRelative = <function> defined @WeakAuras/RegionTypes/RegionPrototype.lua:322
 S

Reproduction Steps

  1. Go to https://www.luxthos.com/druid-weakauras-for-world-of-warcraft-dragonflight/
  2. Click on copy „Click to copy“
  3. Paste into import
  4. it starts to import and breaks at the nearly end.
  5. only reload ui helps to get back to the game.

Last Good Version

The Version before the update 5.3.4 probably

Screenshots

No response

Export String

No response

commented

1empty
2break
3afterimport
4breakingwhiledeleteorbitbreaker