SexyMap

SexyMap

31M Downloads

9.2.7 errors on the wotlk beta

Nillx opened this issue ยท 1 comments

commented

Getting this error when using the latest SexyMap-v9.2.7 version on the wotlk beta. Addon is loading but its displaying the default minimap.

2x SexyMap\SexyMap_TBC.lua:538: attempt to index global 'MinimapToggleButton' (a nil value)
[string "@SexyMap\SexyMap_TBC.lua"]:538: in function `SetupMap'
[string "@SexyMap\SexyMap_TBC.lua"]:411: in function `?'
[string "@SexyMap\SexyMap_TBC.lua"]:33: in function <SexyMap\SexyMap_TBC.lua:32>

Locals:
self = <table> {
 PET_BATTLE_CLOSE = <function> defined @SexyMap\SexyMap_TBC.lua:473
 deepCopyHash = <function> defined @SexyMap\SexyMap_TBC.lua:21
 PLAYER_LOGIN = <function> defined @SexyMap\SexyMap_TBC.lua:387
 SetupMap = <function> defined @SexyMap\SexyMap_TBC.lua:464
 loadModules = <table> {
 }
 RegisterModuleOptions = <function> defined @SexyMap\SexyMap_TBC.lua:559
 font = <unnamed> {
 }
 db = <table> {
 }
 PET_BATTLE_OPENING_START = <function> defined @SexyMap\SexyMap_TBC.lua:469
 button = <unnamed> {
 }
 frame = <unnamed> {
 }
 LOADING_SCREEN_DISABLED = <function> defined @SexyMap\SexyMap_TBC.lua:425
 options = <table> {
 }
}
Minimap = Minimap {
 timer = 0
 SetParent = <function> defined =[C]:-1
 0 = <userdata>
}
started = 1
current = 0
zoomOut = <function> defined @SexyMap\SexyMap_TBC.lua:491
zoomBtnFunc = <function> defined @SexyMap\SexyMap_TBC.lua:501
(*temporary) = nil
(*temporary) = nil
(*temporary) = false
(*temporary) = <userdata>
(*temporary) = <function> defined @SexyMap\SexyMap_TBC.lua:513
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'MinimapToggleButton' (a nil value)"
mod = <table> {
 PET_BATTLE_CLOSE = <function> defined @SexyMap\SexyMap_TBC.lua:473
 deepCopyHash = <function> defined @SexyMap\SexyMap_TBC.lua:21
 PLAYER_LOGIN = <function> defined @SexyMap\SexyMap_TBC.lua:387
 SetupMap = <function> defined @SexyMap\SexyMap_TBC.lua:464
 loadModules = <table> {
 }
 RegisterModuleOptions = <function> defined @SexyMap\SexyMap_TBC.lua:559
 font = <unnamed> {
 }
 db = <table> {
 }
 PET_BATTLE_OPENING_START = <function> defined @SexyMap\SexyMap_TBC.lua:469
 button = <unnamed> {
 }
 frame = <unnamed> {
 }
 LOADING_SCREEN_DISABLED = <function> defined @SexyMap\SexyMap_TBC.lua:425
 options = <table> {
 }
}

commented

Confirming this causes the addon to load in a broken state. I've cleared saved variables from and a fresh install. Same result.

A Quick fix is to comment out line 538.
-- MinimapToggleButton:Hide() -- Minimap "X" to close button