sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
25 stars 45 forks source link

Timestamp lua error #201

Open TreizeEU opened 3 years ago

TreizeEU commented 3 years ago

Anyone know what this lua error are caused by? Several other addons are mentioned, and it only triggers sometimes when I log onto a character.

139x Prat-3.0-3.9.1\modules\Timestamps.lua:648: attempt to index local 'entry' (a nil value) [string "@Prat-3.0-3.9.1\modules\Timestamps.lua"]:648: in function <Prat-3.0\modules\Timestamps.lua:645>

string "=[C]": in function `AddMessage' [string "@DataStore\libs\AceConsole-3.0\AceConsole-3.0-7.lua"]:47: in function <...Ons\DataStore\libs\AceConsole-3.0\AceConsole-3.0.lua:37>

[string "@GarrisonCommander\libs\LibInit\LibInit-62.lua"]:1737: in function <...ceGarrisonCommander\libs\LibInit\LibInit.lua:1734>

[string "@DataStore\libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:65> [string "@DataStore\libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:527: in function `EnableAddon' [string "@DataStore\libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:630: in function <DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:615>

Locals: self =

{ SetDefaultModuleLibraries = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:367 Enable = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:294 NewModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:235 EnableModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:332 modules =
{ } GetModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:210 IterateEmbeds = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:442 SecureHookScript = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:410 defaultModuleLibraries =
{ } GetTime = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:100 pluginopts =
{ } Prat_FramesRemoved = defined @Prat-3.0\modules\Timestamps.lua:636 RawHookScript = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:395 GetName = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:279 name = "Prat_Timestamps" IsEnabled = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:451 orderedModules =
{ } AddMessage = defined @Prat-3.0\modules\Timestamps.lua:645 DisableModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:350 HookScript = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:366 SetDefaultModulePrototype = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:409 baseName = "Prat-3.0" IsHooked = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:493 InsertTimeStamp = defined @Prat-3.0\modules\Timestamps.lua:670 PlainTimestampNotAllowed = defined @Prat-3.0\modules\Timestamps.lua:666 IsModule = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:217 db =
{ } SetDefaultModuleState = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:387 Prat_FramesUpdated = defined @Prat-3.0\modules\Timestamps.lua:630 GetDescription = defined @Prat-3.0\modules\Timestamps.lua:626 SetEnabledState = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:424 Hook = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:274 enabledState = true OnModuleDisable = defined @Prat-3.0\modules\Timestamps.lua:618 OnModuleEnable = defined @Prat-3.0\modules\Timestamps.lua:608 PL =
{ } hooks =
{ } IsTimestampPlain = defined @Prat-3.0\modules\Timestamps.lua:654 SecureHook = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:336 IterateModules = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:437 UnhookAll = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:477 RawHook = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:313 Unhook = defined @Baggins\Libs\AceHook-3.0\AceHook-3.0.lua:418 moduleName = "Timestamps" defaultModuleState = true Disable = defined @DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:314 } frame = ChatFrame1 { SetJustifyV = defined =[C]:-1 RefreshIfNecessary = defined =[C]:-1 OnPostShow = defined =[C]:-1 CalculateLineAlphaValueFromTimestamp = defined =[C]:-1 isLayoutDirty = true isDisplayDirty = false GetFading = defined =[C]:-1 IsTextCopyable = defined =[C]:-1 shouldFadeAfterInactivity = true SetIndentedWordWrap = defined =[C]:-1 GetJu

DiscordGregory commented 3 years ago

I get this error as well if I have Prat, SmartQuest and https://www.wowinterface.com/downloads/info4077-StopTheSpam.html loaded. If I have Stop the Spam disabled I don't get the error. Maybe it has something to do with addons that try and filter out addon spam messages from chat conflicting with prat

TreizeEU commented 3 years ago

This error appear to be triggered if I have https://www.curseforge.com/wow/addons/autorepair enabled. Does that mean I should bring the error to that author's attention, rather than Prat's?