Wuild / GatherLite

World of Warcraft: Classic Gathering addon keeping track on where you have found stuff
MIT License
32 stars 16 forks source link

Classic SOM: Lua Error when opening World Map #172

Closed ReXtrem closed 2 years ago

ReXtrem commented 2 years ago

Describe the bug Opening the world map creates following error: image

Installed List of Addons:

To Reproduce Steps to reproduce the behavior:

  1. On Minimap select anything to track: Does not matter what is selected.
  2. Click on "M" to open the world map in the current region
  3. See error:
Message: Interface\AddOns\GatherLite\scripts/methods.lua:440: attempt to call method 'SetBackdropColor' (a nil value)
Time: Thu Jan 13 08:18:24 2022
Count: 4
Stack: Interface\AddOns\GatherLite\scripts/methods.lua:440: attempt to call method 'SetBackdropColor' (a nil value)
[string "@Interface\AddOns\GatherLite\scripts/methods.lua"]:440: in function `createWorldmapNode'
[string "@Interface\AddOns\GatherLite\scripts/Tracker.lua"]:175: in function `Worldmap'
[string "@Interface\AddOns\GatherLite\scripts/Tracker.lua"]:14: in function `?'
[string "@Interface\AddOns\GatherLite\scripts/config.lua"]:18: in function `Trigger'
[string "@Interface\AddOns\GatherLite\scripts/Tracker.lua"]:192: in function `OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
 tablelength = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:58
 modules = <table> {
 }
 CancelTimer = <function> defined @Interface\AddOns\GatherLite\libraries\AceTimer-3.0\AceTimer-3.0.lua:147
 IterateEmbeds = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
 UnregisterComm = <function> defined @Interface\AddOns\AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 debug = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:39
 Printf = <function> defined @Interface\AddOns\dgks_classic\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
 GatherSlash = <function> defined @Interface\AddOns\GatherLite\scripts/main.lua:40
 ResetMinimap = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:545
 defaultModuleState = true
 SetIgnored = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:539
 IsEnabled = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
 ScheduleTimer = <function> defined @Interface\AddOns\GatherLite\libraries\AceTimer-3.0\AceTimer-3.0.lua:94
 DisableModule = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
 findExistingLocalNode = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:151
 RegisterMessage = <function> defined @Interface\AddOns\AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 UnregisterMessage = <function> defined @Interface\AddOns\AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 UpdateNode = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:188
 translate = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:45
 db = <table> {
 }
 UnregisterAllComm = <function> defined @Interface\AddOns\AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 SetEnabledState = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
 enabledState = true
 NewVersionExists = false
 RegisterEvent = <function> defined @Interface\AddOns\AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 IterateModules = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
 ShowSettings = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:702
 findNodeType = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:127
 RegisterNode = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:160
 Enable = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:294
 NewModule = <function> defined @Interface\AddOns\dgks_classic\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
 print = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:34
 LoadMinimap = <function> defined @Interface\AddOns\GatherLite\scripts/methods.lua:575
 GetModule = <function> defined @Interface\AddOn

Expected behavior The World Map is opened without any LUA error and the icons for the searched nodes appear on the world map

Screenshots See description

Additional context Version: 3.2.6 - Sep 10, 2020 Classic Version: 11401 (Build-Version)