oUF_Ammo

1 - Repeatable error mousing over pets

What steps will reproduce the problem?

1. Mouse over a pet frame provided by oUF_Ammo in either a party or on your own character (a hunter).

What is the expected output? What do you see instead?

Expected: no problems. Instead: error thrown up.

What version of the product are you using?

r84-release with oUF Github build 1e35f93c. Also occurs with the release v1.5.5.

Do you have an error log of what happened?

Mousing over character pet frame:

["message"] = "oUF_Ammo-r84-release\\Ammo.lua:194: bad argument #2 to 'format' (string expected, got nil)\noUF_Ammo-r84-release\\Ammo.lua:194: in function `?'\noUF-1.5.5\\elements\\tags.lua:548: in function `UpdateTag'\noUF-1.5.5\\elements\\tags.lua:412: in function `func'\noUF-1.5.5\\ouf.lua:294: in function <Interface\\AddOns\\oUF\\ouf.lua:289>\n(tail call): ?:\n\nLocals:|r\nunit = \"pet\"\ncolor = <table> {\n b = 1\n g = 1\n r = 1\n}\ntext = nil\nwhite = <table> {\n b = 1\n g = 1\n r = 1\n}\nUnitCreatureFamily = <function> defined =[C]:-1\nUnitCreatureType = <function> defined =[C]:-1\nUnitIsPlayer = <function> defined =[C]:-1\nUnitClass = <function> defined =[C]:-1\nRAID_CLASS_COLORS = <table> {\n HUNTER = <table> {\n }\n WARRIOR = <table> {\n }\n PALADIN = <table> {\n }\n MAGE = <table> {\n }\n PRIEST = <table> {\n }\n WARLOCK = <table> {\n }\n DEATHKNIGHT = <table> {\n }\n DRUID = <table> {\n }\n SHAMAN = <table> {\n }\n ROGUE = <table> {\n }\n}\nselect = <function> defined =[C]:-1\n\n  ---",
			["type"] = "error",
			["session"] = 1004,
			["counter"] = 1,
		}, -- [995]

Pet in a 5-man party (but not your character):

["message"] = "oUF_Ammo-r84-release\\Ammo.lua:194: bad argument #2 to 'format' (string expected, got nil)\noUF_Ammo-r84-release\\Ammo.lua:194: in function `?'\noUF-1.5.5\\elements\\tags.lua:548: in function `UpdateTag'\noUF-1.5.5\\elements\\tags.lua:375: in function <Interface\\AddOns\\oUF\\elements\\tags.lua:370>\n\nLocals:|r\nunit = \"pet\"\ncolor = <table> {\n b = 1\n g = 1\n r = 1\n}\ntext = nil\nwhite = <table> {\n b = 1\n g = 1\n r = 1\n}\nUnitCreatureFamily = <function> defined =[C]:-1\nUnitCreatureType = <function> defined =[C]:-1\nUnitIsPlayer = <function> defined =[C]:-1\nUnitClass = <function> defined =[C]:-1\nRAID_CLASS_COLORS = <table> {\n HUNTER = <table> {\n }\n WARRIOR = <table> {\n }\n PALADIN = <table> {\n }\n MAGE = <table> {\n }\n PRIEST = <table> {\n }\n WARLOCK = <table> {\n }\n DEATHKNIGHT = <table> {\n }\n DRUID = <table> {\n }\n SHAMAN = <table> {\n }\n ROGUE = <table> {\n }\n}\nselect = <function> defined =[C]:-1\n\n  ---",
			["type"] = "error",
			["session"] = 1025,
			["counter"] = 2,
		}, -- [1000]

Please provide any additional information below.

Have made some modifications to Ammo.lua to remove its raid & party frames. Nothing to do with pets or tags, though.

User When Change
Zidomo Dec 16, 2010 at 08:33 UTC Create

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

Facts

Reported
Dec 16, 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

  • Avatar of Ammo
    • Manager
    • Author