DropTheCheapestThing

9 - Error with newest Bagnon

What steps will reproduce the problem?
1. Install v4.2.11 (possibly 4.2.10 as well) of Bagnon and v3.6.2 (v3.5.4-2 would also work I suspect) of DropTheCheapestThing
2. Open inventory (possibly mouse over an item as well, my cursor was positioned such that it did so the moment I opened my bags)

What is the expected output? What do you see instead?
Expected output is opened bags with no errors.  Actual output is opened bags and a flood of errors (BugSack caught 80 before it stopped handling errors).

What version of the product are you using?
v3.6.2 of DropTheCheapestThing and v4.2.11 of Bagnon (all sub-modules of Bagnon enabled except GuildBank)

Do you have an error log of what happened?
80x DropTheCheapestThing-v3.6.2\bagnon.lua:9 attempt to call method 'GetItemSlotInfo' (a nil value)
Bagnon-4.2.11\components\item.lua:259 in function `Update'
Bagnon-4.2.11\components\item.lua:195 in function <Bagnon\components\item.lua:194
<in C code>: in function `Show'
Bagnon-4.2.11\components\item.lua:24 in function <Bagnon\components\item.lua:16
Bagnon_Facade-2\Bagnon_Facade.lua:71 in function <Bagnon_Facade\Bagnon_Facade.lua:70
(tail call): ?:
Bagnon-4.2.11\components\itemFrame.lua:246 in function `AddItemSlot'
Bagnon-4.2.11\components\itemFrame.lua:330 in function `ReloadAllItemSlots'
Bagnon-4.2.11\components\itemFrame.lua:189 in function `UpdateEverything'
Bagnon-4.2.11\components\itemFrame.lua:441 in function `SetFrameID'
Bagnon-4.2.11\components\itemFrame.lua:29 in function `New'
Bagnon-4.2.11\components\frame.lua:721 in function `CreateItemFrame'
...:
Bagnon-4.2.11\components\frame.lua:283 in function `FadeFrame'
Bagnon-4.2.11\components\frame.lua:74 in function `action'
Bagnon-4.2.11\utility\ears.lua:29 in function `SendMessage'
Bagnon-4.2.11\components\frameSettings.lua:51 in function `SendMessage'
Bagnon-4.2.11\components\frameSettings.lua:69 in function `Show'
Bagnon-4.2.11\components\frameSettings.lua:89 in function `Toggle'
Bagnon-4.2.11\main.lua:113 in function `ToggleFrame'
Bagnon-4.2.11\main.lua:161 in function `ToggleBag'
FrameXML\MainMenuBarBagButtons.lua:21 in function `BagSlotButton_OnClick':
<string>:"*:OnClick":4: in function <[string "*:OnClick"]:1>

Locals:
self = ContainerFrame1Item1 {
 frameID = "inventory"
 border = <unnamed> {}
 item = "|Hitem:2901:0:0:0:0:0:0:0:9:0[Mining Pick]"
 0 = <userdata>
 count = 1
 questBorder = ContainerFrame1Item1IconQuestTexture {}
 cooldown = ContainerFrame1Item1Cooldown {}
 SplitStack = <function> @ FrameXML\ContainerFrame.lua:617
}
texture = "Interface\Icons\INV_Pick_02"
count = 1
locked = nil
quality = 1
readable = nil
lootable = nil
link = "|Hitem:2901:0:0:0:0:0:0:0:9:0[Mining Pick]"

Please provide any additional information below.
Error appears tied to recent change to DropTheCheapestThing adding Bagnon integration to highlight to-be-sold items.  Not sure which add-on the problem is in, the error message starts off with DTCT but promptly dives into Bagnon on the second line.  Rolling DTCT back to v3.5.4-1 (without Bagnon integration) removes the error.

User When Change
Kemayo Nov 07, 2011 at 04:46 UTC
Veyska Nov 04, 2011 at 00:48 UTC Create

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

  • 1 comment
  • Avatar of inti inti Nov 06, 2011 at 23:23 UTC - 0 likes

    The cause is that the name of the method GetItemSlotInfo() was changed to GetInfo() in the newest (still beta) version of Bagnon. Changing this in bagnon.lua (Line 9) solves the problem:

    --      local link = select(7, self:GetItemSlotInfo())
            local link = select(7, self:GetInfo())
    
    Last edited Nov 06, 2011 by inti
  • 1 comment

Facts

Last updated
Nov 07, 2011
Reported
Nov 04, 2011
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