xod-wow / LiteMount

World of Warcraft addon LiteMount
GNU General Public License v2.0
31 stars 10 forks source link

Cata Classic - Handful of errors on load with new version, mount keybind not working #261

Closed gewoonnico closed 4 months ago

gewoonnico commented 4 months ago

Version: 11.0.0-4 (11.0.0-2+)

After updating from 10.2.7-4, I'm getting a few errors when logging in. The end result is my mount keybind not working at all. Downgrading to 10.2.7-4 again fixes the issue, downgrading to 11.0.0-2 did not.

Error 1 ``` 1x LiteMount/SpellInfo.lua:107: attempt to call field 'GetSpellName' (a nil value) [string "@LiteMount/SpellInfo.lua"]:107: in main chunk Locals: _ = "LiteMount" LM = { WarningAndPrint = defined @LiteMount/Print.lua:95 Print = defined @LiteMount/Print.lua:23 SPELL =
{ } PairsByKeys = defined @LiteMount/TableUtil.lua:43 FLAG =
{ } PrintError = defined @LiteMount/Print.lua:29 Localize =
{ } Warning = defined @LiteMount/Print.lua:91 TableToString = defined @LiteMount/TableUtil.lua:171 tJoin = defined @LiteMount/TableUtil.lua:56 tSlice = defined @LiteMount/TableUtil.lua:35 UIDebug = defined @LiteMount/Print.lua:82 Debug = defined @LiteMount/Print.lua:45 tUpdate = defined @LiteMount/TableUtil.lua:71 CreateAutoEventFrame = defined @LiteMount/AutoEventFrame.lua:24 ITEM =
{ } tMerge = defined @LiteMount/TableUtil.lua:81 tCopyShallow = defined @LiteMount/TableUtil.lua:29 tMap = defined @LiteMount/TableUtil.lua:15 GetDebugLines = defined @LiteMount/Print.lua:34 TableWithDefault = defined @LiteMount/TableUtil.lua:179 } C_Spell =
{ GetSchoolString = defined =[C]:-1 RequestLoadSpellData = defined =[C]:-1 TargetSpellReplacesBonusTree = defined =[C]:-1 DoesSpellExist = defined =[C]:-1 TargetSpellJumpsUpgradeTrack = defined =[C]:-1 IsSpellDataCached = defined =[C]:-1 GetSpellQueueWindow = defined =[C]:-1 } L =
{ Skitterfly = "Skitterfly" LM_PRIORITY = "Priority" Shardhide = "Shardhide" LM_HERB = "Herb" LM_PRIORITYMOUNT_DESCRIPTION = "Summon a random mount. Uses the priorities/rarities for summoning mounts more or less often (or never)." Deathroc = "Deathroc" Hivemind = "Hivemind" Salamanther = "Salamanther" LM_GROUPS = "Groups" Charhound = "Charhound" LM_LIMIT_MOUNTS = "Limit Mounts" LM_EVERY_D_MINUTES = "Every %d minutes" LM_PRIORITY_DESC3 = "A lot more often" Mechanocat = "Mechanocat" LM_DEFAULT_SETTINGS = "Default Settings" Mechacycle = "Mechacycle" Drake = "Drake" Goat = "Goat" Bakar = "Bakar" Rylak = "Rylak" LM_PRECAST_ACTION = "Cast Spell Before Mounting" Dragon Turtle = "Dragon Turtle" LM_RENAME_GROUP = "Rename Group" LM_LIMITSET_DESCRIPTION = "Limit the available mounts for all later actions to those specified." LM_EVERY_TIME = "Every time" Bonehoof = "Bonehoof" Wasp = "Wasp" Corpsefly = "Corpsefly" Basilisk = "Basilisk" Wyrm = "Wyrm" Eagle = "Eagle" LM_ON_SCREEN_DISPLAY = "On-Screen Display" LM_RESTORE_FORMS = "Try to restore druid shapeshift forms when dismounting." LM_RANDOM_PERSISTENCE = "How often to select a new random mount" SWIM = "Aquatic" Courser = "Courser" LM_NOT = "NOT" LM_PRIORITYMOUNT_ACTION = "Priority Mount" LM_HOLIDAY = "Holiday" LM_DEBUGGING_DISABLED = "Debugging disabled." Bloodswarmer = "Bloodswarmer" LM_SEASON_WINTER = "Winter" Hand = "Hand" LM_FLAG = "Flag" LM_NOT_FORMAT = "Not %s" Core Hound = "Core Hound" LM_CONDITIONS = "Conditions" LM_ERR_BAD_RULE = "Invalid rule '%s': %s" LM_GROUP = "Group" Devourer = "Devourer" LM_PREUSE_ACTION = "Use Item Before Mounting" LM_CURRENT_PROFILE = "Current Profile" Beetle = "Beetle" Murloc = "Murloc" LM_MACRO_EXP = "This macro will be run if LiteMount is unable to find a usable mount. This might be because you are indoors, or are moving and don't know any instant-cast mounts." Crab = "Crab" LM_LIMITINCLUDE_DESCRIPTION = "Add the specified mounts to the set available to later actions." Felhunter = "Felhunter" LM_PROFILES = "Profiles" LM_SHOW_ALL_MOUNTS = "Show all mounts" Dragonhawk = "Dragonhawk" Ram = "Ram" LM_STEADY_FLIGHT = "Steady Flight" LM_RARITY_FORMAT = "%0.1f%%" Slyvern = "Slyvern" Brutosaur = "Brutosaur" Rave ```
Error 2 ``` 1x LiteMount/Environment.lua:198: attempt to call field 'GetSpellName' (a nil value) [string "@LiteMount/Environment.lua"]:198: in main chunk Locals: _ = "LiteMount" LM =
{ WarningAndPrint = defined @LiteMount/Print.lua:95 Print = defined @LiteMount/Print.lua:23 SPELL =
{ } PairsByKeys = defined @LiteMount/TableUtil.lua:43 FLAG =
{ } PrintError = defined @LiteMount/Print.lua:29 Environment = Frame { } Localize =
{ } Warning = defined @LiteMount/Print.lua:91 TableToString = defined @LiteMount/TableUtil.lua:171 MOUNTFAMILY =
{ } tJoin = defined @LiteMount/TableUtil.lua:56 tSlice = defined @LiteMount/TableUtil.lua:35 UIDebug = defined @LiteMount/Print.lua:82 Debug = defined @LiteMount/Print.lua:45 tUpdate = defined @LiteMount/TableUtil.lua:71 CreateAutoEventFrame = defined @LiteMount/AutoEventFrame.lua:24 ITEM =
{ } tMerge = defined @LiteMount/TableUtil.lua:81 tCopyShallow = defined @LiteMount/TableUtil.lua:29 tMap = defined @LiteMount/TableUtil.lua:15 GetDebugLines = defined @LiteMount/Print.lua:34 TableWithDefault = defined @LiteMount/TableUtil.lua:179 } C_Spell =
{ GetSchoolString = defined =[C]:-1 RequestLoadSpellData = defined =[C]:-1 TargetSpellReplacesBonusTree = defined =[C]:-1 DoesSpellExist = defined =[C]:-1 TargetSpellJumpsUpgradeTrack = defined =[C]:-1 IsSpellDataCached = defined =[C]:-1 GetSpellQueueWindow = defined =[C]:-1 } C_MountJournal =
{ SetIsFavorite = defined =[C]:-1 IsSourceChecked = defined =[C]:-1 GetMountUsabilityByID = defined =[C]:-1 NeedsFanfare = defined =[C]:-1 GetCollectedDragonridingMounts = defined =[C]:-1 SetSourceFilter = defined =[C]:-1 SetDefaultFilters = defined =[C]:-1 IsUsingDefaultFilters = defined =[C]:-1 GetDisplayedMountInfo = defined =[C]:-1 SetSearch = defined =[C]:-1 ClearFanfare = defined =[C]:-1 IsValidSourceFilter = defined =[C]:-1 SetAllSourceFilters = defined =[C]:-1 GetMountFromSpell = defined =[C]:-1 GetMountLink = defined =[C]:-1 SummonByID = defined =[C]:-1 GetNumMounts = defined =[C]:-1 SetTypeFilter = defined =[C]:-1 GetDisplayedMountAllCreatureDisplayInfo = defined =[C]:-1 GetMountAllCreatureDisplayInfoByID = defined =[C]:-1 GetAllCreatureDisplayIDsForMountID = defined =[C]:-1 SetCollectedFilterSetting = defined =[C]:-1 GetNumDisplayedMounts = defined =[C]:-1 GetMountInfoByID = defined =[C]:-1 SetAllTypeFilters = defined =[C]:-1 Pickup = defined =[C]:-1 GetMountFromItem = defined =[C]:-1 GetIsFavorite = defined =[C]:-1 IsValidTypeFilter = defined =[C]:-1 Dismiss = defined =[C]:-1 GetMountIDs = defined =[C]:-1 GetMountInfoExtraByID = defined =[C]:-1 GetNumMountsNeedingFanfare = defined =[C]:-1 GetCollectedFilterSetting = defined =[C]:-1 ClearRecentFanfares = defined =[C]:-1 IsTypeChecked = defined =[C]:-1 GetDisplayedMountInfoExtra = defined =[C]:-1 GetDisplayedMountID = defined =[C]:-1 } onUpdateElapsed = 0 IsFalling = defined =[C]:-1 GetUnitNPCID = defined @LiteMount/Environment.lua:172 EncounterByNPCID =
{ 209539 = 2786 } (*temporary) = nil (*temporary) = 2366 (*temporary) = "attempt to call field 'GetSpellName' (a nil value)" ```
Error 3 ``` 1x LiteMount/LM_GhostWolf.lua:17: attempt to call field 'GetSpellName' (a nil value) [string "@LiteMount/LM_GhostWolf.lua"]:17: in main chunk Locals: _ = "LiteMount" LM =
{ WarningAndPrint = defined @LiteMount/Print.lua:95 Mount =
{ } TableWithDefault = defined @LiteMount/TableUtil.lua:179 Print = defined @LiteMount/Print.lua:23 SPELL =
{ } Spell =
{ } Journal =
{ } PairsByKeys = defined @LiteMount/TableUtil.lua:43 Options =
{ } FLAG =
{ } PrintError = defined @LiteMount/Print.lua:29 SecureAction =
{ } Environment = Frame { } Localize =
{ } Warning = defined @LiteMount/Print.lua:91 TableToString = defined @LiteMount/TableUtil.lua:171 MOUNTFAMILY =
{ } tJoin = defined @LiteMount/TableUtil.lua:56 tSlice = defined @LiteMount/TableUtil.lua:35 UIDebug = defined @LiteMount/Print.lua:82 Debug = defined @LiteMount/Print.lua:45 tUpdate = defined @LiteMount/TableUtil.lua:71 CreateAutoEventFrame = defined @LiteMount/AutoEventFrame.lua:24 ITEM =
{ } tMerge = defined @LiteMount/TableUtil.lua:81 tCopyShallow = defined @LiteMount/TableUtil.lua:29 tMap = defined @LiteMount/TableUtil.lua:15 GetDebugLines = defined @LiteMount/Print.lua:34 ItemSummoned =
{ } } C_Spell =
{ GetSchoolString = defined =[C]:-1 RequestLoadSpellData = defined =[C]:-1 TargetSpellReplacesBonusTree = defined =[C]:-1 DoesSpellExist = defined =[C]:-1 TargetSpellJumpsUpgradeTrack = defined =[C]:-1 IsSpellDataCached = defined =[C]:-1 GetSpellQueueWindow = defined =[C]:-1 } (*temporary) = nil (*temporary) = 168799 (*temporary) = "attempt to call field 'GetSpellName' (a nil value)" ```
Error 4 ``` 1x LiteMount/Actions.lua:390: attempt to call field 'GetDynamicFlightModeSpellID' (a nil value) [string "@LiteMount/Actions.lua"]:390: in main chunk Locals: _ = "LiteMount" LM =
{ TravelForm =
{ } Mount =
{ } RuleArguments =
{ } GetDebugLines = defined @LiteMount/Print.lua:34 FLAG =
{ } MountRegistry = Frame { } MountList =
{ } tUpdate = defined @LiteMount/TableUtil.lua:71 MOUNTFAMILY =
{ } CreateAutoEventFrame = defined @LiteMount/AutoEventFrame.lua:24 tJoin = defined @LiteMount/TableUtil.lua:56 UIDebug = defined @LiteMount/Print.lua:82 tMap = defined @LiteMount/TableUtil.lua:15 WarningAndPrint = defined @LiteMount/Print.lua:95 RuleSet =
{ } Rule =
{ } Journal =
{ } Print = defined @LiteMount/Print.lua:23 SPELL =
{ } Nagrand =
{ } Soar =
{ } Vars =
{ } Conditions =
{ } SlashCommandFunc = defined @LiteMount/SlashCommand.lua:229 PrintError = defined @LiteMount/Print.lua:29 SecureAction =
{ } RuleContext =
{ } RunningWild =
{ } RuleBoolean =
{ } Debug = defined @LiteMount/Print.lua:45 TableWithDefault = defined @LiteMount/TableUtil.lua:179 Spell =
{ } tSlice = defined @LiteMount/TableUtil.lua:35 PairsByKeys = defined @LiteMount/TableUtil.lua:43 Options =
{ } Environment = Frame { } Localize =
{ } ITEM =
{ } tMerge = defined @LiteMount/TableUtil.lua:81 tCopyShallow = defined @LiteMount/TableUtil.lua:29 Warning = defined @LiteMount/Print.lua:91 TableToString = defined @LiteMount/TableUtil.lua:171 ItemSummoned =
{ } } C_Spell =
{ GetSchoolString = defined =[C]:-1 RequestLoadSpellData = defined =[C]:-1 TargetSpellReplacesBonusTree = defined =[C]:-1 DoesSpellExist = defined =[C]:-1 TargetSpellJumpsUpgradeTrack = defined =[C]:-1 IsSpellDataCached = defined =[C]:-1 GetSpellQueueWindow = defined =[C]:-1 } C_MountJournal =
{ SetIsFavorite = defined =[C]:-1 IsSourceChecked = defined =[C]:-1 GetMountUsabilityByID = defined =[C]:-1 NeedsFanfare = defined =[C]:-1 GetCollectedDragonridingMounts = defined =[C]:-1 SetSourceFilter = defined =[C]:-1 SetDefaultFilters = defined =[C]:-1 IsUsingDefaultFilters = defined =[C]:-1 GetDisplayedMountInfo = defined =[C]:-1 SetSearch = defined =[C]:-1 ClearFanfare = defined =[C]:-1 IsValidSourceFilter = defined =[C]:-1 SetAllSourceFilters = defined =[C]:-1 GetMountFromSpell = defined =[C]:-1 GetMountLink = defined =[C]:-1 SummonByID = defined =[C]:-1 GetNumMounts = defined =[C]:-1 SetTypeFilter = defined =[C]:-1 GetDisplayedMountAllCreatureDisplayInfo = defined =[C]:-1 GetMountAllCreatureDisplayInfoByID = defined =[C]:-1 GetAllCreatureDisplayIDsForMountID = defined =[C]:-1 SetCollectedFilterSetting = defined =[C]:-1 GetNumDisplayedMounts = defined =[C]:-1 GetMountInfoByID = defined =[C]:-1 SetAllTypeFilters = defined =[C]:-1 Pickup = defined =[C]:-1 GetMountFromItem = defined =[C]:-1 GetIsFavorite = defined =[C]:-1 IsValidTypeFilter = defined =[C]:-1 Dismiss = defined =[C]:-1 GetMountIDs = defined =[C]:-1 GetMountInfoExtraByID = defined =[C]:-1 GetNumMountsNeedingFanfare = defined =[C]:-1 GetCollectedFilterSetting = < ```
Error 5 ``` 1x LiteMount/LM_Spell.lua:24: attempt to call field 'GetSpellInfo' (a nil value) [string "@LiteMount/LM_Spell.lua"]:24: in function [string "=(tail call)"]: ? [string "@LiteMount/Mount.lua"]:36: in function `Get' [string "@LiteMount/MountRegistry.lua"]:247: in function `AddSpellMounts' [string "@LiteMount/MountRegistry.lua"]:110: in function `Initialize' [string "@LiteMount/Core.lua"]:46: in function `Initialize' [string "@LiteMount/Core.lua"]:77: in function `?' [string "@LiteMount/AutoEventFrame.lua"]:20: in function Locals: self =
{ IsCastable = defined @LiteMount/LM_RunningWild.lua:31 __index =
{ } Get = defined @LiteMount/LM_RunningWild.lua:18 } spellID = 87840 (*temporary) = nil (*temporary) = 87840 (*temporary) = "attempt to call field 'GetSpellInfo' (a nil value)" C_Spell =
{ GetSchoolString = defined =[C]:-1 RequestLoadSpellData = defined =[C]:-1 TargetSpellReplacesBonusTree = defined =[C]:-1 DoesSpellExist = defined =[C]:-1 TargetSpellJumpsUpgradeTrack = defined =[C]:-1 IsSpellDataCached = defined =[C]:-1 GetSpellQueueWindow = defined =[C]:-1 } LM =
{ TravelForm =
{ } Mount =
{ } RuleArguments =
{ } GetDebugLines = defined @LiteMount/Print.lua:34 FLAG =
{ } MountRegistry = Frame { } MountList =
{ } tUpdate = defined @LiteMount/TableUtil.lua:71 MOUNTFAMILY =
{ } CreateAutoEventFrame = defined @LiteMount/AutoEventFrame.lua:24 tJoin = defined @LiteMount/TableUtil.lua:56 UIDebug = defined @LiteMount/Print.lua:82 tMap = defined @LiteMount/TableUtil.lua:15 UIFilter =
{ } WarningAndPrint = defined @LiteMount/Print.lua:95 ActionButton =
{ } RuleSet =
{ } Rule =
{ } Journal =
{ } Print = defined @LiteMount/Print.lua:23 SPELL =
{ } Nagrand =
{ } Soar =
{ } Vars =
{ } Conditions =
{ } SlashCommandFunc = defined @LiteMount/SlashCommand.lua:229 PrintError = defined @LiteMount/Print.lua:29 SecureAction =
{ } RuleContext =
{ } RunningWild =
{ } RuleBoolean =
{ } Debug = defined @LiteMount/Print.lua:45 TableWithDefault = defined @LiteMount/TableUtil.lua:179 Spell =
{ } tSlice = defined @LiteMount/TableUtil.lua:35 PairsByKeys = defined @LiteMount/TableUtil.lua:43 Options =
{ } Environment = Frame { } Localize =
{ } ITEM =
{ } tMerge = defined @LiteMount/TableUtil.lua:81 tCopyShallow = defined @LiteMount/TableUtil.lua:29 Warning = defined @LiteMount/Print.lua:91 TableToString = defined @LiteMount/TableUtil.lua:171 ItemSummoned =
{ } } ```
mbattersby commented 4 months ago

Hmm, that's super weird. I don't have these errors on classic, I wonder if your installer has left some of the old files around from a previous version of LiteMount.

Can you try uninstalling it completely and re-installing and see if that helps?

mbattersby commented 4 months ago

In particular if the LiteMount folder has any .toc files that aren't LiteMount.toc that is definitely an error and will make it fail (e.g., LiteMount-Cata.toc).

gewoonnico commented 4 months ago

Yep that seems to be the issue actually, sorry for the false issue! 🙇

mbattersby commented 4 months ago

No problem at all, thanks for taking the time to log tickets I really appreciate it. Glad you got it sorted out.