View Single Post
09-12-14, 12:00 PM   #1
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 275
Cannot setup SharedMediaWidgets lib - Need help

Hi,

I have rewrote my UI and I am trying to setup options in my GUI using the Ace library but I cannot get the Shared Media Widgets working. I decided to set up the libs in the exact same way my old UI use to work (which has no problems) but still I am getting an error and I do not know enough about libraries to fix it myself.

I have installed AceGUI-3.0-SharedMediaWidgets and placed it in the libs folder.

I have uploaded all the code to GitHub here: https://github.com/Mayron/MayronUI-4

The issue is this: (code found in Core.lua on line 306)
Lua Code:
  1. statusbarType= {
  2.     order = 6,
  3.     type = "select",
  4.     dialogControl = "LSM30_Statusbar",
  5.     name = "Status Bar Type",
  6.     desc = "Alter the status bar style.",
  7.     values = AceGUIWidgetLSMlists.statusbar,
  8.     get = function()
  9.         -- to do.
  10.      end,
  11.      set = function(self,key)
  12.         -- to do.
  13.      end,
  14. },

And I get this error: attempt to index global 'AceGUIWidgetLSMlists' (a nil value)

So I assume it is not loading the library but I honestly have been spending a long time and I cannot figure out what I screwed up on because I tried following the guide correctly and I have tried my old UI which was setup in near enough the same way which works.

Any experts want to explain how bad I am for me? hehe
Thanks!

Last edited by Mayron : 09-12-14 at 12:03 PM.
  Reply With Quote