AdiBags

176 - Fix for "new item texture" throws new errors

While the new item texture (bluish glow to icons) no longer appears, BugSack fills with the error below.

Everythings to work fine, though.

56x AdiBags-v1.6.7\widgets\ItemButton.lua:61 attempt to index field "NewItemTexture" (a nil value)
(tail call): ?
AdiBags-v1.6.7\core\OO.lua:40 in function "Create"
AdiBags-v1.6.7\core\OO.lua:128 in function <AdiBags\core\OO.lua:122
(tail call): ?
AdiBags-v1.6.7\widgets\ContainerFrame.lua:549 in function "DispatchItem"
AdiBags-v1.6.7\widgets\ContainerFrame.lua:599 in function "UpdateButtons"
AdiBags-v1.6.7\widgets\ContainerFrame.lua:280 in function "ResumeUpdates"
AdiBags-v1.6.7\widgets\ContainerFrame.lua:256 in function <AdiBags\widgets\ContainerFrame.lua:252
<in C code>
AdiBags-v1.6.7\core\Bags.lua:71 in function "Open"
AdiBags-v1.6.7\core\Bags.lua:233 in function "?"
CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147 in function <CallbackHandler-1.0\CallbackHandler-1.0.lua:147
<string>:"safecall Dispatcher[3]":4: in function <string>:"safecall Dispatcher[3]":4
<in C code>
<string>:"safecall Dispatcher[3]":13: in function "?"
CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92 in function "SendMessage"
AdiBags-v1.6.7\core\Core.lua:407 in function "?"
CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147 in function <CallbackHandler-1.0\CallbackHandler-1.0.lua:147
<string>:"safecall Dispatcher[1]":4: in function <string>:"safecall Dispatcher[1]":4
<in C code>
<string>:"safecall Dispatcher[1]":13: in function "?"
CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92 in function "Fire"
AdiBags-v1.6.7\libs\AceEvent-3.0\AceEvent-3.0-3.lua:120 in function <AdiBags\libs\AceEvent-3.0\AceEvent-3.0.lua:119

Locals:
nil

User When Change
Adirelle Oct 20, 2013 at 08:23 UTC Changed status from New to Declined
theondry Sep 11, 2013 at 17:57 UTC Create

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

  • 2 comments
  • Avatar of pollyzoid pollyzoid Sep 12, 2013 at 14:14 UTC - 0 likes

    Simple to fix if you don't want to wait for the next version.

    In AdiBags/widgets/ItemButton.lua, line 61:

    Replace

    self.NewItemTexture:Hide()
    

    with

    if self.NewItemTexture then
    	self.NewItemTexture:Hide()
    end
    

    The error happens because Blizzard didn't add the new item functionality to bank/guild bank, so the item buttons don't have the texture AdiBags tries to hide.

  • Avatar of lickdamouse lickdamouse Sep 11, 2013 at 23:05 UTC - 0 likes

    I believe I'm getting the same error/s. 2 seem to pop up when I open up my bank tab. Looks like the same as above:

    Message: Interface\AddOns\AdiBags\widgets\ItemButton.lua:61: attempt to index field 'NewItemTexture' (a nil value) Time: 09/11/13 15:59:24 Count: 26 Stack: Interface\AddOns\Auctionator\AtrErrorInspector.lua:106: in function <Interface\AddOns\Auctionator\AtrErrorInspector.lua:51> Interface\AddOns\AdiBags\core\Utility.lua:62: in function <Interface\AddOns\AdiBags\core\Utility.lua:58> (tail call): ? Interface\AddOns\AdiBags\core\OO.lua:40: in function `Create' Interface\AddOns\AdiBags\core\OO.lua:128: in function <Interface\AddOns\AdiBags\core\OO.lua:122> (tail call): ? Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:549: in function `DispatchItem' Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:599: in function `UpdateButtons' Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:280: in function `ResumeUpdates' Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:256: in function <Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:252> [C]: in function `Show' Interface\AddOns\AdiBags\core\Bags.lua:71: in function `Open' ... [C]: ? [string "safecall Dispatcher[3]"]:13: in function `?' ...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `SendMessage' Interface\AddOns\AdiBags\core\Core.lua:407: in function `?' ...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4> [C]: ? [string "safecall Dispatcher[1]"]:13: in function `?' ...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire' ...ce\AddOns\AdiBags\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...ce\AddOns\AdiBags\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals: <none>

    And the second error:

    Message: Interface\AddOns\AdiBags\widgets\ItemButton.lua:61: attempt to index field 'NewItemTexture' (a nil value) Time: 09/11/13 15:59:24 Count: 1 Stack: Interface\AddOns\Auctionator\AtrErrorInspector.lua:106: in function <Interface\AddOns\Auctionator\AtrErrorInspector.lua:51> Interface\AddOns\AdiBags\core\Utility.lua:62: in function <Interface\AddOns\AdiBags\core\Utility.lua:58> (tail call): ? Interface\AddOns\AdiBags\core\OO.lua:40: in function `Create' Interface\AddOns\AdiBags\core\OO.lua:128: in function <Interface\AddOns\AdiBags\core\OO.lua:122> (tail call): ? Interface\AddOns\AdiBags\widgets\ItemButton.lua:488: in function <Interface\AddOns\AdiBags\widgets\ItemButton.lua:474> (tail call): ? Interface\AddOns\AdiBags\widgets\ItemButton.lua:505: in function `Update' Interface\AddOns\AdiBags\widgets\ItemButton.lua:463: in function <Interface\AddOns\AdiBags\widgets\ItemButton.lua:456> [C]: in function `Show' Interface\AddOns\AdiBags\widgets\Section.lua:99: in function <Interface\AddOns\AdiBags\widgets\Section.lua:97> [C]: in function `Show' Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:822: in function <Interface\AddOns\AdiBags\widgets\ContainerFrame.lua:804> (tail call): ? [C]: ? Interface\AddOns\AdiBags\core\Utility.lua:74: in function <Interface\AddOns\AdiBags\core\Utility.lua:66> Interface\AddOns\AdiBags\widgets\LayeredRegion.lua:104: in function <Interface\AddOns\AdiBags\widgets\LayeredRegion.lua:93>

    Locals: <none>

  • 2 comments

Facts

Last updated
Oct 20, 2013
Reported
Sep 11, 2013
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees