Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua error with locking items #193

Closed
DJSchaffner opened this issue Feb 21, 2024 · 0 comments
Closed

Lua error with locking items #193

DJSchaffner opened this issue Feb 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triage

Comments

@DJSchaffner
Copy link

Addon Version

v0.1.7

World of Warcraft Version

Classic Era (And SoD/Hardcore)

Describe the bug

I found this Lua error in my BugSack. Apparently something with locking items and the respective function not being called properly

1x BetterBags/frames/item.lua:190: bad argument #1 to 'UnlockItem' (Usage: C_Item.UnlockItem(itemLocation))
[string "=[C]"]: in function `UnlockItem'
[string "@BetterBags/frames/item.lua"]:190: in function `Unlock'
[string "@BetterBags/frames/item.lua"]:170: in function `SetLock'
[string "@BetterBags/frames/classic/item.lua"]:104: in function `SetItem'
[string "@BetterBags/views/gridview.lua"]:98: in function `Render'
[string "@BetterBags/frames/bag.lua"]:214: in function `Draw'
[string "@BetterBags/core/init.lua"]:137: in function `cb'
[string "@BetterBags/core/events.lua"]:45: in function <BetterBags/core/events.lua:40>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ies/Core/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@ElvUI_Libraries/Core/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `SendMessage'
[string "@BetterBags/core/events.lua"]:148: in function <BetterBags/core/events.lua:147>

Locals:
(*temporary) = <table> {
 Clear = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:21
 IsEquipmentSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:48
 IsEqualToBagAndSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:60
 SetBagAndSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:27
 IsBagAndSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:52
 SetEquipmentSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:38
 HasAnyLocation = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:56
 slotIndex = 10
 GetEquipmentSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:44
 IsEqualToEquipmentSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:68
 bagID = 2
 GetBagAndSlot = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:34
 IsEqualTo = <function> defined @FrameXML/ObjectAPI/ItemLocation.lua:76
}

Steps to reproduce

Unfortunately I can't provide steps to reproduce it, but I will update if something comes up.
It's the first time the error occured and I can't recall doing anything specific. Perhaps the log helps

@DJSchaffner DJSchaffner added bug Something isn't working triage labels Feb 21, 2024
@Cidan Cidan moved this from To Triage to Up Next in BetterBags Issue Tracker Feb 21, 2024
@Cidan Cidan moved this from Up Next to Complete in BetterBags Issue Tracker Feb 21, 2024
@Cidan Cidan moved this from Complete to In progress in BetterBags Issue Tracker Feb 21, 2024
@Cidan Cidan moved this from In progress to Complete in BetterBags Issue Tracker Feb 23, 2024
@Cidan Cidan moved this from Complete to Released in BetterBags Issue Tracker Feb 24, 2024
@Cidan Cidan closed this as completed Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
Archived in project
Development

No branches or pull requests

2 participants