AtlasLootClassic

AtlasLootClassic

37M Downloads

Favourites.lua:180: stack overflow and Favourites.lua:492: stack overflow

Padparadscha opened this issue ยท 0 comments

commented

AtlasLoot version
3.1.1

Lua error

Message: ...erface/AddOns/AtlasLootClassic/Addons/Favourites.lua:180: stack overflow
Time: Mon Mar  6 16:48:57 2023
Count: 1
Stack: ...erface/AddOns/AtlasLootClassic/Addons/Favourites.lua:180: stack overflow
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:180: in function <...erface/AddOns/AtlasLootClassic/Addons/Favourites.lua:178>
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:196: in function <...erface/AddOns/AtlasLootClassic/Addons/Favourites.lua:192>
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:501: in function `UpdateDb'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:326: in function `SetSlotItem'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:486: in function `UpdateSlots'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:891: in function `ItemListUpdate'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:533: in function `UpdateDb'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:326: in function `SetSlotItem'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:486: in function `UpdateSlots'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:891: in function `ItemListUpdate'
...
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:326: in function `SetSlotItem'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:486: in function `UpdateSlots'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:891: in function `ItemListUpdate'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:147: in function <...ce/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua:138>
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:196: in function <...ce/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua:195>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:686: in function `Toggle'
[string "@Interface/AddOns/AtlasLootClassic/MiniMapButton.lua"]:42: in function `OnClick'
[string "@Interface/AddOns/AtlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua"]:144: in function <...tlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:142>

Locals: list = <table> {
 p1678117592 = false
}
db = <table> {
 p1678117592 = <table> {
 }
 ProfileBase = <table> {
 }
}
globalDb = <table> {
 GlobalBase = <table> {
 }
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
 p1678117592 = false
}
(*temporary) = "stack overflow"
pairs = <function> defined =[C]:-1
Favourites = <table> {
 TooltipHookEnabled = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1221
 subItems = <table> {
 }
 SetAsMainItem = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1226
 GetNumItemsInList = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:746
 UpdateDb = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:491
 BASE_NAME_G = "GlobalBase"
 GetFavouriteCountText = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:869
 OnItemsChanged = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:621
 IsFavouriteItemID = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:930
 IconList = <table> {
 }
 InsertChatLink = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:626
 CountCacheIdent = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:750
 HasIcon = <funct

-----------------------------------------------Lua Error Favorites.lua:492

Message: ...erface/AddOns/AtlasLootClassic/Addons/Favourites.lua:492: stack overflow
Time: Mon Mar  6 17:06:22 2023
Count: 1
Stack: ...erface/AddOns/AtlasLootClassic/Addons/Favourites.lua:492: stack overflow
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:492: in function `UpdateDb'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:326: in function `SetSlotItem'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:486: in function `UpdateSlots'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:891: in function `ItemListUpdate'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:533: in function `UpdateDb'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:326: in function `SetSlotItem'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:486: in function `UpdateSlots'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:891: in function `ItemListUpdate'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:533: in function `UpdateDb'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
...
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua"]:908: in function `IsItemEquippedOrObsolete'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:326: in function `SetSlotItem'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:486: in function `UpdateSlots'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:891: in function `ItemListUpdate'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:147: in function <...ce/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua:138>
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:196: in function <...ce/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua:195>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/AtlasLootClassic/Addons/Favourites_GUI.lua"]:686: in function `Toggle'
[string "@Interface/AddOns/AtlasLootClassic/MiniMapButton.lua"]:42: in function `OnClick'
[string "@Interface/AddOns/AtlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua"]:144: in function <...tlasLootClassic/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:142>

Locals: self = <table> {
 TooltipHookEnabled = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1221
 subItems = <table> {
 }
 SetAsMainItem = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1226
 GetNumItemsInList = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:746
 UpdateDb = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:491
 BASE_NAME_G = "GlobalBase"
 GetFavouriteCountText = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:869
 OnItemsChanged = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:621
 IsFavouriteItemID = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:930
 IconList = <table> {
 }
 InsertChatLink = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:626
 CountCacheIdent = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:750
 HasIcon = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1068
 GetGlobaleLists = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1003
 RemoveEntrysFromList = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1102
 GetListByID = <function> defined @Interface/AddOns/AtlasLootClassic/Addons/Favourites.lua:1011
 SetItemNote = <function> defined @I

Describe the bug
Every time I open Atlas Loot Favorites i get Lua errors

To Reproduce
Open atlas loot, create a new List. open Favorites, add Item to List or
Open Atlas Loot, create new List, add itms to Favorites, open Favorites

Expected behavior
open without Error

Screenshots
Screenshot 2023-03-06 170900

Additional context