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] Lua Error when opening World Map #191

Open ilagnev opened 4 days ago

ilagnev commented 4 days ago

Greetings! After latest update of the classic wow (1.5.14 56760) many addons was broken and GatherLite in this list. Seems like some blizzard api calls was changed. In error log was mentioned HereBeDragons lib so i tried to update this lib manually from their last release on github and GatherLite starts working properly again. Please take a look on this problem, seems like it's not a lot of time to fix this. Thanks for cool addon and your time <3

error log:

Message: ...ace/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:165: attempt to call method 'OnLoad' (a nil value)
Time: Fri Sep 27 00:27:03 2024
Count: 1
Stack: ...ace/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:165: attempt to call method 'OnLoad' (a nil value)
[string "@Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:165: in function `AcquirePin'
[string "@Interface/AddOns/GatherLite/scripts/libraries/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:437: in function `HandlePin'
[string "@Interface/AddOns/GatherLite/scripts/libraries/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:730: in function `AddWorldMapIconMap'
[string "@Interface/AddOns/GatherLite/scripts/modules/worldmap.lua"]:95: in function <...rface/AddOns/GatherLite/scripts/modules/worldmap.lua:57>
[string "@Interface/AddOns/GatherLite/scripts/modules/worldmap.lua"]:124: in function <...rface/AddOns/GatherLite/scripts/modules/worldmap.lua:104>
[string "@Interface/AddOns/GatherLite/scripts/modules/worldmap.lua"]:142: in function <...rface/AddOns/GatherLite/scripts/modules/worldmap.lua:140>
[string "@Interface/AddOns/GatherLite/scripts/modules/worldmap.lua"]:291: in function <...rface/AddOns/GatherLite/scripts/modules/worldmap.lua:249>

Locals: self = WorldMapFrame {
 expandedMapInsetsByMapID = <table> {
 }
 pinNudgingDirty = false
 ZoneDropdown = WorldMapZoneDropdown {
 }
 minimizedHeight = 712
 lockReasons = <table> {
 }
 MiniBorderFrame = Frame {
 }
 callbackTables = <table> {
 }
 pinPools = <table> {
 }
 dataProviderEventsCount = <table> {
 }
 mouseClickHandlers = <table> {
 }
 pinTemplateTypes = <table> {
 }
 maximizedWidth = 1024
 maximizedHeight = 768
 activeAreaTriggers = <table> {
 }
 MaximizeMinimizeFrame = Frame {
 }
 MinimapDropdown = WorldMapZoneMinimapDropdown {
 }
 continentInfo = <table> {
 }
 mapArtID = 1204
 areDetailLayersDirty = false
 minimizedWidth = 1024
 debugAreaTriggers = false
 pinFrameLevelsManager = <table> {
 }
 pinsToNudge = <table> {
 }
 dataProviders = <table> {
 }
 detailLayerPool = <table> {
 }
 isUndefinedEventAllowed = true
 MaxMinButtonFrame = Frame {
 }
 BorderFrame = Frame {
 }
 ScrollContainer = ScrollFrame {
 }
 BlackoutFrame = Frame {
 }
 mapID = 1415
 ContinentDropdown = WorldMapContinentDropdown {
 }
}
pinTemplate = "HereBeDragonsPinsTemplate"
pin = Frame {
 owningMap = WorldMapFrame {
 }
 pinTemplate = "HereBeDragonsPinsTemplate"
}
newPin = true
(*temporary) = nil
(*temporary) = Frame {
 owningMap = WorldMapFrame {
 }
 pinTemplate = "HereBeDragonsPinsTemplate"
}
(*temporary) = "attempt to call method 'OnLoad' (a nil value)"
Wuild commented 3 days ago

Urgh, who else but blizzard, ill take a look at updating the herebedragons library as soon as possible, Thanks!