WeakAuras / WeakAuras2

World of Warcraft addon that provides a powerful framework to display customizable graphics on your screen.
https://weakauras.wtf
GNU General Public License v2.0
1.29k stars 317 forks source link

Improper arguments to WeakAuras.CreateRegion -regionType "icon" is not supported #2822

Closed Cenarin closed 3 years ago

Cenarin commented 3 years ago

Describe the bug

When trying to import any WeakAura on my rogue and only my rogue I get an error for "Improper arguments to WeakAuras.CreateRegion -regionType "icon" is not supported". Importing any other WeakAura on any of my other characters it work fine. I am also unable to open up the WeakAuras menu at all.

Do you have an error log of what happened?

2x WeakAuras\RegionTypes\Icon.lua:8: attempt to call method 'AddType' (a nil value)
[string "@WeakAuras\RegionTypes\Icon.lua"]:8: in main chunk

Locals:
AddonName = "WeakAuras"
Private = <table> {
 HandleGlowAction = <function> defined @WeakAuras\WeakAuras.lua:3123
 frame_strata_types = <table> {
 }
 combat_event_type = <table> {
 }
 frameLevels = <table> {
 }
 CheckItemSlotCooldowns = <function> defined @WeakAuras\GenericTrigger.lua:2282
 InitializeEncounterAndZoneLists = <function> defined @WeakAuras\Prototypes.lua:131
 IsEnvironmentInitialized = <function> defined @WeakAuras\AuraEnvironment.lua:184
 duration_types = <table> {
 }
 CleanArchive = <function> defined @WeakAuras\History.lua:21
 RunConditions = <function> defined @WeakAuras\Conditions.lua:641
 tooltip_count = <table> {
 }
 pet_spec_types = <table> {
 }
 ReplaceLocalizedRaidMarkers = <function> defined @WeakAuras\WeakAuras.lua:5094
 author_option_classes = <table> {
 }
 event_types = <table> {
 }
 grid_types = <table> {
 }
 non_transmissable_fields = <table> {
 }
 absorb_modes = <table> {
 }
 miss_types = <table> {
 }
 faction_group = <table> {
 }
 autoeventend_types = <table> {
 }
 ensurePRDFrame = <function> defined @WeakAuras\WeakAuras.lua:4608
 talent_types = <table> {
 }
 reset_swing_spells = <table> {
 }
 spec_types_all = <table> {
 }
 FinishLoadUnload = <function> defined @WeakAuras\WeakAuras.lua:1703
 subRegionTypes = <table> {
 }
 ToggleMinimap = <function> defined @WeakAuras\WeakAuras.lua:154
 array_entry_name_types = <table> {
 }
 RegisterLoadEvents = <function> defined @WeakAuras\WeakAuras.lua:1561
 FixGroupChildrenOrderForGroup = <function> defined @WeakAuras\WeakAuras.lua:3573
 blend_types = <table> {
 }
 text_automatic_width = <table> {
 }
 CheckSpellCooldown = <function> defined @WeakAuras\GenericTrigger.lua:2153
 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:1928
 sound_channel_types = <table> {
 }
 CheckCooldownReady = <function> defined @WeakAuras\GenericTrigger.lua:2339
 event_prototypes = <table> {
 }
 CanHaveDuration = <function> defined @WeakAuras\WeakAuras.lua:3259
 NeedToRepairDatabase = <function> defined @WeakAuras\WeakAuras.lua:2126
 StopProfileSystem = <function> defined @WeakAuras\Init.lua:72
 classification_types = <table> {
 }
 unit_types_bufftrigger_2 = <table> {
 }
 CheckSpellCooldows = <function> defined @WeakAuras\GenericTrigger.lua:2213
 IsOptionsProcessingPaused = <function> defined @WeakAuras\WeakAuras.lua:1320
 ValueFromPath = <function> defined @WeakAuras\WeakAuras.lua:3525
 Login = <function> defined @WeakAuras\WeakAuras.lua:980
 GetTriggerConditions = <function> defined @WeakAuras\WeakAuras.lua:3369
 trigger_require_types_one = <table> {
 }
 bufftrigger_progress_behavior_types = <table> {
 }
 chat_message_types = <table> {
 }
 precision_types = <table> {
 }
 pvp_talent_types_specific = <table> {
 }
 item_weapon_types = <table> {
 }
 grow_types = <table> {
 }
 GetRegionByUID = <function> defined @WeakAuras\WeakAuras.lua:2906
 combatlog_raid_mark_check_type = <table> {
 }
 trigger_modes = <table> {
 }
 ContainsCustomPlaceHolder = <function> defined @WeakAuras\WeakAuras.lua:4192
 dynamic_texts = <table> {
 }
 character_types = <table> {
 }
 orientation_types = <table> {
 }
 difficulty_info = <table> {
 }
 CheckSpellKnown = <function> defined @WeakAuras\GenericTrigger.lua:2141
 aura_types = <table> {
 }
 icon_side_types = <table> {
 }
 align_types = <table> {
 }
 UnregisterForGlobalConditions = <function> defined @Interface

--------
2x WeakAuras\SubRegionTypes\Glow.lua:327: attempt to call method 'AnchorSubRegion' (a nil value)
[string "@WeakAuras\SubRegionTypes\Glow.lua"]:327: in function `modify'
[string "@WeakAuras\RegionTypes\RegionPrototype.lua"]:611: in function `modifyFinish'
[string "@WeakAuras\RegionTypes\Text.lua"]:291: in function `modify'
[string "@WeakAuras\WeakAuras-3.1.4.lua"]:2859: in function `SetRegion'
[string "@WeakAuras\WeakAuras.lua"]:2754: in function <WeakAuras\WeakAuras.lua:2660>
[string "@WeakAuras\WeakAuras.lua"]:2789: in function `Add'
[string "@WeakAuras\WeakAuras.lua"]:2320: in function `load'
[string "@WeakAuras\WeakAuras.lua"]:2327: in function `AddMany'
[string "@WeakAuras\WeakAuras.lua"]:1009: in function <WeakAuras\WeakAuras.lua:981>

[string "@WeakAuras\WeakAuras-3.1.4.lua"]:1131: in function <WeakAuras\WeakAuras.lua:1082>

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots I just login into my rogue and the final line in the text is the error I am getting. [https://imgur.com/16eSgOa]

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

Which version of WeakAuras are you using?

3.1.4 **Are you on World of Warcraft Classic or Retail?**

Was it working in a previous version? If yes, which was the last good one?

Yes it was working in a previous sesstion

Additional Info

mrbuds commented 3 years ago

Please include your settings

InfusOnWoW commented 3 years ago

That error is probably caused by a several outdated masque addon.

Cenarin commented 3 years ago

I deleted my Saved variables folder under my account information and I believe that resolved the issue. I can now import the WeakAuras.