Dominos

Dominos

19M Downloads

5.0.27 throws error

geach opened this issue ยท 3 comments

commented

I just updated to to 5.0.27 and I now get this error in bug sack:

3x Dominos-5.0.27\menuBar.lua:121: attempt to index local "button" (a nil value)
Dominos-5.0.27\menuBar.lua:121: in function "DisableMenuButton"
Dominos-5.0.27\menuBar.lua:102: in function "UpdateDisabledButtons"
Dominos-5.0.27\menuBar.lua:94: in function "LoadSettings"
Dominos-5.0.27\frame.lua:18: in function "New"
Dominos-5.0.27\menuBar.lua:30: in function "New"
Dominos\Dominos-5.0.27.lua:249: in function "Load"
Dominos\Dominos-5.0.27.lua:52: in function <Dominos\Dominos.lua:49>
(tail call): ?

:"safecall Dispatcher[1]":9: in function :"safecall Dispatcher[1]":5
(tail call): ?
Bazooka-v2.2.0\libs\Ace3\AceAddon-3.0\AceAddon-3.0-11.lua:543: in function "EnableAddon"
Bazooka-v2.2.0\libs\Ace3\AceAddon-3.0\AceAddon-3.0-11.lua:636: in function <Bazooka\libs\Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>

FrameXML\UIParent.lua:299: in function "UIParentLoadAddOn"
FrameXML\UIParent.lua:322: in function "CombatLog_LoadUI"
FrameXML\UIParent.lua:692: in function <FrameXML\UIParent.lua:657>

Locals:
nil

I use picoButtons for the menu instead so don't have the menu bar enabled. Not sure is where the issue is at though.

commented

I don't think that picoButtons is the cause of your issue, but I'm not exactly sure why you're getting an error. Can you post your Dominos.lua file so that I can take a look at what buttons you have disabled on your menu bar?

commented

Sure will try in put in the comments here but not sure how well it will work. If it doesn't please let me know and I try pastebin or something else. The profile in use is called Geach tank and I am now on Dragonmaw since I have a few profiles in there. Here is the file

edit http://pastebin.com/pK5GnJC4.

commented

Turns out you have a menu button in your saved variables that no longer exists. I've fixed the code to once again ignore non existent buttons.