[CF 1360] 7.1.5 issues - version 8.2.4
tmw-issue-import opened this issue ยท 3 comments
1x ...\TellMeWhen\Components\Core\Spells\Equivalencies.lua:524: attempt to compare two nil values
...\TellMeWhen\Components\Core\Spells\Equivalencies.lua:524: in function <...\TellMeWhen\Components\Core\Spells\Equivalencies.lua:477>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
TellMeWhen\TellMeWhen-8.2.4.lua:800: in function `Fire'
TellMeWhen\TellMeWhen-8.2.4.lua:1155: in function `?'
...non\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <...non\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...non\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function `Fire'
...aceBagnon\libs\AceEvent-3.0\AceEvent-3.0-3.lua:52: in function <...aceBagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:51>
Locals:
nil
4x TellMeWhen\Components\Core\Group-Group.lua:328: bad argument #2 to 'band' (number expected, got nil)
[C]: in function `band'
TellMeWhen\Components\Core\Group-Group.lua:328: in function <TellMeWhen\Components\Core\Group.lua:309>
TellMeWhen\Components\Core\Group-Group.lua:345: in function `ShouldUpdateIcons'
TellMeWhen\Components\Core\Group-Group.lua:392: in function `Setup_Conditions'
TellMeWhen\Components\Core\Group-Group.lua:476: in function <TellMeWhen\Components\Core\Group.lua:424>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
TellMeWhen\TellMeWhen-8.2.4.lua:2654: in function `UpdateNormally'
TellMeWhen\TellMeWhen-8.2.4.lua:2786: in function `Update'
TellMeWhen\TellMeWhen-8.2.4.lua:1161: in function `?'
...non\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <...non\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[C]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
...non\libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function `Fire'
...aceBagnon\libs\AceEvent-3.0\AceEvent-3.0-3.lua:52: in function <...aceBagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:51>
Locals:
nil
Posted by CurseForge user transitbus | Imported from CurseForge issue #1360 | Raw
This seemed to resolve my problems so far
local _, _, _, _, _, role = GetSpecializationInfo(currentSpec)
in utils.lua line 1459
Just change hte returned value placement to here
local _, _, _, _, role = GetSpecializationInfo(currentSpec)
When I did a /dump of that function the 5th value was role it seems.
Edited Jan 10, 2017
Posted by CurseForge user transitbus
They removed the 'background' return on that function so it went from 7 return values to 6. The adjustment transitbus made is correct. A few addons will end up needing to make the same adjustment.
Edited Jan 10, 2017
Posted by CurseForge user Torchler
In Core\Spells\Equivalencies.lua I simply commented out the version check until a fix is provided.
-- if clientVersion >= addonVersion then -- only warn for newer clients using older versions
-- TMW:Debug("Invalid spellID found: %s (%s - %s)!",
-- realSpellID, category, equiv)
-- end
Edited Jan 10, 2017
Posted by CurseForge user transitbus