Repeatable error mousing over pets #1


  • New
  • Defect
Open
  • _ForgeUser23487 created this issue Dec 16, 2010

    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.

  • _ForgeUser23487 added the tags New Defect Dec 16, 2010

To post a comment, please login or register a new account.