Thaoky / Altoholic_Retail

WoW Altoholic Addon (WoW Retail version)
24 stars 5 forks source link

Altoholic v10.2.014 (retail) - Unable to delete characters and reset all data; "yes" button is broken #16

Closed avarose8910 closed 4 months ago

avarose8910 commented 4 months ago

Already deleted and reinstalled the addon and all DataStore addons, as well as the SavedVariables files

18x DataStore/API/Core.lua:304: attempt to index field 'db' (a nil value) [string "@DataStore/API/Core.lua"]:304: in function IterateDBModules' [string "@DataStore/DataStore.lua"]:317: in functionDeleteCharacter' [string "@Altoholic_Summary/Columns_CharacterInformation.lua"]:74: in function onClickButton1' [string "@AddonFactory/Templates/MessageBox.lua"]:35: in functionButton_OnClick'

Locals: self =

{ GetCharacterID = defined @DataStore/DataStore.lua:119 IsCurrentPlayerKey = defined @DataStore/DataStore.lua:195 GuildBroadcast = defined @DataStore/API/GuildComm.lua:163 DeleteCharacter = defined @DataStore/DataStore.lua:312 GetCharacterDB = defined @DataStore/API/Core.lua:217 IsCharacterBasedMethod = defined @DataStore/API/Core.lua:267 DeleteGuild = defined @DataStore/DataStore.lua:329 GetCharacterKey = defined @DataStore/DataStore.lua:123 GetHashSize = defined @DataStore/API/Utility.lua:6 GetLocale = defined @DataStore/API/Locale.lua:55 CopyTable = defined @DataStore/API/Utility.lua:50 UpdateMyMemoryUsage = defined @DataStore/Options.lua:170 ThisCharID = 18 SetLocale = defined @DataStore/API/Locale.lua:42 SetDefaults = defined @DataStore/API/Core.lua:229 GetModuleLastUpdateByKey = defined @DataStore/API/Core.lua:334 GetThisGuildKey = defined @DataStore/DataStore.lua:291 Enum =
{ } GetOnlineGuildMembers = defined @DataStore/API/GuildComm.lua:253 RegisterMethod = defined @DataStore/API/Core.lua:141 RegisterModule = defined @DataStore/API/Core.lua:161 AddOrGetAutoID = defined @DataStore/API/Utility.lua:90 ClearAllData = defined @DataStore/DataStore.lua:372 GetGuilds = defined @DataStore/DataStore.lua:257 GetAccounts = defined @DataStore/DataStore.lua:173 IterateCharacters = defined @DataStore/DataStore.lua:203 StopListeningTo = defined @DataStore/API/Core.lua:200 SetupInfoPanel = defined @DataStore/Options.lua:102 GetGuildMemberAlts = defined @DataStore/API/GuildComm.lua:246 SetGuildBasedMethod = defined @DataStore/API/Core.lua:275 SetGuildCommCallbacks = defined @DataStore/API/GuildComm.lua:227 IsCurrentPlayer = defined @DataStore/DataStore.lua:189 GuildWhisper = defined @DataStore/API/GuildComm.lua:155 OnGuildComm = defined @DataStore/Events/Comm.lua:70 IsModuleEnabled = defined @DataStore/API/Core.lua:293 GetCharacter = defined @DataStore/DataStore.lua:112 IterateDBModules = defined @DataStore/API/Core.lua:302 StoreToSetAndList = defined @DataStore/API/Utility.lua:112 GetMethodOwner = defined @DataStore/API/Core.lua:245 ThisFaction = "Alliance" GetGuildFaction = defined @DataStore/DataStore.lua:282 ThisChar = "Johndoex" GetGuildMemberInfo = defined @DataStore/API/GuildComm.lua:232 OnUpdate = defined @DataStore/Options.lua:227 GetCharacterTable = defined @DataStore/API/Core.lua:319 GetNameOfMain = defined @DataStore/API/GuildComm.lua:262 SetDefaultLocale = defined @DataStore/API/Locale.lua:35 Frames = DataStoreFrames { } ListenTo = defined @DataStore/API/Core.lua:199 GetGuild = defined @DataStore/DataStore.lua:242 OnPlayerLogin = defined @DataStore/Events/Loading.lua:50 Print = defined @DataStore/API/Core.lua:198 ThisAccount = "Default" SetCheckBoxT

justadakaje commented 4 months ago

In trying to troubleshoot with Ava, I have a fresh install of the Altoholic addon, having never installed it before. Logged into first char and it is logged into the addon. I logged into a second char and still also see the first char. When I tried to delete the first char from addon while logged into the second, I also received similar error in BugSack:

4x DataStore/API/Core.lua:304: attempt to index field 'db' (a nil value) [string "@DataStore/API/Core.lua"]:304: in functionIterateDBModules' [string "@DataStore/DataStore.lua"]:375: in function ClearAllData' [string "@Altoholic_Summary/TabSummary.lua"]:155: in functiononClickButton1' [string "@AddonFactory/Templates/MessageBox.lua"]:35: in function `Button_OnClick'

Locals: self =

{ GetCharacterID = defined @DataStore/DataStore.lua:119 IsCurrentPlayerKey = defined @DataStore/DataStore.lua:195 GuildBroadcast = defined @DataStore/API/GuildComm.lua:163 DeleteCharacter = defined @DataStore/DataStore.lua:312 GetCharacterDB = defined @DataStore/API/Core.lua:217 IsCharacterBasedMethod = defined @DataStore/API/Core.lua:267 DeleteGuild = defined @DataStore/DataStore.lua:329 GetCharacterKey = defined @DataStore/DataStore.lua:123 GetHashSize = defined @DataStore/API/Utility.lua:6 GetLocale = defined @DataStore/API/Locale.lua:55 CopyTable = defined @DataStore/API/Utility.lua:50 UpdateMyMemoryUsage = defined @DataStore/Options.lua:170 ThisCharID = 1 SetLocale = defined @DataStore/API/Locale.lua:42 SetDefaults = defined @DataStore/API/Core.lua:229 GetModuleLastUpdateByKey = defined @DataStore/API/Core.lua:334 GetThisGuildKey = defined @DataStore/DataStore.lua:291 Enum =
{ } GetOnlineGuildMembers = defined @DataStore/API/GuildComm.lua:253 RegisterMethod = defined @DataStore/API/Core.lua:141 RegisterModule = defined @DataStore/API/Core.lua:161 AddOrGetAutoID = defined @DataStore/API/Utility.lua:90 ClearAllData = defined @DataStore/DataStore.lua:372 GetGuilds = defined @DataStore/DataStore.lua:257 GetAccounts = defined @DataStore/DataStore.lua:173 IterateCharacters = defined @DataStore/DataStore.lua:203 StopListeningTo = defined @DataStore/API/Core.lua:200 SetupInfoPanel = defined @DataStore/Options.lua:102 GetGuildMemberAlts = defined @DataStore/API/GuildComm.lua:246 SetGuildBasedMethod = defined @DataStore/API/Core.lua:275 SetGuildCommCallbacks = defined @DataStore/API/GuildComm.lua:227 IsCurrentPlayer = defined @DataStore/DataStore.lua:189 GuildWhisper = defined @DataStore/API/GuildComm.lua:155 OnGuildComm = defined @DataStore/Events/Comm.lua:70 IsModuleEnabled = defined @DataStore/API/Core.lua:293 GetCharacter = defined @DataStore/DataStore.lua:112 IterateDBModules = defined @DataStore/API/Core.lua:302 StoreToSetAndList = defined @DataStore/API/Utility.lua:112 GetMethodOwner = defined @DataStore/API/Core.lua:245 ThisFaction = "Horde" GetGuildFaction = defined @DataStore/DataStore.lua:282 ThisChar = "Kenestrasz" GetGuildMemberInfo = defined @DataStore/API/GuildComm.lua:232 OnUpdate = defined @DataStore/Options.lua:227 GetCharacterTable = defined @DataStore/API/Core.lua:319 GetNameOfMain = defined @DataStore/API/GuildComm.lua:262 SetDefaultLocale = defined @DataStore/API/Locale.lua:35 Frames = DataStoreFrames { } ListenTo = defined @DataStore/API/Core.lua:199 GetGuild = defined @DataStore/DataStore.lua:242 OnPlayerLogin = defined @DataStore/Events/Loading.lua:50 Print = defined @DataStore/API/Core.lua:198 ThisAccount = "Default" SetCheckBoxToo`

Thaoky commented 4 months ago

Fixed in .016 (release later today)