SexyMap

SexyMap

31M Downloads

Load error "1x SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)"

Leygo opened this issue ยท 5 comments

commented

Describe the problem

This error appears to happen on load only if the Coordinate Frame is disabled which I typically run with. If you enabled the coordinate frame, the error does not occur. It looks like on load something is calling the coordinate frame update function, but since it is disabled the the coordFrame object doesn't exist. Other than error, addon seems to run just fine and can enable coordinate frame without reloading just fine.

I do run other addons, and have not tested running only Sexy Map, but this changed within the last day or two without changing much else, and as indicated, seems controllable with the settings.

What steps will reproduce the problem?

  1. install SexyMap
  2. Load into game
  3. Disable Coordinate frame in SexyMap settings
  4. reload interface or reload game.
  5. Error received

Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites)

What version of the addon are you using? (Stating 'latest' is not useful)

9.0.12

Do you have an error log of what happened?

1x SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
[string "@SexyMap\Coordinates.lua"]:286: in function Update' [string "@SexyMap\Coordinates.lua"]:245: in function OnLoadingScreenOver'
[string "@SexyMap\SexyMap-v9.0.12.lua"]:430: in function `?'
[string "@SexyMap\SexyMap-v9.0.12.lua"]:557: in function <SexyMap\SexyMap.lua:556>

Locals:
self =

{
db =
{
}
OnLoadingScreenOver = defined @SexyMap\Coordinates.lua:244
CreateFrame = defined @SexyMap\Coordinates.lua:248
Update = defined @SexyMap\Coordinates.lua:285
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'coordFrame' (a nil value)"
coordFrame = nil
mod =
{
db =
{
}
OnLoadingScreenOver = defined @SexyMap\Coordinates.lua:244
CreateFrame = defined @SexyMap\Coordinates.lua:248
Update = defined @SexyMap\Coordinates.lua:285
}
coordsText = nil
media =
{
OverrideMedia =
{
}
callbacks =
{
}
LOCALE_BIT_zhTW = 8
SetDefault = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:293
GetDefault = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:289
LOCALE_BIT_ruRU = 2
UnregisterAllCallbacks = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
MediaType =
{
}
LOCALE_BIT_western = 128
SetGlobal = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:280
GetGlobal = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:276
List = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:266
HashTable = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:262
MediaTable =
{
}
RegisterCallback = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
IsValid = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:258
LOCALE_BIT_zhCN = 4
UnregisterCallback = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
Fetch = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:251
DefaultMedia =
{
}
Register = defined @AdiBags\libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:218
MediaList =
{
}
LOCALE_BIT_koKR = 1
}

Any additional information? (example: WoW language if not English)

commented

Message: Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
Time: Mon Nov 23 19:42:53 2020
Count: 1
Stack: Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
[string "@interface\AddOns\SexyMap\SexyMap.lua"]:557: in function <Interface\AddOns\SexyMap\SexyMap.lua:556>

Locals: _ = {
0 =
}
event = "LOADING_SCREEN_DISABLED"
mod =

{
PET_BATTLE_CLOSE = defined @interface\AddOns\SexyMap\SexyMap.lua:470
deepCopyHash = defined @interface\AddOns\SexyMap\SexyMap.lua:27
loadModules =
{
}
RegisterModuleOptions = defined @interface\AddOns\SexyMap\SexyMap.lua:560
font = {
}
db =
{
}
PET_BATTLE_OPENING_START = defined @interface\AddOns\SexyMap\SexyMap.lua:466
button = {
}
frame = {
}
LOADING_SCREEN_DISABLED = defined @interface\AddOns\SexyMap\SexyMap.lua:426
options =
{
}
}
sm =
{
ping =
{
}
coordinates =
{
}
borderPresets =
{
}
buttons =
{
}
hudmap =
{
}
backdrop =
{
}
shapes =
{
}
core =
{
}
zonetext =
{
}
clock =
{
}
L =
{
}
movers =
{
}
borders =
{
}
}

the latest release v9.0.12
Coordinates are not enabled.

commented

Same for me.

1x SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
[string "@SexyMap\Coordinates.lua"]:286: in function Update' [string "@SexyMap\Coordinates.lua"]:245: in function OnLoadingScreenOver'
[string "@SexyMap\SexyMap-v9.0.12.lua"]:430: in function `?'
[string "@SexyMap\SexyMap-v9.0.12.lua"]:557: in function <SexyMap\SexyMap.lua:556>

Locals:
self =

{
db =
{
}
OnLoadingScreenOver = defined @SexyMap\Coordinates.lua:244
CreateFrame = defined @SexyMap\Coordinates.lua:248
Update = defined @SexyMap\Coordinates.lua:285
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'coordFrame' (a nil value)"
coordFrame = nil
mod =
{
db =
{
}
OnLoadingScreenOver = defined @SexyMap\Coordinates.lua:244
CreateFrame = defined @SexyMap\Coordinates.lua:248
Update = defined @SexyMap\Coordinates.lua:285
}
coordsText = nil
media =
{
OverrideMedia =
{
}
callbacks =
{
}
LOCALE_BIT_zhTW = 8
SetDefault = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:293
GetDefault = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:289
LOCALE_BIT_ruRU = 2
UnregisterAllCallbacks = defined @datastore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
MediaType =
{
}
LOCALE_BIT_western = 128
SetGlobal = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:280
GetGlobal = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:276
List = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:266
HashTable = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:262
MediaTable =
{
}
RegisterCallback = defined @datastore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
IsValid = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:258
LOCALE_BIT_zhCN = 4
UnregisterCallback = defined @datastore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
Fetch = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:251
DefaultMedia =
{
}
Register = defined @BugSack\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:218
MediaList =
{
}
LOCALE_BIT_koKR = 1
}

commented

I get the same/similar:

Message: Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
Time: Mon Nov 23 13:37:57 2020
Count: 1
Stack: Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
[string "@interface\AddOns\PersoLootRoll\Core\Addon.lua"]:590: in function <Interface\AddOns\PersoLootRoll\Core\Addon.lua:589>
[string "=[C]"]: ?
[string "@interface\AddOns\SexyMap\Coordinates.lua"]:286: in function Update' [string "@Interface\AddOns\SexyMap\Coordinates.lua"]:245: in function OnLoadingScreenOver'
[string "@interface\AddOns\SexyMap\SexyMap.lua"]:430: in function `?'
[string "@interface\AddOns\SexyMap\SexyMap.lua"]:557: in function <Interface\AddOns\SexyMap\SexyMap.lua:556>

Locals: msg = "Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)"
lvl = nil
origHandler = defined @interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717
self =

{
Unit =
{
}
modules =
{
}
CancelTimer = defined @interface\AddOns\ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:147
Help = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:292
ABBR = "PLR"
UnregisterComm = defined @interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
CHAT_MSG_WHISPER = defined @interface\AddOns\PersoLootRoll\Core\Events.lua:321
TimerIsRunning = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:673
lastLocked =
{
}
EVENT_VOTE = defined @interface\AddOns\PersoLootRoll\Core\Events.lua:682
errorPrev = 0
OnActiveChanged = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:367
SetDefaultModulePrototype = defined @interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:409
state = 1
EVENT_ROLL_STATUS = defined @interface\AddOns\PersoLootRoll\Core\Events.lua:643
CHANNEL_ALPHA = "alpha"
IsEnabled = defined @interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:451
ScheduleTimer = defined @interface\AddOns\ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:94
IsTracking = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:361
versionNoticeShown = false
errors = 0
RegisterMessage = defined @interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = defined @interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
ECHO_LEVELS =
{
}
EVENT_BID = defined @interface\AddOns\PersoLootRoll\Core\Events.lua:656
hooks =
{
}
CheckState = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:307
SendCommMessage = defined @interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\AceComm-3.0\AceComm-3.0.lua:87
RegisterErrorHandler = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:582
EnableChatLinksHook = defined @interface\AddOns\PersoLootRoll\Core\Hooks.lua:272
LogExport = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:561
UnregisterAllComm = defined @interface\AddOns\TradeSkillMaster\External\EmbeddedLibs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
SetEnabledState = defined @interface\AddOns\ArkInventory\Externals\Ace3\AceAddon\AceAddon-3.0.lua:424
Hook = defined @interface\AddOns\ArkInventory\Externals\Ace3\AceHook\AceHook-3.0.lua:274
PLH =
{
}
EVENT_BID_WHISPER = defined @interface\AddOns\PersoLootRoll\Core\Events.lua:671
OnEnable = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:102
ToggleDebug = defined @interface\AddOns\PersoLootRoll\Core\Addon.lua:132
PATTERN_BONUS_LOOT = ".+ receives bonus loot: .+."
Module =
{
}
HandleError

commented

Hello, i have exactly the same everytime the game load UI:

Message: Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
Time: Mon Nov 23 13:00:47 2020
Count: 1
Stack: Interface\AddOns\SexyMap\Coordinates.lua:286: attempt to index upvalue 'coordFrame' (a nil value)
[string "@interface\AddOns\SexyMap\Coordinates.lua"]:286: in function Update' [string "@Interface\AddOns\SexyMap\Coordinates.lua"]:245: in function OnLoadingScreenOver'
[string "@interface\AddOns\SexyMap\SexyMap.lua"]:430: in function `?'
[string "@interface\AddOns\SexyMap\SexyMap.lua"]:557: in function <Interface\AddOns\SexyMap\SexyMap.lua:556>

Locals: self =

{
db =
{
}
OnLoadingScreenOver = defined @interface\AddOns\SexyMap\Coordinates.lua:244
CreateFrame = defined @interface\AddOns\SexyMap\Coordinates.lua:248
Update = defined @interface\AddOns\SexyMap\Coordinates.lua:285
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'coordFrame' (a nil value)"
coordFrame = nil
mod =
{
db =
{
}
OnLoadingScreenOver = defined @interface\AddOns\SexyMap\Coordinates.lua:244
CreateFrame = defined @interface\AddOns\SexyMap\Coordinates.lua:248
Update = defined @interface\AddOns\SexyMap\Coordinates.lua:285
}
coordsText = nil
media =
{
OverrideMedia =
{
}
callbacks =
{
}
LOCALE_BIT_zhTW = 8
SetDefault = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:293
GetDefault = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:289
LOCALE_BIT_ruRU = 2
UnregisterAllCallbacks = defined @interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
MediaType =
{
}
LOCALE_BIT_western = 128
SetGlobal = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:280
GetGlobal = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:276
List = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:266
HashTable = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:262
MediaTable =
{
}
RegisterCallback = defined @interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
IsValid = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:258
LOCALE_BIT_zhCN = 4
UnregisterCallback = defined @interface\AddOns\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
Fetch = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:251
DefaultMedia =
{
}
Register = defined @interface\AddOns\Prat-3.0_Libraries\LibSharedMedia-3.0\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:218
MediaList =
{
}
LOCALE_BIT_koKR = 1
}

commented

Thanks for the detailed reports! This issue is now resolved.