Jaliborc / Bagnon

Single window displays for you items
201 stars 112 forks source link

Bagnon_RequiredLevel (ERROR) #1960

Open Splitinlimbs opened 2 months ago

Splitinlimbs commented 2 months ago

Which software were you running?

Have you read the changelog? Nah Mark if read.

Please describe the bug. A clear and concise description of what the bug is. I open my bags which is taking noticebly longer like its lagging and then i get the white text error in chat anytime i open my bags

Please describe how to reproduce it.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Any Screenshots? If applicable, please add screenshots to help explain your problem. Screenshot_12

Error Logs are Important! Type /console scriptErrors 1 in the chat and reload the game. If an error window appears when reproducing the bug, please write here the first message (labelled 1/Many) that appeared. :warning: By default, the last error message is shown, not the first! You need to navigate back to the first error. Message: Interface/AddOns/Bagnon_RequiredLevel/main.lua:269: attempt to call upvalue 'GetSpellInfo' (a nil value) Time: Sun Sep 8 18:38:58 2024 Count: 2 Stack: Interface/AddOns/Bagnon_RequiredLevel/main.lua:269: attempt to call upvalue 'GetSpellInfo' (a nil value) [string "@Interface/AddOns/Bagnon_RequiredLevel/main.lua"]:269: in function <Interface/AddOns/Bagnon_RequiredLevel/main.lua:264> [string "@Interface/AddOns/Bagnon_RequiredLevel/main.lua"]:568: in function <Interface/AddOns/Bagnon_RequiredLevel/main.lua:541> string "=[C]": in function xpcall' [string "@Interface/AddOns/Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:76: in functionFireCallbacks' [string "@Interface/AddOns/Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:35: in function <.../Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua:31>

string "=[C]": in function accessor' [string "@Interface/AddOns/Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:52: in functionAddCallback' [string "@Interface/AddOns/Blizzard_ObjectAPI/Mainline/Item.lua"]:332: in function ContinueOnItemLoad' [string "@Interface/AddOns/Bagnon_RequiredLevel/main.lua"]:541: in function <Interface/AddOns/Bagnon_RequiredLevel/main.lua:535> [string "@Interface/AddOns/Bagnon_RequiredLevel/main.lua"]:695: in function <Interface/AddOns/Bagnon_RequiredLevel/main.lua:689> [string "=[C]"]: in functionUpdateUpgradeIcon' [string "@Interface/AddOns/BagBrother/core/classes/item.lua"]:185: in function <Interface/AddOns/BagBrother/core/classes/item.lua:181>

[string "@Interface/AddOns/BagBrother/frames/inventory/item.lua"]:117: in function `func' [string "@Interface/AddOns/BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua"]:36: in function <...ns/BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:30>

Locals: bagnonItem = BagnonContainerItem126 { IconOverlay = Texture { } AugmentBorderAnim = AnimationGroup { } showMatchHighlight = true flashAnim = AnimationGroup { } count = 126 NewItemTexture = Texture { } IgnoredOverlay = Texture { } Dummy = Button { } IconQuestTexture = BagnonContainerItem126IconQuestTexture { } emptyBackgroundAtlas = "bags-item-slot64" Count = BagnonContainerItem126Count { } searchOverlay = BagnonContainerItem126SearchOverlay { } NormalTexture = BagnonContainerItem126NormalTexture { } bag = 4 template = "ContainerFrameItemButtonTemplate" isCraftedItem = false isProfessionItem = false Cooldown = BagnonContainerItem126Cooldown { } Tag = "BAGNON_" FlashFind = AnimationGroup { } index =

{ } BagIndicator = Texture { } Stock = BagnonContainerItem126Stock { } super =
{ } base =
{ } icon = BagnonContainerItem126IconTexture { } Backgrounds =
{ } type = "ItemButton" IconGlow = Texture { } HighlightTexture = Texture { } flash = Texture { } itemContextMatchResult = 3 count = 1 PushedTexture = Texture { } name = "BagnonContainerItem" hasItem = true info =
{ } AugmentBorderAnimTexture = Texture { } QuestBang = BagnonContainerItem126IconQuestTexture { } frame = BagnonInventory1 { } BagFamilies =
{ } IconOverlay2 = Texture { } IconBorder = Texture { } newitemglowAnim = AnimationGroup { } Scripts =
{ } frames =
{ } UpgradeIcon = Texture { } timeSinceUpgradeCheck = 0 ItemContextOverlay = Texture { } ExtendedSlot = Texture { } JunkIcon = Texture { } BattlepayItemTexture = Texture { } readable = false } (temporary) = nil (temporary) = 1809 (*temporary) = "attempt to call upvalue 'GetSpellInfo' (a nil value)" GetSpellInfo = nil ITEM_MIN_SKILL = "Requires %s (%d)" scannerTooltip = BagnonRequiredLevelScannerTooltip { BottomOverlay = Texture { } NineSlice = Frame { } textLeft1Font = "GameTooltipHeaderText" hasMoney = 1 textRight2Font = "GameTooltipText" TopOverlay = Texture { } TextLeft1 = BagnonRequiredLevelScannerTooltipTextLeft1 { } StatusBar = BagnonRequi

Retrowavee commented 2 months ago

been having the exact same issue. i don't particularly know what causes this, but it's constantly spamming chat and is really irritating to deal with.

image

Splitinlimbs commented 2 months ago

Disable required level bagnon addon for now, seems to be the only fix 😅

elizanix commented 2 weeks ago

the addon is still running but i disabled only the 'required level' part and it seems to be ok so far..not sure if this helps anyone but hope so :)