QuestItemBar

20 - Error with QIB release v0.6 + LibQuestItem-1.0 r17

(originally posted in LibQuestItem-1.0's comments 2 weeks ago)

LibQuestItem-1.0 r17 (upgraded from r14), QuestItemBar v0.6, USEnglish client/server, WoW 3.3.5a live, Ace3 disembedded, all other libraries (including LibQuestItem) embedded. Sometime when doing quests in Colderra, the following error occurred:

["message"] = {
				"LibQuestItem-1.0-17:139: table index is nil\nLibQuestItem-1.0-17:194: in function `Scan'\nLibQuestItem-1.0-17:263: in function <...stItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:258>\n\nLocals:|r\nself = <table> {\n activeQuestItems = <table> {\n }\n callbacks = <table> {\n }\n PLAYER_ENTERING_WORLD = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:276\n StartsQuestId = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:225\n PLAYER_REGEN_ENABLED = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:285\n IsQuestActive = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:229\n UnregisterAllCallbacks = <function> defined @Interface\\AddOns\\AddonLoader\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:202\n PLAYER_LEAVING_WORLD = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0", -- [1]
				".lua:281\n PLAYER_REGEN_DISABLED = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:289\n ITEMS_UPDATED = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:271\n startsQuestItems = <table> {\n }\n GetItemString = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:213\n Scan = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:180\n IsUsable = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:221\n questItems = <table> {\n }\n UnregisterCallback = <function> defined @Interface\\AddOns\\AddonLoader\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:181\n RegisterCallback = <function> defined @Interface\\AddOns\\AddonLoader\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:118\n usableQuestItems = <table> {\n }\n frame = LibQuestItem10Frame {\n }\n IsQuestItem = <function> defined @Interface", -- [2]
				"\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:217\n questItemSpells = <table> {\n }\n}\nquestItems = <table> {\n 35648 = true\n}\nusableQuestItems = <table> {\n 35648 = true\n}\nstartsQuestItems = <table> {\n}\nactiveQuestItems = <table> {\n}\nquestItemSpells = <table> {\n}\nScanInventory = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:149\nScanBags = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:125\nScanQuestLog = <function> defined @Interface\\AddOns\\QuestItemBar\\Libs\\LibQuestItem-1.0\\LibQuestItem-1.0.lua:159\ncallbacks = <table> {\n recurse = 0\n events = <table> {\n }\n Fire = <function> defined @Interface\\AddOns\\AddonLoader\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:87\n}\n\n  ---", -- [3]
			},
			["type"] = "error",
			["session"] = 908,
			["counter"] = 7,
		}, -- [254]

There was a span of about 10 minutes between when the error happened (and repeated 7 times) and when I noticed the BugSack LDB display, so can't be certain what triggered the error.

May have occurred when picking up quest item drops off mobs for a certain quest...you get up to 5 copies of the same item (shows them stacked in QuestItemBar) to be "used on" other items. Or it came from a quest item that could "summon" a friendly NPC when used (its only usage). Will link the quests later if it will help debug.

As to CPU usage previously discussed, in addition to the old r45 of QuestItemBar using 0 CPU/second when idle, the following similar mod also uses 0 on idle: QuestClicks.

User When Change
ZidayaXis Nov 13, 2012 at 10:22 UTC Changed assigned to from Nickenyfiken to ZidayaXis
Zidomo Aug 26, 2010 at 17:40 UTC Changed description:
  May have occurred when picking up quest item drops off mobs for a certain quest...you get up to 5 copies of the same item (shows them stacked in QuestItemBar) to be "used on" other items. Or it came from a quest item that could "summon" a friendly NPC when used (its only usage). Will link the quests later if it will help debug.

- As to CPU usage previusly discussed, in addition to the old r45 of QuestItemBar using 0 CPU/second when idle, the following similar mod also uses 0 on idle: [[http://www.wowinterface.com/downloads/info11762-QuestClicks.html|QuestClicks]].
+ As to CPU usage previously discussed, in addition to the old r45 of QuestItemBar using 0 CPU/second when idle, the following similar mod also uses 0 on idle: [[http://www.wowinterface.com/downloads/info11762-QuestClicks.html|QuestClicks]].
Zidomo Aug 26, 2010 at 17:40 UTC Create

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

  • 1 comment
  • Avatar of Nickenyfiken Nickenyfiken Oct 24, 2010 at 00:36 UTC - 0 likes

    First of all, thanks for your bug reports Zidomo. :-)

    I've been really off from WoW in a while, so my guess is that a lot of these bugs would appear while actually playing the game, which I haven't. I will try to look at it.

    The CPU problem is the first priority. And I haven't really got the time/motivation to look at it. I will rewrite most of the addon ASAP using LibActionButton. Hopefully it will refine the addon in a much better way.

  • 1 comment

Facts

Last updated
Nov 13, 2012
Reported
Aug 26, 2010
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees