UberInventory

5 - "Usable items only" causing errors

What steps will reproduce the problem?
1. Ticking the "Usable items only" box in UberInventory's main frame
2. Then trying to scroll the main frame's vertical scroll bar

What is the expected output? What do you see instead?
Ticking the check box produces an error (#1) and causes the scroll bar to not be functional any more. Trying to scroll produces another error (#2).
Unticking the check box re-enables the functionality of the scroll bar. It can be checked again to cause exactly the same error(s) again. And so on..

What version of the product are you using?
2.7

Do you have an error log of what happened?
error #1:
[2009/08/10 01:36:44-541-x1]: UberInventory-2.7\UberInventory.lua:654 attempt to index field '?' (a nil value)
UberInventory-2.7\UberInventory.lua:303 in function `UberInventory_Scan_Tooltip'
UberInventory-2.7\UberInventory.lua:365 in function `UberInventory_UsableItem'
UberInventory-2.7\UberInventory.lua:764 in function `UberInventory_CopyItems'
UberInventory-2.7\UberInventory.lua:787 in function `UberInventory_SortFilter'
UberInventory-2.7\UberInventory.lua:2330 in function `UberInventory_DisplayItems'
<string>:"*:OnClick":2: in function <[string "*:OnClick"]:1>

  ---

error #2:
[2009/08/10 01:45:48-541-x65]: UberInventory-2.7\UberInventory.lua:654 attempt to index field '?' (a nil value)
UberInventory-2.7\UberInventory.lua:303 in function `UberInventory_Scan_Tooltip'
UberInventory-2.7\UberInventory.lua:365 in function `UberInventory_UsableItem'
UberInventory-2.7\UberInventory.lua:764 in function `UberInventory_CopyItems'
UberInventory-2.7\UberInventory.lua:787 in function `UberInventory_SortFilter'
UberInventory-2.7\UberInventory.lua:2330 in function `updateFunction'
Interface\FrameXML\UIPanelTemplates.lua:241 in function `FauxScrollFrame_OnVerticalScroll':
<string>:"*:OnVerticalScroll":1: in function <[string "*:OnVerticalScroll"]:1>
<in C code>: in function `SetVerticalScroll'
<string>:"*:OnValueChanged":1: in function <[string "*:OnValueChanged"]:1>

  ---

Please provide any additional information below.
I couldn't find out what actually causes this (in means of code).

User When Change
fmeus Aug 19, 2009 at 08:23 UTC Changed status from Started to Fixed
fmeus Aug 10, 2009 at 07:34 UTC Changed status from New to Started
harl Aug 10, 2009 at 00:07 UTC Create

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

  • 8 comments
  • Avatar of fmeus fmeus Aug 14, 2009 at 15:20 UTC - 0 likes

    When the option 'usable items only' is used extensive parsing of the tooltip data is performed for each item to check if your character is capable of using an item. Since Blizzard does not provide functionality for this, text and colors are scanned within the tooltip to guesstimate the usability.

    For all levels of quality a color is available within ITEM_QUALITY_COLORS, however Blizzard failed to do this for heirloom items, and I missed that.

    I will make a new version available that will resolve the issue. Not sure if this will solve the scolling issue as well. I don't have any heirloom items, so can't really test it.

    Last edited Aug 14, 2009 by fmeus: Forgot to add some info
  • Avatar of harl harl Aug 14, 2009 at 14:15 UTC - 0 likes

    Sorry for my late answer.

    I think you're right concerning the heirloom quality items. My druid has some of those in the mailbox, my mage is equipped with heirloom shoulders and trinkets and the shaman got some as well. Also, these items' names are those mentioned in the error messages. Not getting any errors now any more with my warrior, but she may have had something in the mailbox too that's been sent back to the druid in the last days. My hunter never had heirloom items, so that might explain why I didn't get any errors with UbI displaying hers.

    Still wonder why most of the errors to be shown need the "Usable items only" box checked though. - Scrolling without it seems to work fine at first, but those heirloom items sometimes appear multiple times in the list as they somehow seem to confuse UbI's display or calculation or something.

  • Avatar of fmeus fmeus Aug 10, 2009 at 20:51 UTC - 0 likes

    Do you by any chance have a heirloom item (item quality = 7) in your invenentory for your druid?

  • Avatar of fmeus fmeus Aug 10, 2009 at 19:27 UTC - 0 likes

    Thanks for the additional info. This will be very helpfull

  • Avatar of harl harl Aug 10, 2009 at 15:44 UTC - 0 likes

    OK, late lunch over, I've just decided to go the radical way, meaning I've disabled all add-ons except UbI, logged in with my druid again and got the following.

    Opened UbI by Typing in /ubi worked fine, then tried to scroll the items list worked fine too, ticked the "Usable items only" check box, the following error popped up.

    http:paste.wowace.com/940/

    Trying to scroll the items list then caused the following error to appear.

    http:paste.wowace.com/941/

    Closed the UbI frame leaving the check box ticked, typed in /ubi again and got the following error.

    http:paste.wowace.com/942/

    Logged on with my shaman, typed in /ubi (check box unticked), got the following mess (still with no other addons loaded and did nothing else than opening UbI).

    http:paste.wowace.com/943/

    Ticked the check box again made the same old error occur, just with another item included.

    http:paste.wowace.com/944/

    Logged on with my hunter, typed in /ubi, ticked the check box, got no error, scrolled, still no error, then chose to view my druid's items and got exactly the same as the very first one above (940).

    Thus, my rather non-professional assumption now is that there might be a slight problem with localisation and/or certain items, although not all items included with the errors had special characters and not all items with special characters seem to have caused a problem, at least not with my hunter.

    Same goes for the hunter's items when I was viewing them logged in with my druid - neither the check box nor scrolling caused an error with them.

    I hope that somehow helps to pin-down the original cause of all this.

    For some reason, neither BugSack nor !Swatter had these item-related informations in their error logs included.

    Last edited Aug 10, 2009 by harl
  • Avatar of harl harl Aug 10, 2009 at 14:58 UTC - 0 likes

    Below follows the !Swatter report you requested. I know all the add-ons and they all serve a certain purpose, except "DebugLib" which I haven't seen before but seems to be a part of the Enchantrix/Stubby pair.

    I wasn't able to get these errors with my Hunter for some reason, but my Shaman, Druid, Mage and Warrior all got them. My characters all load the same add-ons and share the same profiles (of add-ons that support profiles), so I have no clue to what the real difference is between them.

    I did get two other errors meanwhile. I've added them after the first one below, compared their lists of loaded add-ons and they were all the same. One popped up when I was logged in with my hunter and chose to view my druid's items from the drop down field while the "Usable items only" check box was ticked.

    The other one occurred with my shaman logged in when I typed "/ubi" in the chat edit-box. I had opened UbI the same way with my other characters and didn't get that error. This last error might actually be the fault of another add-on (will investigate further). The shaman currently is in the Borean Tundra, the others are all in Dalaran.

    Also, I've been getting two other errors related to Ace2/AceEvent and GuildMap3, but disabling Ace2, GuildMap3 and Decursive didn't make the UbI related errors disappear.

    http:paste.wowace.com/945/

    http:paste.wowace.com/946/

    http:paste.wowace.com/947/

    (Mrs. Edit decided to put my bulky error logs into single paste entries.)

    Last edited Aug 10, 2009 by harl
  • Avatar of fmeus fmeus Aug 10, 2009 at 07:34 UTC - 0 likes

    harl,

    thanks for bringing this issue to my attention. I have tried to reproduce the problem you have reported, but I could not get the errors.

    Would you be so kind to provide me a !Swatter error message. This includes the whole stack of errors as well as a list of the addons used at the time of the error. This will give me more information on what might be causing this error.

    I have see numeroes error messages since the latest patch for a lot of addons that enhance tooltips, but have not been updated for the latest patch.

    Regards, Frank

  • Avatar of harl harl Aug 10, 2009 at 00:18 UTC - 0 likes

    Now after a few minutes of playing, UNticking the check box made another error occur.

    [2009/08/10 02:12:10-541-x1]: UberInventory-2.7\UberInventory.lua:2288 attempt to index field '?' (a nil value)
    UberInventory-2.7\UberInventory.lua:2343 in function `UberInventory_DisplayItems'
    <string>:"*:OnClick":2: in function <[string "*:OnClick"]:1>

      ---

    While trying to scroll, accordingly caused the following one.

    [2009/08/10 02:12:34-541-x9]: UberInventory-2.7\UberInventory.lua:2288 attempt to index field '?' (a nil value)
    UberInventory-2.7\UberInventory.lua:2343 in function `updateFunction'
    Interface\FrameXML\UIPanelTemplates.lua:241 in function `FauxScrollFrame_OnVerticalScroll':
    <string>:"*:OnVerticalScroll":1: in function <[string "*:OnVerticalScroll"]:1>
    <in C code>: in function `SetVerticalScroll'
    <string>:"*:OnValueChanged":1: in function <[string "*:OnValueChanged"]:1>

      ---

    I still have no idea where those come from.

  • 8 comments

Facts

Last updated
Aug 19, 2009
Reported
Aug 10, 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees