WeakAuras

WeakAuras

206M Downloads

error when multi-editing a manual progress conditional property

emptyrivers opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

At a glance, it looks like WeakAuras tries to Add() the temp group, which of course makes no sense. Reproducing a second time will raise a complaint from Archivist about duplicate stores, which i'm pretty sure is only a symptom and doesn't need addressing.

WeakAuras Version

tip of main (5.18.0)

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

1x Lua error
WeakAuras Version: Dev
Stack trace:
WeakAuras/Modernize.lua:16: bad argument #2 to 'format' (string expected, got table)
[string "=[C]"]: in function `format'
[string "@WeakAuras/Modernize.lua"]:16: in function <WeakAuras/Modernize.lua:14>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:3071: in function <WeakAuras/WeakAuras.lua:3062>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/WeakAuras.lua"]:3290: in function <WeakAuras/WeakAuras.lua:3282>
[string "=[C]"]: in function `Add'
[string "@WeakAurasOptions/ConditionOptions.lua"]:405: in function <WeakAurasOptions/ConditionOptions.lua:389>
[string "=[C]"]: ?
[string "@AddOnSkins/Libs/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@AddOnSkins/Libs/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "@AddOnSkins/Libs/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:891: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:879>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSpinBox.lua"]:224: in function `SetValue'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSpinBox.lua"]:157: in function <...ons/AceGUI-Widgets/AceGUIWidget-WeakAurasSpinBox.lua:136>

Locals:
(*temporary) = "Data for '%s' is too old, can't modernize."
(*temporary) = <table> {
 1 = "tempGroup"
}
(*temporary) = "string expected, got table"


2x WeakAuras/Libs/Archivist/Archivist.lua:207: Store Type "ReadOnly" produced an store object already registered with Archivist instead of creating a new one.
[string "=[C]"]: in function `error'
[string "@WeakAuras/Libs/Archivist/Archivist.lua"]:53: in function `Assert'
[string "@WeakAuras/Libs/Archivist/Archivist.lua"]:207: in function `Create'
[string "@WeakAuras/ArchiveTypes/Repository.lua"]:27: in function `Set'
[string "@WeakAuras/ArchiveTypes/Repository.lua"]:68: in function `Set'
[string "@WeakAuras/History.lua"]:71: in function `SetMigrationSnapshot'
[string "@WeakAuras/WeakAuras.lua"]:3288: in function <WeakAuras/WeakAuras.lua:3282>
[string "=[C]"]: in function `Add'
[string "@WeakAurasOptions/ConditionOptions.lua"]:405: in function <WeakAurasOptions/ConditionOptions.lua:389>
[string "=[C]"]: ?
[string "@AddOnSkins/Libs/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@AddOnSkins/Libs/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "@AddOnSkins/Libs/Ace3/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:891: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:879>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@ElvUI_Libraries/Core/Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSpinBox.lua"]:224: in function `SetValue'
[string "@WeakAurasOptions/AceGUI-Widgets/AceGUIWidget-WeakAurasSpinBox.lua"]:157: in function <...ons/AceGUI-Widgets/AceGUIWidget-WeakAurasSpinBox.lua:136>

Locals:
(*temporary) = "Store Type "ReadOnly" produced an store object already registered with Archivist instead of creating a new one."

Reproduction Steps

  1. Create an aura, any will do.
  2. Duplicate it.
  3. Pick both displays for editing
  4. Add a condition to with a Progress Source - Manual property.
  5. Change the value on either the "value" or "total" slider such that it triggers an Add().

Last Good Version

probably the commit before progress source was merged

Screenshots

No response

Export String

No response

Bisector Report

No response