WeakAuras 2

12 - Dynamic group issue.

What steps will reproduce the problem?
1. I attempt to create an intelligent dynamic group who adapt to any trinket/enchant procs. even if i change one of them.
2. For reason (1.) i programmed it to watch for the "Intellect" string in tooltip (advenced aura)
3. Works well, except for only one aura who cause instantly 10 lua errors when occure.

It's look like my program try to display the info, but can't

What is the expected output? What do you see instead?

The exepted output is to display all aura who have "Intellect" writted in aura tooltip.

What version of the product are you using?

1.4.7 and 2.0 (the bug persisted)

Do you have an error log of what happened?

Message: WeakAuras\WeakAuras-r306.lua:2336 attempt to concatenate local "casGUID" (a nil value)
Time: 09/26/13 23:58:22
Count: 27
Stack: Interface\AddOns\WeakAuras\WeakAuras.lua:1712 in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1709

Locals: (for generator) = <function> defined =[C]:-1
(for state) = <table> {
}
(for control) = "player"
unit = "player"
_ = true
pairs = <function> defined =[C]:-1
aura_scan_cooldowns = <table> {
}
WeakAuras = <table> {
 SetAuraVisibility = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:2522
 ShowSpellIDDialog = <function> defined @Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:8328
 GetRuneCooldown = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:737
 frame_strata_types = <table> {
 }
 DisplayToString = <function> defined @Interface\AddOns\WeakAuras\Transmission.lua:368
 UnregisterEveryFrameUpdate = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4588
 regions = <table> {
 }
 CreateTutorialsFrame = <function> defined @Interface\AddOns\WeakAurasTutorials\TutorialCore.lua:401
 duration_types = <table> {
 }
 EnsureClone = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:3737
 debug = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:174
 CanShowNameInfo = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4348
 tutorials = <table> {
 }
 RemoveGTFO = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:5048
 pAdd = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:3228
 Rename = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:2648
 IsRegisteredForCustomTextUpdates = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4988
 LayoutDisplayButtons = <function> defined @Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:1415
 transmitCache = <table> {
 }
 event_types = <table> {
 }
 TenchInit = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4618
 raidUnits = <table> {
 }
 miss_types = <table> {
 }
 GetGCDInfo = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:761
 OpenIconPick = <function> defined @Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:8197
 OpenOptions = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:66
 autoeventend_types = <table> {
 }
 CanGroupShowWithZero = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4326
 talent_types = <table> {
 }
 GetSpellCooldown = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:745
 LoadFunction = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:284
 circular_group_constant_factor_types = <table> {
 }
 GetAuraTooltipInfo = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4729
 events = <table> {
 }
 AddManyFromAddons = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:2755
 WatchForMounts = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4857
 StringToTable = <function> defined @Interface\AddOns\WeakAuras\Transmission.lua:350
 class_color_types = <table> {
 }
 blend_types = <table> {
 }
 ImportString = <function> defined @Interface\AddOns\WeakAuras\Transmission.lua:784
 GetPolarCoordinates = <function> defined @Interface\AddOns\WeakAuras\RegionTypes\dynamicgroup.lua:36
 CreateFrame = <function> defined @Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:5703
 threat_unit_types = <table> {
 }
 Deserialize = <function> defined @Interface\AddOns\Gladius\Libs\AceSerializer-3.0\AceSerializer-3.0.lua:242
 group_types = <table> {
 }
 RuneCooldownForce = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1059
 text_rotate_types = <table> {
 }
 CurrentUnit = "player"
 MultipleDisplayTooltipDesc = <function> defined @Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:121
 UpdateMouseoverTooltip = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:4459
 spec_types = <table> {
 }
 WatchSpellCooldown = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1013
 RegisterCustomTextUpdates

Please provide any additional information below.

I think that problem comes from dynamics groups problems.

Furthermore, i would like to say that your addon is my high favorite.
it's a very very good work, and that type of issues are very rare. (i think it's the real first one i see !)
Keep this awesome work, for this essential addon !

Guema, 90 mage (Garona EU)

User When Change
Guema Sep 26, 2013 at 22:52 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of ccKep ccKep Oct 05, 2013 at 01:12 UTC - 1 like

    Jade Spirit doesn't contain a caster, I helped someone to debug a rather simple Jade Spirit aura.

    Trigger: Aura Name: Jade Spirit Unit: Player Type: Buff [x] Own Only

    The "Own Only" part was what stopped the aura from working, guess it's similar here.

  • Avatar of Guema Guema Oct 01, 2013 at 17:29 UTC - 0 likes

    @Veldock: Go

    nope, i programmed it with the event based tools featured in the addon (classical way with full scan) i use 2 criteria : "Intel" string have to be found in buff description. (full scan requied) the returned nuber of the aura must be better or equal than 1650. (check the checkbox who replace stacks by integer(full scan requid again)).

    The first is here to select only aura who affect intellect, typically, procs and buff. the second is here to ignore all buffs like carac buff who typically return 5 (for 5%) for number.

    The aura works with every procs of intellect excepted Jade spirit. I suspect that the problem comes from the Jade spirit tooltip dynamics, who can sometimes show + 1650 intellect and sometimes show +1650 intellect and + 750 spirit. I think the tooltip contains special unshowable characters who kill the full scan. It's the most credible explication...

  • Avatar of Veldock Veldock Oct 01, 2013 at 03:02 UTC - 0 likes

    are you able to provide a string..

    basically somewhere in aura, its trying to add a variable (casGUID) that is nil (nothing in it), to a string output and it cant do that because its nothing.

    its possible that one of your int buffs doesn't return who actually casted it on you, resulting in a nil value, and giving you this error. Is there custom lua in this aura?

  • 3 comments

Facts

Reported
Sep 26, 2013
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees