WoW-Pro Guides

WoW-Pro Guides

3M Downloads

QO / lootitem error

silvann opened this issue ยท 8 comments

commented

Just got this error:

Message: ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:748: attempt to concatenate a nil value
Time: 11/24/10 21:47:32
Count: 1
Stack: ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:748: in function <...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:740>
...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:876: in function UpdateQuestTracker' ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:533: in functionRowUpdate'
Interface\AddOns\WoWPro\WoWPro_Broker.lua:70: in function rowContentUpdate' Interface\AddOns\WoWPro\WoWPro_Broker.lua:95: in functionUpdateGuide'
Interface\AddOns\WoWPro\WoWPro_Frames.lua:546: in function <Interface\AddOns\WoWPro\WoWPro_Frames.lua:541>
[C]: in function SetValue' Interface\AddOns\WoWPro\WoWPro_Broker.lua:65: in functionUpdateGuide'
Interface\AddOns\WoWPro\WoWPro_Broker.lua:267: in function CompleteStep' ...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:702: in functionAutoCompleteQuestUpdate'
...ce\AddOns\WoWPro_Leveling\WoWPro_Leveling_Parser.lua:575: in function `EventHandler'
Interface\AddOns\WoWPro\WoWPro.lua:142: in function <Interface\AddOns\WoWPro\WoWPro.lua:122>

Locals: lootitem = "36754"
lootqty = 1
count = nil
track = ""
(_temporary) = ""
(_temporary) = " - "
(_temporary) = nil
(_temporary) = ": "
(*temporary) = "attempt to concatenate a nil value"

In this step:
K Sinok the Shadowrager |QID|12064|QO|Sinok's Key Fragment: 1/1|N|Head to the upper plateau, Sinok is at .| |L|36754|M|26,44|

commented

Only thing different is that it has both a questtext (QO) and a lootitem, so I think it's something related to the 'track' variable. Or, is it a guide bug, where there shouldnt be both a QO and L?

commented

While it IS a guide bug (there is absolutely no reason to list both of those), we also want to allow for mistakes on the guide author's part. I'll look into it.

commented

Well, crap. I must have futzed with that file because I'm not seeing any concatenation on that line. Can you post the code around that line for me, silvann?

commented

That's the line:

track = track.." - "..GetItemInfo(lootitem)..": "

in function GetLootTrackingInfo. Apparently, GetItemInfo(lootitem) is returning nil, though when I run that API ingame with that same ID, it works well.

commented

Let me know if this happens again. I'm not really sure what the status of this error is anymore.

commented

LIne has a double | with nothing in between. Maybe that is what is causing it.

Sinok is at .| |L|36754|M|26,44|

commented

I don't believe that would cause this error - in terms of loot items, the addon checks for |L|Something| and then puts the "Something" in the loot table. But I've been wrong before!

commented

Still no idea what it was or if it happens again. Not to me and I havent read or heard of this bug from someone else, so you can close it if you want.