AnS

AnS

25.9k Downloads

Error when selecting AnsSell

penguinsane opened this issue ยท 4 comments

commented
1x AnsAuctions\Modules\Sell.lua:98: attempt to concatenate field 'name' (a nil value)
AnsAuctions\Modules\Sell.lua:98: in function `RenderRow'
AnsAuctions\Modules\Sell.lua:62: in function `renderFn'
AnS\UI\Components\TreeView.lua:196: in function `UpdateRow'
AnS\UI\Components\TreeView.lua:112: in function `Refresh'
AnsAuctions\Modules\Sell.lua:503: in function `RefreshView'
AnsAuctions\Modules\Sell.lua:543: in function `ScanBags'
AnsAuctions\Modules\Sell.lua:534: in function `Show'
AnsAuctions\Modules\Sell.lua:45: in function `onShow'
AnS\AnS-1.0.6.4.lua:62: in function `AHTabClick'
AnS\AnS-1.0.6.4.lua:38: in function <AnS\AnS.lua:36>
[C]: in function `AuctionFrameTab_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:
self = <table> {
 ScanBags = <function> defined @AnsAuctions\Modules\Sell.lua:537
 RestoreDefaultUI = <function> defined @AnsAuctions\Modules\Sell.lua:322
 SetItem = <function> defined @AnsAuctions\Modules\Sell.lua:239
 Close = <function> defined @AnsAuctions\Modules\Sell.lua:547
 pagesEntry = AnsAuctionSellMainPanelSearchBarPages {
 }
 OnAuctionUpdate = <function> defined @AnsAuctions\Modules\Sell.lua:172
 sortHow = 2
 statusText = AnsAuctionSellMainPanelBottomBarStatus {
 }
 treeView = <table> {
 }
 frame = AnsAuctionSellMainPanel {
 }
 PostSelected = <function> defined @AnsAuctions\Modules\Sell.lua:281
 query = <table> {
 }
 RefreshView = <function> defined @AnsAuctions\Modules\Sell.lua:488
 StopScan = <function> defined @AnsAuctions\Modules\Sell.lua:506
 isInited = true
 RemoveItem = <function> defined @AnsAuctions\Modules\Sell.lua:479
 scanning = false
 ScanSelected = <function> defined @AnsAuctions\Modules\Sell.lua:443
 FindSimilar = <function> defined @AnsAuctions\Modules\Sell.lua:431
 Init = <function> defined @AnsAuctions\Modules\Sell.lua:32
 Sell = <function> defined @AnsAuctions\Modules\Sell.lua:347
 HideDefaultUI = <function> defined @AnsAuctions\Modules\Sell.lua:333
 RenderRow = <function> defined @AnsAuctions\Modules\Sell.lua:84
 __index = <table> {
 }
 Show = <function> defined @AnsAuctions\Modules\Sell.lua:513
 GetSelectedIndex = <function> defined @AnsAuctions\Modules\Sell.lua:225
 sortAsc = true
 OnAuctionHouseClosed = <function> defined @AnsAuctions\Modules\Sell.lua:168
 OnUpdate = <function> defined @AnsAuctions\Modules\Sell.lua:145
 RowClick = <function> defined @AnsAuctions\Modules\Sell.lua:288
 waitingForResult = false
 ShowTip = <function> defined @AnsAuctions\Modules\Sell.lua:72
}
row = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1 {
 0 = <userdata>
 item = <table> {
 }
 origTextWidth = 172
}
item = <table> {
 offset = 16
 bag = 0
 link = "|cff0070dd|Hbattlepet:2088:1:3:155:10:13:0000000000000000|h[Surger]|h|r"
 id = 82800
 hidden = false
 children = <table> {
 }
 selected = false
 slot = 1
 count = 1
 tex = false
 bound = false
 expanded = false
 quality = 3
}
name = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Text {
 0 = <userdata>
}
icon = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1ItemIcon {
 0 = <userdata>
}
level = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Level {
 0 = <userdata>
}
posts = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Posts {
 0 = <userdata>
}
stack = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Stack {
 0 = <userdata>
}
seller = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Seller {
 0 = <userdata>
}
ppu = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1PPU {
 0 = <userdata>
}
percent = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Percent {
 0 = <userdata>
}
color = <table> {
 hex = "|cff0070dd"
 r = 0
 color = <table> {
 }
 g = 0.43921568627451
 b = 0.86666666666667
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = AnsAuctionSellMainPanelAuctionsTreeViewItemRow1Text {
 0 = <userdata>
}
(*temporary) = "|cff0070dd"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate field 'name' (a nil value)"
AuctionSell = <table> {
 ScanBags = <function> defined @AnsAuctions\Modules\Sell.lua:537
 RestoreDefaultUI = <function> defined @AnsAuctions\Modules\Sell.lua:322
 SetItem = <function> defined @AnsAuctions\Modules\Sell.lua:239
 Close = <function> defined @AnsAuctions\Modules\Sell.lua:547
 pagesEntry = AnsAuctionSellMainPanelSearchBarPages {
 }
 OnAuctionUpdate = <function> defined @AnsAuctions\Modules\Sell.lua:172
 sortHow = 2
 statusText = AnsAuctionSellMainPan
commented

Oops, forgot to take into account pet links in the in bag scanner of AnS. Will get this corrected shortly.

commented

I have pushed a fix to the repository now. I also just uploaded to Curse / Twitch, so it may take a bit before it shows up for download from Curse / Twitch.

commented

Hey, would love to get in contact with u. Add me on discord if u would like to hear my suggestion
Username: Dante#5196
Much love

A user of your masterpiece

commented

If you have a suggestion, post a new ticket with the details. I will look over it and get back with you.