WeakAuras

WeakAuras

200M Downloads

Bug error

AHobart23 opened this issue ยท 11 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

Keep getting a error spamming my chat when in group content.

WeakAuras Version

5.9.2

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

  • Yes

Lua Error

2x [ADDON_ACTION_BLOCKED] AddOn 'WeakAuras' tried to call the protected function 'IsItemInRange()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `IsItemInRange'
[string "return function()"]:4: in function <[string "return function()"]:1>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras/GenericTrigger.lua"]:714: in function <WeakAuras/GenericTrigger.lua:623>
[string "@WeakAuras/GenericTrigger.lua"]:863: in function `ScanEventsInternal'
[string "@WeakAuras/GenericTrigger.lua"]:817: in function `ScanEvents'
[string "@WeakAuras/GenericTrigger.lua"]:1062: in function <WeakAuras/GenericTrigger.lua:1047>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

Reproduction Steps

This happens every time I am in a raid boss fight multiple times per fight.

Last Good Version

No response

Screenshots

No response

Export String

No response

commented

dump value=weakauras.versionstring [1]="5.9.2"

Sorry this is my first time doing something like this and im unfamiliar with github. I see my Lua error above?

commented

It's this field that you skipped, we need the zip file
image

commented

WeakAuras.zip

Thank you for your time.

commented

github question

Of all of this?

commented

The first one

commented

This should be caused by an aura called Mark of the Wild (Missing)
Solution is to remove this aura

I'll keep this ticket open to investigate if we can improve error report to include aura's name

commented

data for this aura:

{
		["Mark of the Wild (Missing)"] = {
			["outline"] = "OUTLINE",
			["iconSource"] = -1,
			["wagoID"] = "-ibMETEJT",
			["parent"] = "Druid Utility",
			["preferToUpdate"] = false,
			["customText"] = "",
			["shadowYOffset"] = -1,
			["anchorPoint"] = "LEFT",
			["semver"] = "1.0.5",
			["cooldownSwipe"] = true,
			["zoom"] = 0.3,
			["customTextUpdate"] = "update",
			["cooldownEdge"] = false,
			["icon"] = true,
			["triggers"] = {
				{
					["trigger"] = {
						["debuffType"] = "HELPFUL",
						["type"] = "custom",
						["unevent"] = "auto",
						["custom_type"] = "status",
						["subeventSuffix"] = "_CAST_START",
						["use_specific_unit"] = false,
						["genericShowOn"] = "showOnActive",
						["unit"] = "group",
						["event"] = "Chat Message",
						["events"] = "WA_DELAYED_PLAYER_ENTERING_WORLD, UNIT_AURA, GROUP_ROSTER_UPDATE, PLAYER_REGEN_ENABLED, PLAYER_TARGET_CHANGED",
						["spellIds"] = {
						},
						["custom"] = "function()\n    for unit in WA_IterateGroupMembers() do\n        if UnitExists(unit) then\n            if not UnitIsDeadOrGhost(unit) and IsItemInRange(41058, unit) then\n                if WA_GetUnitBuff(unit, 1126) == nil then\n                    return true\n                end\n            end\n        end\n    end\nend",
						["check"] = "event",
						["names"] = {
						},
						["subeventPrefix"] = "SPELL",
						["custom_hide"] = "timed",
					},
					["untrigger"] = {
						["custom"] = "function()\n    for unit in WA_IterateGroupMembers() do\n        if UnitExists(unit) then\n            if not UnitIsDeadOrGhost(unit) and IsItemInRange(41058, unit) then\n                if WA_GetUnitBuff(unit, 1126) == nil then\n                    return false\n                end\n            end\n        end\n    end\n    return true\nend",
					},
				}, -- [1]
				["disjunctive"] = "all",
				["activeTriggerMode"] = -10,
			},
			["internalVersion"] = 70,
			["keepAspectRatio"] = true,
			["selfPoint"] = "RIGHT",
			["actions"] = {
				["start"] = {
				},
				["finish"] = {
				},
				["init"] = {
					["custom"] = "",
				},
			},
			["cooldown"] = false,
			["conditions"] = {
			},
			["desaturate"] = false,
			["automaticWidth"] = "Auto",
			["font"] = "GothamNarrowUltra",
			["version"] = 6,
			["subRegions"] = {
				{
					["type"] = "subbackground",
				}, -- [1]
				{
					["border_size"] = 1,
					["type"] = "subborder",
					["border_color"] = {
						0, -- [1]
						0, -- [2]
						0, -- [3]
						1, -- [4]
					},
					["border_visible"] = true,
					["border_edge"] = "Square Full White",
					["border_offset"] = 1,
				}, -- [2]
				{
					["glowFrequency"] = 0.25,
					["type"] = "subglow",
					["glowDuration"] = 1,
					["glowType"] = "buttonOverlay",
					["glowThickness"] = 1,
					["glowYOffset"] = 0,
					["glowColor"] = {
						1, -- [1]
						1, -- [2]
						1, -- [3]
						1, -- [4]
					},
					["useGlowColor"] = false,
					["glowXOffset"] = 0,
					["glowScale"] = 1,
					["glow"] = true,
					["glowLength"] = 10,
					["glowLines"] = 8,
					["glowBorder"] = false,
				}, -- [3]
			},
			["height"] = 33,
			["yOffset"] = 0,
			["load"] = {
				["ingroup"] = {
					["multi"] = {
					},
				},
				["use_never"] = false,
				["use_ignoreNameRealm"] = false,
				["use_class_and_spec"] = false,
				["use_class"] = true,
				["role"] = {
					["multi"] = {
					},
				},
				["size"] = {
					["multi"] = {
					},
				},
				["talent2"] = {
					["multi"] = {
					},
				},
				["class_and_spec"] = {
					["single"] = 73,
					["multi"] = {
						[103] = true,
						[104] = true,
						[102] = true,
						[105] = true,
					},
				},
				["talent"] = {
					["multi"] = {
					},
				},
				["use_vehicle"] = false,
				["spec"] = {
					["multi"] = {
					},
				},
				["difficulty"] = {
					["multi"] = {
					},
				},
				["faction"] = {
					["multi"] = {
					},
				},
				["ignoreNameRealm"] = "Shyvena",
				["pvptalent"] = {
					["multi"] = {
					},
				},
				["zoneIds"] = "",
				["use_petbattle"] = false,
				["race"] = {
					["multi"] = {
					},
				},
				["class"] = {
					["single"] = "WARRIOR",
					["multi"] = {
					},
				},
			},
			["animation"] = {
				["start"] = {
					["easeStrength"] = 3,
					["type"] = "none",
					["duration_type"] = "seconds",
					["easeType"] = "none",
				},
				["main"] = {
					["type"] = "none",
					["easeType"] = "none",
					["easeStrength"] = 3,
					["duration_type"] = "seconds",
					["preset"] = "alphaPulse",
				},
				["finish"] = {
					["easeStrength"] = 3,
					["type"] = "none",
					["duration_type"] = "seconds",
					["easeType"] = "none",
				},
			},
			["config"] = {
			},
			["fontSize"] = 36,
			["source"] = "import",
			["frameStrata"] = 2,
			["shadowXOffset"] = 1,
			["width"] = 33,
			["alpha"] = 1,
			["anchorFrameFrame"] = "SUFUnitplayer",
			["regionType"] = "icon",
			["displayIcon"] = 136078,
			["wordWrap"] = "WordWrap",
			["xOffset"] = 0,
			["justify"] = "LEFT",
			["color"] = {
				1, -- [1]
				1, -- [2]
				1, -- [3]
				1, -- [4]
			},
			["displayText"] = "***Fortitude: Stamina***",
			["cooldownTextDisabled"] = true,
			["auto"] = true,
			["tocversion"] = 100200,
			["id"] = "Mark of the Wild (Missing)",
			["url"] = "https://wago.io/-ibMETEJT/6",
			["useCooldownModRate"] = true,
			["anchorFrameType"] = "SELECTFRAME",
			["authorOptions"] = {
			},
			["uid"] = "au1hiwCrhVs",
			["inverse"] = true,
			["stickyDuration"] = false,
			["shadowColor"] = {
				0, -- [1]
				0, -- [2]
				0, -- [3]
				1, -- [4]
			},
			["fixedWidth"] = 200,
			["information"] = {
				["forceEvents"] = true,
				["ignoreOptionsEventErrors"] = true,
			},
			["iconInset"] = 0,
		},
}
commented

Yeah thats it i deleted the weakaura and it didnt happen once. THank you so much.

commented

What is the result of this command?

/dump WeakAuras.versionString
commented

Also your data is missing in the ticket

commented

I don't see how it's possible to get more details on ADDON_ACTION_BLOCKED