Steps to Reproduce (what did you do to make the bug happen):
I disabled all addons. And only details were enabled. I also deleted saved variables.
https://imgur.com/a/0qnDM0n
Result (what happens when you follow the steps above):
Everytime i log in to my account i get 4 lua errors.
Expected (what you think the expected behavior would be when following the steps):
When the bug started (a date, wow path release, details update, etc)?
Everytime i log in to my account i get 4 lua errors. No need to be in combat. i get this lua error every 2-3 second.
Additional information:
Lua ErrorFirst lua error:
Message: Interface/AddOns/Details/functions/spellcache.lua:248: attempt to concatenate a nil value
Time: Wed Jul 24 14:57:41 2024
Count: 1
Stack: Interface/AddOns/Details/functions/spellcache.lua:248: attempt to concatenate a nil value
Locals:
Second Lua Error
Message: Interface/AddOns/Details/startup.lua:503: attempt to call method 'GetDefaultCustomItemList' (a nil value)
Time: Wed Jul 24 14:57:45 2024
Count: 1
Stack: Interface/AddOns/Details/startup.lua:503: attempt to call method 'GetDefaultCustomItemList' (a nil value)
[string "@Interface/AddOns/Details/startup.lua"]:503: in function `StartMeUp'
[string "@Interface/AddOns/Details/core/parser.lua"]:6369: in function <Interface/AddOns/Details/core/parser.lua:6368>
This is the annoying lua error i get everytime
Message: Interface/AddOns/Details/core/parser.lua:2310: attempt to call field 'GetPetNameFromCustomSpells' (a nil value)
Time: Wed Jul 24 15:01:33 2024
Count: 19
Stack: Interface/AddOns/Details/core/parser.lua:2310: attempt to call field 'GetPetNameFromCustomSpells' (a nil value)
[string "@Interface/AddOns/Details/core/parser.lua"]:2310: in function <Interface/AddOns/Details/core/parser.lua:2276>
Just chiming in here, this issue ultimately stems from a failure to retrieve the spell details for Ebon Might in the custom spells lookup.
It seems like whenever it's being built, the spell customization table is unable to retrieve the spell info for ebon might. (Note: If you run this afterwards, it seems like the spell info is eventually made available. Perhaps the spell cache isn't fully loaded at first?)
Proposed temporary workaround:
Change line 248 in functions/spellcache.lua from
[395296] = {name = GetSpellInfo(395296) .. " (on your self)", icon = "Interface\\Addons\\Details\\images\\ebon_might"},
to
[395296] = {name = (GetSpellInfo(395296) or "none") .. " (on your self)", icon = "Interface\\Addons\\Details\\images\\ebon_might"},
Making this hotfix resolved all of my on-login lua errors stemming from this initial concat issue.
On Wed, Jul 24, 2024, 2:57 PM Spencer @.***> wrote:
Just chiming in here, this issue ultimately stems from a failure to
retrieve the spell details for Ebon Might in the custom spells lookup.
It seems like whenever it's being built, the spell customization table is
unable to retrieve the spell info for ebon might. (Note: If you run this
afterwards, it seems like the spell info is eventually made available.
Perhaps the spell cache isn't fully loaded at first?)
Proposed temporary workaround:
Change line 248 in functions/spellcache.lua from
[395296] = {name = GetSpellInfo(395296) .. " (on your self)", icon = "Interface\Addons\Details\images\ebon_might"},
to
[395296] = {name = (GetSpellInfo(395296) or "none") .. " (on your self)", icon = "Interface\Addons\Details\images\ebon_might"},
Making this hotfix resolved all of my on-login lua errors stemming from
this initial concat issue.
Just chiming in here, this issue ultimately stems from a failure to retrieve the spell details for Ebon Might in the custom spells lookup.
It seems like whenever it's being built, the spell customization table is unable to retrieve the spell info for ebon might. (Note: If you run this afterwards, it seems like the spell info is eventually made available. Perhaps the spell cache isn't fully loaded at first?)
Proposed temporary workaround:
Change line 248 in functions/spellcache.lua from
[395296] = {name = GetSpellInfo(395296) .. " (on your self)", icon = "Interface\\Addons\\Details\\images\\ebon_might"},
to
[395296] = {name = (GetSpellInfo(395296) or "none") .. " (on your self)", icon = "Interface\\Addons\\Details\\images\\ebon_might"},
Making this hotfix resolved all of my on-login lua errors stemming from this initial concat issue.
To explain whats actually going on: You have blizzard deprecation fallbacks enabled, which readds removed/soon to be removed functions. These were being used as if they were the new version of them, causing issues elsewhere. Newest releases fix this behavior
That's awesome! I'm not very familiar with this codebase yet, and I didn't realize that GetSpellInfo was a function coming from the addon/LibOpenRaid. I figured there was more going on than just some dysfunctional timing there.
It technically is not coming from libopenraid. It comes from blizzard, and TWW moved it to a new location/variable. They also changed the format of the information it gives back.
Blizzard added a cvar that loads the old functions (removed on tww launch)
LibOpenRaid was pulling the old and using it in place of the new
Steps to Reproduce (what did you do to make the bug happen): I disabled all addons. And only details were enabled. I also deleted saved variables. https://imgur.com/a/0qnDM0n
Result (what happens when you follow the steps above): Everytime i log in to my account i get 4 lua errors.
Expected (what you think the expected behavior would be when following the steps):
When the bug started (a date, wow path release, details update, etc)? Everytime i log in to my account i get 4 lua errors. No need to be in combat. i get this lua error every 2-3 second.
Additional information:
Lua Error First lua error: Message: Interface/AddOns/Details/functions/spellcache.lua:248: attempt to concatenate a nil value Time: Wed Jul 24 14:57:41 2024 Count: 1 Stack: Interface/AddOns/Details/functions/spellcache.lua:248: attempt to concatenate a nil value
Locals:
Second Lua Error Message: Interface/AddOns/Details/startup.lua:503: attempt to call method 'GetDefaultCustomItemList' (a nil value) Time: Wed Jul 24 14:57:45 2024 Count: 1 Stack: Interface/AddOns/Details/startup.lua:503: attempt to call method 'GetDefaultCustomItemList' (a nil value) [string "@Interface/AddOns/Details/startup.lua"]:503: in function `StartMeUp' [string "@Interface/AddOns/Details/core/parser.lua"]:6369: in function <Interface/AddOns/Details/core/parser.lua:6368>
Locals: lowerInstanceId = 1 (temporary) = nil (temporary) =
3rd Lua Error Message: Interface/AddOns/Details/startup.lua:28: attempt to call method 'FillUserCustomSpells' (a nil value) Time: Wed Jul 24 14:57:48 2024 Count: 1 Stack: Interface/AddOns/Details/startup.lua:28: attempt to call method 'FillUserCustomSpells' (a nil value) [string "@Interface/AddOns/Details/startup.lua"]:28: in function <Interface/AddOns/Details/startup.lua:26>
Locals: (temporary) = nil (temporary) =
This is the annoying lua error i get everytime Message: Interface/AddOns/Details/core/parser.lua:2310: attempt to call field 'GetPetNameFromCustomSpells' (a nil value) Time: Wed Jul 24 15:01:33 2024 Count: 19 Stack: Interface/AddOns/Details/core/parser.lua:2310: attempt to call field 'GetPetNameFromCustomSpells' (a nil value) [string "@Interface/AddOns/Details/core/parser.lua"]:2310: in function <Interface/AddOns/Details/core/parser.lua:2276>
Locals: self = nil token = "SPELL_SUMMON" time = 1721822493.126000 sourceSerial = "Player-1084-0AC49F26" sourceName = "Geolock" sourceFlags = 1297 petGuid = "Creature-0-3061-2548-263-143622-000020ED1D" petName = "Wild Imp" petFlags = 2600 petRaidFlags = 0 summonSpellId = 279910 summonSpellName = "Wild Imp" npcId = 143622 (temporary) = nil (temporary) = "Wild Imp" (temporary) = 279910 (temporary) = 143622 (*temporary) = "attempt to call field 'GetPetNameFromCustomSpells' (a nil value)" Details222 =
Screenshots https://imgur.com/3dqy9HQ https://imgur.com/SSeDbgq
Combat Log No need to see any combat log. https://imgur.com/BZlfopw
Just chiming in here, this issue ultimately stems from a failure to retrieve the spell details for Ebon Might in the custom spells lookup.
It seems like whenever it's being built, the spell customization table is unable to retrieve the spell info for ebon might. (Note: If you run this afterwards, it seems like the spell info is eventually made available. Perhaps the spell cache isn't fully loaded at first?)
Proposed temporary workaround:
Change line 248 in functions/spellcache.lua from
to
Making this hotfix resolved all of my on-login lua errors stemming from this initial concat issue.
Just update. This has been fixed
On Wed, Jul 24, 2024, 2:57 PM Spencer @.***> wrote:
To explain whats actually going on: You have blizzard deprecation fallbacks enabled, which readds removed/soon to be removed functions. These were being used as if they were the new version of them, causing issues elsewhere. Newest releases fix this behavior
@Flamanis
That's awesome! I'm not very familiar with this codebase yet, and I didn't realize that GetSpellInfo was a function coming from the addon/LibOpenRaid. I figured there was more going on than just some dysfunctional timing there.
Reading your PR #789 was helpful
It technically is not coming from libopenraid. It comes from blizzard, and TWW moved it to a new location/variable. They also changed the format of the information it gives back.
Blizzard added a cvar that loads the old functions (removed on tww launch)
LibOpenRaid was pulling the old and using it in place of the new