MinimapButtonButton

MinimapButtonButton

5M Downloads

Lua Error on UI load and MBB fails to start with latest addon version 1.5 (BCC)

anasypany opened this issue ยท 1 comments

commented

@syndenbock Sorry to bother but noticed that after the most recent update MBB will error out while loading the UI. Noticed some other users comment with the same problem so I figured I'd open a ticket for it. MBB currently spits out the following error messages on initial load (grabbed using BugSack):

MinimapButtonButton\Logic\Main.lua:29: attempt to index field 'C_ClassColor' (a nil value)
[string "@MinimapButtonButton\Logic\Main.lua"]:29: in function <MinimapButtonButton\Logic\Main.lua:28>
[string "@MinimapButtonButton\Logic\Main.lua"]:215: in function <MinimapButtonButton\Logic\Main.lua:196>
[string "@MinimapButtonButton\Logic\Main.lua"]:238: in function `initFrames'
[string "@MinimapButtonButton\Logic\Main.lua"]:242: in main chunk

Locals:
unit = "player"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'C_ClassColor' (a nil value)"
MinimapButtonButton\Skins\ElvUI-2.10.lua:28: attempt to index field 'shared' (a nil value)
[string "@MinimapButtonButton\Skins\ElvUI-2.10.lua"]:28: in function `applySkin'
[string "@MinimapButtonButton\Skins\ElvUI-2.10.lua"]:33: in function `callback'
[string "@MinimapButtonButton\Core\Events.lua"]:28: in function <MinimapButtonButton\Core\Events.lua:26>

Locals:
media = <table> {
 backdropcolor = <table> {
 }
 bordercolor = <table> {
 }
 hexvaluecolor = "|cff3dc6ea"
 unitframeBorderColor = <table> {
 }
 normTex = "ElvUI\Media\Textures\NormTex2"
 rgbvaluecolor = <table> {
 }
 backdropfadecolor = <table> {
 }
 combatFont = "ElvUI\Media\Fonts\PTSansNarrow.ttf"
 blankTex = "ElvUI\Media\Textures\White8x8"
 normFont = "ElvUI\Media\Fonts\PTSansNarrow.ttf"
 glossTex = "ElvUI\Media\Textures\NormTex2"
}
backdrop = <table> {
 insets = <table> {
 }
 bgFile = "ElvUI\Media\Textures\NormTex2"
 edgeSize = 1
 edgeFile = "ElvUI\Media\Textures\White8x8"
}
skinFrame = <function> defined @MinimapButtonButton\Skins\ElvUI.lua:22
(*temporary) = <function> defined @MinimapButtonButton\Skins\ElvUI.lua:22
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'shared' (a nil value)"
ENGINE = <table> {
 GetTimeInfo = <function> defined @ElvUI\Core\Math.lua:391
 mylevel = 70
 Bags = <table> {
 }
 Config_SetButtonColor = <function> defined @ElvUI\Core\Config.lua:665
 resolution = "3440x1440"
 modules = <table> {
 }
 CancelTimer = <function> defined @ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:147
 FormatMoney = <function> defined @ElvUI\Core\Math.lua:456
 OnPrivateProfileReset = <function> defined @ElvUI\init.lua:259
 HelloKittyToggle = <function> defined @ElvUI\Core\AprilFools.lua:348
 Config_CreateLeftButtons = <function> defined @ElvUI\Core\Config.lua:792
 UpdateUnitFrames = <function> defined @ElvUI\Core\Core.lua:1394
 GetMoverHolder = <function> defined @ElvUI\Core\Movers.lua:385
 CopyTable = <function> defined @ElvUI\Core\Core.lua:641
 DispelClasses = <table> {
 }
 SetMoversPositions = <function> defined @ElvUI\Core\Movers.lua:462
 ScheduleTimer = <function> defined @ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
 PriestColors = <table> {
 }
 UpdateDB = <function> defined @ElvUI\Core\Core.lua:1363
 SetupTheme = <function> defined @ElvUI\Core\Install.lua:175
 media = <table> {
 }
 UnlocalizedClassName = <function> defined @ElvUI\Core\API.lua:67
 data = <table> {
 }
 SetupChat = <function> defined @ElvUI\Core\Install.lua:54
 GeneralMedia_ApplyToAll = <function> defined @ElvUI\Core\Core.lua:347
 UIScale = <function> defined @ElvUI\Core\PixelPerfect.lua:37
 db = <table> {
 }
 FramesOverlap = <function> defined @ElvUI\Core\Math.lua:162
 Config_CreateSeparatorLine = <function> defined @ElvUI\Core\Config.lua:655
 SetEnabledState = <function> defined @ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:422
 Hook = <function> defined @ElvUI\Libraries\Ace3\AceHook-3.0\AceHook-3.0.lua:274
 Options = <table> {
 }
 UpdateLayout = <function> defined @ElvUI\Core\Core.lua:1412
 Layout = <table> {
 }
 PluginInstaller = <table> {
 }
 PixelBestSize = <function> defined @ElvUI\Core\PixelPerfect.lua:71
 UnregisterEventForObject = <function> defined @ElvUI\Core\Core.lua:1691
 Distributor = <table> {
 }
 initialized = true
 DBConvertSL = <function> defined @ElvUI\Core\Core.lua:1278
 HiddenFrame = <unnamed> {
 }
 HasMoverBeenMoved = <function> defined @ElvUI\Core\Movers.lua:311
 ShortValueDec = "%.1f"
 Media = <table> {
 }
 INCOMPATIBLE_ADDONS = <table> {
 }
 PositionGameMenuButton = <function> defined @ElvUI\init.lua:224
 ScanTooltipTextures = <function> defined @ElvUI\Core\API.lua:78
 SafeGetPoint = <function> defined @ElvUI\Core\Toolkit.lua:22
 myfaction = "Horde"
 charSettings = <table> {
 }
 IsClassic = false

Hope that helps! Thank you for the great addon work!

commented

issue was fixed in version 1.5.1 (see curseforge comment for info)