Quantcast
Help me decipher this LUA error. - WoWInterface
Thread Tools Display Modes
08-15-21, 09:48 AM   #1
tobindax
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 53
Help me decipher this LUA error.

I know WoW is terrible at specifying the addon that caused anything so I'd like the help of experienced coders (PS All the 3 addons (or more) mentioned in the error I can not do without so I wonder which one specifically caused it (it comes up on log on or shortly after)).

Lua Code:
  1. Message: Interface\AddOns\Prat-3.0\services\patterns.lua:234: invalid capture index
  2. Time: Sun Aug 15 18:48:30 2021
  3. Count: 32
  4. Stack: Interface\AddOns\Prat-3.0\services\patterns.lua:234: invalid capture index
  5. [string "@Interface\AddOns\PersoLootRoll\Core\Addon.lua"]:591: in function <Interface\AddOns\PersoLootRoll\Core\Addon.lua:590>
  6. [string "=[C]"]: ?
  7. [string "=[C]"]: in function `gsub'
  8. [string "@Interface\AddOns\Prat-3.0\services\patterns.lua"]:234: in function `ReplaceMatches'
  9. [string "@Interface\AddOns\Prat-3.0\addon\addon.lua"]:702: in function <Interface\AddOns\Prat-3.0\addon\addon.lua:613>
  10. [string "=(tail call)"]: ?
  11. [string "@Interface\FrameXML\ChatFrame.lua"]:3104: in function <Interface\FrameXML\ChatFrame.lua:3093>
  12. [string "=(tail call)"]: ?
  13. [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
  14.  
  15. Locals: msg = "Interface\AddOns\Prat-3.0\services\patterns.lua:234: invalid capture index"
  16. lvl = nil
  17. origHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717
  18. self = <table> {
  19.  Unit = <table> {
  20.  }
  21.  modules = <table> {
  22.  }
  23.  CancelTimer = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:147
  24.  Help = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:292
  25.  ABBR = "PLR"
  26.  UnregisterComm = <function> defined @Interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
  27.  CHAT_MSG_WHISPER = <function> defined @Interface\AddOns\PersoLootRoll\Core\Events.lua:324
  28.  TimerIsRunning = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:674
  29.  lastLocked = <table> {
  30.  }
  31.  EVENT_VOTE = <function> defined @Interface\AddOns\PersoLootRoll\Core\Events.lua:683
  32.  errorPrev = 838.762000
  33.  OnActiveChanged = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:368
  34.  SetDefaultModulePrototype = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:409
  35.  state = 1
  36.  EVENT_ROLL_STATUS = <function> defined @Interface\AddOns\PersoLootRoll\Core\Events.lua:644
  37.  CHANNEL_ALPHA = "alpha"
  38.  IsEnabled = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:451
  39.  ScheduleTimer = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:94
  40.  IsTracking = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:362
  41.  versionNoticeShown = false
  42.  errors = 0
  43.  RegisterMessage = <function> defined @Interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
  44.  UnregisterMessage = <function> defined @Interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
  45.  ECHO_LEVELS = <table> {
  46.  }
  47.  EVENT_BID = <function> defined @Interface\AddOns\PersoLootRoll\Core\Events.lua:657
  48.  hooks = <table> {
  49.  }
  50.  CheckState = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:307
  51.  SendCommMessage = <function> defined @Interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\AceComm-3.0\AceComm-3.0.lua:87
  52.  RegisterErrorHandler = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:583
  53.  EnableChatLinksHook = <function> defined @Interface\AddOns\PersoLootRoll\Core\Hooks.lua:272
  54.  LogExport = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:562
  55.  UnregisterAllComm = <function> defined @Interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
  56.  SetEnabledState = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:424
  57.  Hook = <function> defined @Interface\AddOns\ArkInventory\Externals\Ace3\AceHook\AceHook-3.0.lua:274
  58.  PLH = <table> {
  59.  }
  60.  EVENT_BID_WHISPER = <function> defined @Interface\AddOns\PersoLootRoll\Core\Events.lua:672
  61.  OnEnable = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:102
  62.  ToggleDebug = <function> defined @Interface\AddOns\PersoLootRoll\Core\Addon.lua:132
  63.  PATTERN_BONUS_LOOT = ".+ rec
  Reply With Quote
08-15-21, 11:56 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 575
The issue is with Prat, possibly with the Alias module. Are you using that module? If so, did you set any aliases with a percent sign? Did you put a percent sign anywhere in Prat's settings? It's trying to replace something in a chat event using an unescaped percent sign followed by a number, causing string.gsub to interpret that as a capture index.

None of the other addons are related to the actual error. PersoLootRoll is overwriting the error handler (terribly, since a good error handler doesn't report itself in an error) and all the other addons mentioned just happen to hold the active Ace library instances involved with PersoLootRoll's private table.

Last edited by Kanegasi : 08-15-21 at 11:59 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Help me decipher this LUA error.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off