Bagnon

Bagnon

122M Downloads

Clean up error

exnoia opened this issue ยท 1 comments

commented

Which software were you running?

  • Addon version name: 10.1.15
  • Client used: WoTLK

Have you read the changelog?
YES

Please describe the bug.
When I click to "clean"/"sort" my bags the error appears. However sometimes the error just doestn happens, and when it does if I use the Right mouse button to click kinda works.

Please describe how to reproduce it.

  1. Open bag.
  2. Click on "sort" icon
  3. See error

Any Screenshots?

Error Logs are Important!
Here's the log.
4x BagBrother/core/api/sorting.lua:122: attempt to compare nil with number
[string "@BagBrother/core/api/sorting.lua"]:122: in function GetSpaces' [string "@BagBrother/core/api/sorting.lua"]:43: in function Iterate'
[string "@BagBrother/core/api/sorting.lua"]:36: in function Run' [string "@BagBrother/core/api/sorting.lua"]:30: in function Start'
[string "@BagBrother/core/classes/frameBase.lua"]:116: in function <BagBrother/core/classes/frameBase.lua:115>
[string "=(tail call)"]: ?
[string "@BagBrother/frames/containers/bank.lua"]:32: in function `SortItems'
[string "@BagBrother/core/classes/sortButton.lua"]:39: in function <BagBrother/core/classes/sortButton.lua:30>

Locals:
self =

{
SendSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82
CanRun = defined @BagBrother/core/api/sorting.lua:171
RegisterMessage = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
NewModule = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68
GetOrder = defined @ItemLock/Plugins/Plugin_Bagnon_Combuctor.lua:26
Proprieties =
{
}
GetFamilies = defined @BagBrother/core/api/sorting.lua:135
target = BagnonBank1 {
}
SendMessage = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:49
Delaying = defined @BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:46
Rule = defined @BagBrother/core/api/sorting.lua:183
UnregisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
FitsIn = defined @BagBrother/core/api/sorting.lua:175
Move = defined @BagBrother/core/api/sorting.lua:196
GetSpaces = defined @BagBrother/core/api/sorting.lua:110
RegisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:74
UnregisterAllMessages = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
Run = defined @BagBrother/core/api/sorting.lua:33
UnregisterAllEvents = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
Iterate = defined @BagBrother/core/api/sorting.lua:42
UnregisterMessage = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
Stop = defined @BagBrother/core/api/sorting.lua:103
RegisterEvent = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
Start = defined @BagBrother/core/api/sorting.lua:23
Delay = defined @BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:27
UnregisterEvent = defined @Atlas/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
Tag = "BAGNON_"
}
spaces =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
7 =
{
}
8 =
{
}
9 =
{
}
10 =
{
}
11 =
{
}
12 =
{
}
13 =
{
}
14 =
{
}
15 =
{
}
16 =
{
}
17 =
{
}
18 =
{
}
19 =
{
}
20 =
{
}
21 =
{
}
22 =
{
}
23 =
{
}
24 =
{
}
25 =
{
}
26 =
{
}
27 =
{
}
28 =
{
}
}
(for generator) = defined =[C]:-1
(for state) =
{
1 = -1
2 = 5
3 = 6
4 = 7
5 = 8
6 = 9
7 = 10
8 = 11
}
(for control) = 2
_ = 2
bag = 5
family = 0
(for index) = 1
(for limit) = 20
(for step) = 1
slot = 1
item =
{
itemName = ""
hyperlink = "|cffffffff|Hitem:2770::::::::65:::::::::|h[]|h|r"
isPaid = false
hasLoot = false
isNew = false
iconFileID = 134566
hasNoValue = false
isLocked = false
itemID = 2770
isBound = false
stackCount = 3
isFiltered = false
isReadable = false
}
id = 2770
name = nil
_ = nil
_ = nil
level = nil
_ = nil
_ = nil
_ = nil
stack = nil
equip = nil
_ = nil
_ = nil
class = nil
subclass = nil
(*temporary) = nil
(*temporary) = 2
(*temporary) = 2770
(*temporary) = "attempt to compare nil with number"
Search =
{
IsUnusable = defined @BagBrother/libs/ItemSearch-1.3/API.lua:46
Filters =
{
}
BelongsToSet = defined @BagBrother/libs/ItemSearch-1.3/API.lua:103
IsQuestItem = defined @BagBrother/libs/ItemSearch-1.3/API.lua:63
Matches = <fu

commented

Does it try to put regent in the regent bag repeatedly? Thats what happens to me, randomly it seems. Until I reload