Skip to content

Progress Texture - Animations - Main - Preset - Rotate Left/Right Lua Error #21

@NethanosGit

Description

@NethanosGit

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

I am trying to make a progress texture rotate left while the aura is loaded.
All the other presets work ok, it is just the Rotate preset that doesn't work. Same error is appearing for Custom -> Rotate animation.

WeakAuras Version

Weakaura 5.19.3 Beta

World of Warcraft Flavor

WotLK 3.3.5a

World of Warcraft Language

enGB/enUS

Tested with only WeakAuras

  • I got this issue with only WeakAuras enabled

Lua Error

I get the next error:
Message: Lua error in aura 'Player_Power_Orb_': Rotate Animation
WeakAuras Version: 5.19.3 Beta
Stack trace:
Time: 02/27/25 09:37:54
Count: 2921
Stack: Interface\AddOns\WeakAuras\Animations.lua:110: in function <Interface\AddOns\WeakAuras\Animations.lua:12>
Interface\AddOns\WeakAuras\Animations.lua:194: in function <Interface\AddOns\WeakAuras\Animations.lua:178>

Locals: key = "table: 25FB0E70"
anim = <table> {
 startAlpha = 1
 auraUID = "Y3ShHHMUoB8"
 progress = 0.34649999999988
 duration = 4
 easeFunc = <function> defined @Interface\AddOns\WeakAuras\Types.lua:2219
 namespace = "display"
 type = "main"
 region = <unnamed> {
 }
 startHeight = 81.999998495481
 anim = <table> {
 }
 loop = true
 startRotation = 0
 startWidth = 81.999998495481
 duration_type = "seconds"
 rotateFunc = <function> defined return function(progress, start, delta):1
 inverse = false
 rotate = -360
}
elapsed = 0.018000000000029
time = 5158.579
finished = false
progress = 0.34649999999988
errorHandler = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:90
ok = false
rotate = "[string "return function(progress, start, delta)"]:2: attempt to perform arithmetic on local 'progress' (a function value)"
Private = <table> {
 HandleGlowAction = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:3255
 TextureBase = <table> {
 }
 frame_strata_types = <table> {
 }
 DisplayToString = <function> defined @Interface\AddOns\WeakAuras\Transmission.lua:340
 combat_event_type = <table> {
 }
 regions = <table> {
 }
 frameLevels = <table> {
 }
 CheckItemSlotCooldowns = <function> defined @Interface\AddOns\WeakAuras\GenericTrigger.lua:2751
 UIDtoID = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1720
 IsEnvironmentInitialized = <function> defined @Interface\AddOns\WeakAuras\AuraEnvironment.lua:176
 form_types = <table> {
 }
 CleanArchive = <function> defined @Interface\AddOns\WeakAuras\History.lua:21
 UpdateProgressFrom = <function> defined @Interface\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:598
 RunConditions = <function> defined @Interface\AddOns\WeakAuras\Conditions.lua:823
 tooltip_count = <table> {
 }
 SmoothStatusBarMixin = <table> {
 }
 IsAuraActive = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4886
 regionOptions = <table> {
 }
 checkForSingleLoadCondition = <function> defined @Interface\AddOns\WeakAuras\Prototypes.lua:882
 author_option_classes = <table> {
 }
 grid_types = <table> {
 }
 non_transmissable_fields = <table> {
 }
 combatlog_spell_school_types_for_ui = <table> {
 }
 miss_types = <table> {
 }
 CancelDelayedTrigger = <function> defined @Interface\AddOns\WeakAuras\GenericTrigger.lua:1004
 centered_types_h = <table> {
 }
 autoeventend_types = <table> {
 }
 ModernizeNeedsOldSnapshot = <function> defined @Interface\AddOns\WeakAuras\Modernize.lua:2061
 ensurePRDFrame = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:5088
 money_precision_types = <table> {
 }
 LoadFunction = <function> defined @Interface\AddOns\WeakAuras\AuraEnvironment.lua:636
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 FinishLoadUnload = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1704
 subRegionTypes = <table> {
 }
 ToggleMinimap = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:206
 array_entry_name_types = <table> {
 }
 combatlog_spell_school_types = <table> {
 }
 StringToTable = <function> defined @Interface\AddOns\WeakAuras\Transmission.lua:284
 RegisterLoadEvents = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1560
 FixGroupChildrenOrderForGroup = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:3856
 blend_types = <table> {
 }
 text_automatic_width = <table> {
 }
 EnforceSubregionExists = <function> defined @Interface\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:1184
 CheckSpellCooldown = <function> defined @Interface\AddOns\WeakAuras\GenericTrigger.lua:2649
 custom_trigger_types = <table> {
 }
 group_types = <table> {
 }
 subRegionO

Reproduction Steps

  1. Create a Progress Texture aura.
  2. Go to Animations.
  3. Set for Main -> Preset -> Rotate Left/Right
  4. Lua Error

Last Good Version

No response

Screenshots

No response

Export String


Metadata

Metadata

Assignees

No one assigned

    Labels

    ⏱ On HoldThis issue or request cannot be acted on at this time. See discussion for details.✔️ AcceptedThis request will be implemented in the future.🐛 BugThis is a problem with WeakAuras.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions