Bagnon

Bagnon

124M Downloads

LUA error when viewing a different toon's main bags

raysmith59 opened this issue ยท 2 comments

commented

I don't think I've seen this happen before, I just clicked on a different portrait and got this:

2x Bagnon\external\Wildpants\components\item.lua:267: attempt to compare number with string
Bagnon\external\Wildpants\components\item.lua:267: in function UpdateBorder' Bagnon\external\Wildpants\components\item.lua:228: in function <Bagnon\external\Wildpants\components\item.lua:222> [C]: ? [C]: ? [C]: in function Update'
Bagnon\external\Wildpants\components\item.lua:124: in function <Bagnon\external\Wildpants\components\item.lua:119>
[C]: in function Show' Bagnon\external\Wildpants\components\item.lua:30: in function New'
...s\Bagnon\external\Wildpants\components\itemFrame.lua:119: in function <...s\Bagnon\external\Wildpants\components\itemFrame.lua:108>

Locals:
self = ContainerFrame2Item4 {
0 =
bag = 1
BattlepayItemTexture = {
}
flashAnim = {
}
count = 0
IconOverlay = {
}
BagStaticTop = {
}
flash = {
}
timeSinceUpgradeCheck = 0
BagStaticBottom = {
}
scheduledSecondaryUpdate = true
IconBorder = {
}
ExtendedOverlay2 = {
}
hasItem = true
icon = ContainerFrame2Item4IconTexture {
}
NewItemTexture = {
}
JunkIcon = {
}
Flash = {
}
ExtendedSlot = {
}
ExtendedOverlay = {
}
caerdonButton = {
}
newitemglowAnim = {
}
frame = BagnonFrameinventory {
}
QuestBorder = ContainerFrame2Item4IconQuestTexture {
}
info =

{
}
UpgradeIcon = {
}
IconGlow = {
}
Count = ContainerFrame2Item4Count {
}
searchOverlay = ContainerFrame2Item4SearchOverlay {
}
Cooldown = ContainerFrame2Item4Cooldown {
}
SplitStack = defined @FrameXML\ContainerFrame.lua:1086
}
id = "158923"
quality = "2"
new = false
quest = nil
questID = false
paid = false
r = nil
g = nil
b = nil
(*temporary) = true
(*temporary) =
{
Scanner = LibItemSearchTooltipScanner {
}
Matches = defined @bagnon\external\Wildpants\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:19
TooltipLine = defined @bagnon\external\Wildpants\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:41
TooltipPhrase = defined @bagnon\external\Wildpants\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:27
InSet = defined @bagnon\external\Wildpants\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:31
Tooltip = defined @bagnon\external\Wildpants\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:23
BelongsToSet = defined @bagnon\external\Wildpants\libs\LibItemSearch-1.2\LibItemSearch-1.2.lua:78
Filters =
{
}
}
(*temporary) = "|cff1eff00|Hbattlepet:158923:245:2:9:0:0:0x0|h[158923]|h|r"
(*temporary) = nil
(*temporary) = false
(*temporary) = "|cff1eff00|Hbattlepet:158923:245:2:9:0:0:0x0|h[158923]|h|r"
(*temporary) = "attempt to compare number with string"
Addon =
{
GetOwnerColorString = defined @bagnon\external\Wildpants\core\owners.lua:56
SearchFrame = {
}
EnableModule = defined @accountant\Libs\AceAddon-3.0\AceAddon-3.0.lua:363
modules =
{
}
ToggleFrame = defined @bagnon\external\Wildpants\core\frames.lua:43
IterateEmbeds = defined @accountant\Libs\AceAddon-3.0\AceAddon-3.0.lua:473
UpdateFrames = defined @bagnon\external\Wildpants\core\frames.lua:39
ShowBag = defined @bagnon\external\Wildpants\core\frames.lua:83
SetDefaultModulePrototype = defined @accountant\Libs\AceAddon-3.0\AceAddon-3.0.lua:440
defaultModuleState = true
IsEnabled = defined @accountant\Libs\AceAddon-3.0\AceAddon-3.0.lua:482
Frame = {
}
OptionsToggle = {
}
DisableModule = defined @accountant\Libs\AceAddon-3.0\AceAddon-3.0.lua:381
Bag = {
}
StartupSettings = defined @bagnon\external\Wildpants\core\settings.lua:96
SetCurrentProfile = defined @bagnon\external\Wildpants\core\settings.lua:152
UnregisterMessage = defined @datastore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
UpdateSettings = defined @bagnon\external\Wildpants\core\settings.lua:133
BagToggle = {
}
UnregisterSignal = defined @bagnon\external\Wildpants\core\classes.lua:23
ShowFrame = defined @bagnon\external\Wildpants\core\frames.lua:51
enabledState = true
RegisterEvent = defined @datastore

commented

I seriously doubt that is the error numbered 1, just the snowball effect

commented

I am getting a similar if not the same error. I have tried to recreate the problem but so far haven't been able to. (Error Msg is Below)
Also not all the tabs show up 1-4 do but 5-8 sometimes do sometimes don't.

Message: ...Bagnon\external\Wildpants\features\tooltipCounts.lua:74: attempt to index field '?' (a nil value)
Time: Mon Sep 17 19:45:06 2018
Count: 28
Stack: ...Bagnon\external\Wildpants\features\tooltipCounts.lua:74: attempt to index field '?' (a nil value)

Locals: