Kiatra / Broker_MicroMenu

1 stars 5 forks source link

Game Menu option generates lua error #9

Closed KyrosKrane closed 9 months ago

KyrosKrane commented 11 months ago

Tested by loading just Broker_MicroMenu, ChocolateBar as a display, and BugGrabber/BugSack. The same error occurs with all my usual addons loaded as well.

To reproduce, load just the above addons, hover over the BMM module in CB, and select Game Menu from the list.

6x FrameXML/MainMenuBarMicroButtons.lua:422: attempt to call method 'IsEnabled' (a nil value)
[string "@FrameXML/MainMenuBarMicroButtons.lua"]:422: in function <FrameXML/MainMenuBarMicroButtons.lua:421>
[string "@Broker_MicroMenu/Broker_MicroMenu.lua"]:32: in function `func'
[string "@Broker_MicroMenu/Broker_MicroMenu.lua"]:151: in function `_OnMouseUp_func'
[string "@Broker_MicroMenu/libs/LibQTip-1.0-49/LibQTip-1.0.lua"]:1373: in function <...ns/Broker_MicroMenu/libs/LibQTip-1.0/LibQTip-1.0.lua:1372>

Locals:
self = Frame {
 0 = <userdata>
 OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
 GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
 SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
 OnBackdropSizeChanged = <function> defined @SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
 SetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:422
 GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
 cells = <table> {
 }
 _OnMouseUp_arg = <function> defined @Broker_MicroMenu/Broker_MicroMenu.lua:32
 ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
 _OnMouseUp_func = <function> defined @Broker_MicroMenu/Broker_MicroMenu.lua:147
 GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
 height = 16
 SetupPieceVisuals = <function> defined @SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
 down = 1
 SetBorderBlendMode = <function> defined @SharedXML/Backdrop.lua:266
}
(*temporary) = nil
(*temporary) = Frame {
 0 = <userdata>
 OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
 GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
 SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
 OnBackdropSizeChanged = <function> defined @SharedXML/Backdrop.lua:182
 HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
 SetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:422
 GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
 cells = <table> {
 }
 _OnMouseUp_arg = <function> defined @Broker_MicroMenu/Broker_MicroMenu.lua:32
 ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
 ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
 _OnMouseUp_func = <function> defined @Broker_MicroMenu/Broker_MicroMenu.lua:147
 GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
 height = 16
 SetupPieceVisuals = <function> defined @SharedXML/Backdrop.lua:246
 SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
 down = 1
 SetBorderBlendMode = <function> defined @SharedXML/Backdrop.lua:266
}
(*temporary) = "attempt to call method 'IsEnabled' (a nil value)"
KyrosKrane commented 9 months ago

This error still occurs in v1.7.7.