273 - Global error - Grail.lua line 3151

I'm slowly making my way to Cenarion Hold in Silithus.  I have no active quests open.  I'll try to attach the var file.

Date: 2013-09-15 13:29:49
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Grail\Grail.lua line 3151:
   bad argument #1 to 'strsub' (string expected, got function)
   [C]: ?
   Grail\Grail.lua:3151 f()
   Grail\Grail.lua:1766 _AllEvaluateTrueF()
   Grail\Grail.lua:1856 _AnyEvaluateTrueF()
   Grail\Grail.lua:1795 _AllEvaluateTrueS()
   (tail call): ?
   (tail call): ?
   Grail\Grail.lua:4288 MeetsPrerequisites()
   Grail\Grail.lua:6194 StatusCode()
   Grail\Grail.lua:2079 ClassificationOfQuestCode()
   Wholly\Wholly.lua:932 _ClassifyQuestsInMap()
   Wholly\Wholly.lua:1220 _ForcePanelMapArea()
   Wholly\Wholly.lua:3296 UpdateQuestCaches()
   Wholly\Wholly.lua:574 ?()
   Wholly\Wholly.lua:1709 _OnEvent()
(*temporary) = <function> defined @Interface\AddOns\DugisGuideViewerZ\WorldMapTracking.lua:196
(*temporary) = 1
(*temporary) = 1
(*temporary) = "string expected, got function"

  Swatter, v5.18.5433 (PassionatePhascogale)
  Cursor, v5.0.0.1
  AskMrRobot, v1.1.9.0
  AucAdvanced, v5.18.5433 (PassionatePhascogale)
  AucFilterBasic, v5.18.5433 (PassionatePhascogale)
  AucFilterOutlier, v5.18.5433.5347(5.18/embedded)
  AucMatchUndercut, v5.18.5433.5364(5.18/embedded)
  AucScanData, v5.18.5433 (PassionatePhascogale)
  AucStatHistogram, v5.18.5433 (PassionatePhascogale)
  AucStatiLevel, v5.18.5433 (PassionatePhascogale)
  AucStatPurchased, v5.18.5433 (PassionatePhascogale)
  AucStatSales, v5.18.5433.5376(5.18/embedded)
  AucStatSimple, v5.18.5433 (PassionatePhascogale)
  AucStatStdDev, v5.18.5433 (PassionatePhascogale)
  AucStatWOWEcon, v5.18.5433.5323(5.18/embedded)
  AucUtilAHWindowControl, v5.18.5433.5347(5.18/embedded)
  AucUtilAppraiser, v5.18.5433.5427(5.18/embedded)
  AucUtilAskPrice, v5.18.5433.5347(5.18/embedded)
  AucUtilAutoMagic, v5.18.5433.5415(5.18/embedded)
  AucUtilCompactUI, v5.18.5433.5427(5.18/embedded)
  AucUtilEasyBuyout, v5.18.5433.5427(5.18/embedded)
  AucUtilFixAH, v5.18.5433 (PassionatePhascogale)
  AucUtilItemSuggest, v5.18.5433.5417(5.18/embedded)
  AucUtilJeweler, vV2.1.0
  AucUtilJewelerPost, vB0.9.2
  AucUtilPriceLevel, v5.18.5433.5427(5.18/embedded)
  AucUtilScanButton, v5.18.5433.5403(5.18/embedded)
  AucUtilScanFinish, v5.18.5433.5347(5.18/embedded)
  AucUtilScanProgress, v5.18.5433.4979(5.18/embedded)
  AucUtilScanStart, v5.18.5433.5347(5.18/embedded)
  AucUtilSearchUI, v5.18.5433.5373(5.18/embedded)
  AucUtilSimpleAuction, v5.18.5433.5415(5.18/embedded)
  AucUtilVendMarkup, v5.18.5433.4828(5.18/embedded)
  Babylonian, v5.1.DEV.332(/embedded)
  BalancePowerTracker, v1.3.4
  Bartender4, v4.5.13
  BeanCounter, v5.18.5433 (PassionatePhascogale)
  BittensSpellFlashRogue, v50400.1.1
  Configator, v5.1.DEV.344(/embedded)
  CookingHelper, v2.03
  DebugLib, v5.1.DEV.337(/embedded)
  DugisGuideViewerZ, v6.590
  Enchantrix, v5.18.5433 (PassionatePhascogale)
  EnchantrixBarker, v5.18.5433 (PassionatePhascogale)
  GemHelper, v5.4.1
  GemPlus, v1.03
  Grail, v054
  GrailAchievements, v007
  GrailReputations, v006
  Herby, v0.11
  Informant, v5.18.5433 (PassionatePhascogale)
  LibExtraTip, v5.12.DEV.355(/embedded)
  NugComboBar, v
  NugComboBarGUI, v
  OgriLazy, v1.2
  Quartz, v3.1.3
  RangeDisplay, vv4.2.3
  ReagentMaker, vv1.1beta4
  Recount, v
  SlideBar, v5.18.5433 (PassionatePhascogale)
  SpellFlash, v6.8.1
  SpellFlashCore, v2.0.4
  Stubby, v5.18.5433 (PassionatePhascogale)
  TipHelper, v5.12.DEV.351(/embedded)
  Wholly, v037
  BlizRuntimeLib_enUS v5.4.0.50400 <us>

Name Size MD5
SavedVariables.lua 92 B 1625e2432f36...
User When Change
Nimhfree Sep 25, 2013 at 16:23 UTC Changed status from Waiting to Fixed
Nimhfree Sep 16, 2013 at 15:18 UTC Changed status from Replied to Waiting
Nimhfree Sep 16, 2013 at 15:18 UTC Changed status from Waiting to Replied
Nimhfree Sep 15, 2013 at 23:19 UTC Changed status from New to Waiting
Siofral Sep 15, 2013 at 20:41 UTC

Added attachment SavedVariables.lua

Siofral Sep 15, 2013 at 20:40 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Nimhfree Nimhfree Sep 16, 2013 at 15:17 UTC - 0 likes

    I believe I have solved the issue. There were two problems: (1) Grail was using a variable of the wrong name, and (2) Dugi guides is leaking a variable into the global namespace. I have put up a prerelease version that hopefully fixes the issue if you are interested in trying it out. It can be found at

  • Avatar of Nimhfree Nimhfree Sep 15, 2013 at 23:19 UTC - 0 likes

    I am not sure where that SavedVariables.lua file is from. Normally the file of interest for me would be the Grail.lua file from your SavedVariables directory. This report seems to be the same as some others that have been made. I had thought perhaps there was an interaction with DugisGuideViewerZ. Are you able to reproduce this such that you can test with only Wholly, Grail, and DugisGuideViewerZ active and have it reproduce?



Last updated
Sep 25, 2013
Sep 15, 2013
Fixed - Developer made requested changes. QA should verify.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.
Grail (addon itself - not NPC or Quest)

Reported by

Possible assignees