Baganator / Syndicator

World of Warcraft addon to keep track of where your items are in all your characters bags, banks, mails, void storage, auctions and guilds. Used by Baganator.
https://www.curseforge.com/wow/addons/syndicator
MIT License
5 stars 3 forks source link

Opening void storage: Attempt to index global 'BAGANATOR_DATA' (a nil value) #5

Closed Arrhae closed 7 months ago

Arrhae commented 7 months ago

Please include as much of the following information as possible to help me fix the bug:

Brief Description of Bug

I was on a toon and was going to dump something into void storage and got this error when I talked to the NPC. It appears that Syndicator is trying to access BAGANATOR_DATA which was removed in a recent update.

Steps to Reproduce

Go to a void storage NPC and open void storage.

Loaded Addons

Baganator 238 Syndicator 16 BugGrabber BugSack

Back Trace (LUA Error Output)

2x Syndicator/Tracking/VoidCache.lua:84: attempt to index global 'BAGANATOR_DATA' (a nil value)
[string "@Syndicator/Tracking/VoidCache.lua"]:84: in function `ScanVoidStorage'
[string "@Syndicator/Tracking/VoidCache.lua"]:23: in function <Syndicator/Tracking/VoidCache.lua:21>
[string "=[C]"]: in function `TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>

Locals:
self = Frame {
 0 = <userdata>
 ScanVoidStorage = <function> defined @Syndicator/Tracking/VoidCache.lua:27
 OnLoad = <function> defined @Syndicator/Tracking/VoidCache.lua:11
 currentCharacter = "Arrhae-WyrmrestAccord"
 OnEvent = <function> defined @Syndicator/Tracking/VoidCache.lua:21
}
start = 96242857.118600
void = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
}
FireVoidChange = <function> defined @Syndicator/Tracking/VoidCache.lua:32
DoSlot = <function> defined @Syndicator/Tracking/VoidCache.lua:39
waiting = 0
loopsFinished = true
(*temporary) = nil
(*temporary) = <function> defined @SharedXML/CallbackRegistry.lua:159
(*temporary) = nil
(*temporary) = nil
(*temporary) = "Arrhae-WyrmrestAccord"
(*temporary) = <table> {
 Event = <table> {
 }
 GenerateCallbackEvents = <function> defined @SharedXML/CallbackRegistry.lua:216
 DoesFrameHaveEvent = <function> defined @SharedXML/CallbackRegistry.lua:229
 GetCallbackTable = <function> defined @SharedXML/CallbackRegistry.lua:85
 callbackTables = <table> {
 }
 TriggerEvent = <function> defined @SharedXML/CallbackRegistry.lua:159
 GetCallbackTables = <function> defined @SharedXML/CallbackRegistry.lua:81
 GetCallbacksByEvent = <function> defined @SharedXML/CallbackRegistry.lua:89
 OnLoad = <function> defined @SharedXML/CallbackRegistry.lua:69
 UnregisterEvents = <function> defined @SharedXML/CallbackRegistry.lua:200
 UnregisterCallback = <function> defined @SharedXML/CallbackRegistry.lua:185
 HasRegistrantsForEvent = <function> defined @SharedXML/CallbackRegistry.lua:94
 RegisterCallback = <function> defined @SharedXML/CallbackRegistry.lua:110
 RegisterCallbackWithHandle = <function> defined @SharedXML/CallbackRegistry.lua:154
 SetUndefinedEventsAllowed = <function> defined @SharedXML/CallbackRegistry.lua:77
 SecureInsertEvent = <function> defined @SharedXML/CallbackRegistry.lua:104
}
(*temporary) = "VoidCacheUpdate"
(*temporary) = <table> {
}
(*temporary) = <table> {
 108 = <function> defined @Syndicator/Search/MegaSearch.lua:101
  = <function> defined @Syndicator/Tracking/ItemSummaries.lua:35
}
(*temporary) = <function> defined @SharedXML/CallbackRegistry.lua:177
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
 108 = <function> defined @Syndicator/Search/MegaSearch.lua:101
  = <function> defined @Syndicator/Tracking/ItemSummaries.lua:35
}
(*temporary) = <function> defined @SharedXML/CallbackRegistry.lua:177
(*temporary) = "Arrhae-WyrmrestAccord"
(*temporary) = Frame {
 0 = <userdata>
 GuildCacheUpdate = <function> defined @Syndicator/Tracking/ItemSummaries.lua:39
 SV = <table> {
 }
 OnLoad = <function> defined @Syndicator/Tracking/ItemSummaries.lua:3
 GenerateGuildSummary = <function> defined @Syndicator/Tracking/ItemSummaries.lua:152
 GenerateCharacterSummary = <function> defined @Syndicator/Tracking/ItemSummaries.lua:43
 CharacterCacheUpdate = <function> defined @Syndicator/Tracking/ItemSummaries.lua:35
 GetTooltipInfo = <function> defined @Syndicator/Tracking/ItemSummaries.lua:184
}
(*temporary) = <function> defined @Syndicator/Tracking/ItemSummaries.lua:35
(*temporary) = <function> defined @SharedXML/CallbackRegistry.lua:177
(*temporary) = nil
(*temporary) = "attempt to index global 'BAGANATOR_DATA' (a nil value)"
VOID_STORAGE_MAX = 80
VOID_STORAGE_PAGES = 2
plusmouse commented 7 months ago

Thanks for the bug report. Fixed in version 17. Available from Curseforge and Wago shortly.