Thread: No Players
View Single Post
Unread 06-30-11, 01:09 AM   #24
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,032
Ah, I think I know the problem then. I think back in version 5.07.16 that we changed which event was used to initialise the nUI addons. It sounds like RMSolo wasn't changed to reflect the nUI change.

Scratch that idea as there isn't any loading process for unitframe plugins. Installed RMSolo and logged in my hunter and the following error exists:

Code:
1x nUI-5.07.20 (Plus)\Units\nUI_Unit.lua:490: attempt to call field 'setEnabled' (a nil value)
nUI-5.07.20 (Plus)\Units\nUI_UnitPanel.lua:623: in function `applySkin'
nUI-5.07.20 (Plus)\Main\nUI.lua:264: in function <nUI\Main\nUI.lua:137>

Locals:
skin = <table> {
 Misc = <table> {}
 SpecialBars = <table> {}
 Minimap = <table> {}
 XPBar = <table> {}
 InfoPanelSelector = <table> {}
 ChatFrame = <table> {}
 ButtonColors = <table> {}
 HUDLayoutSelector = <table> {}
 bag_scale = 1
 ReactionColors = <table> {}
 RangeColors = <table> {}
 BarColors = <table> {}
 FeedbackColors = <table> {}
 UnitPanelSelector = <table> {}
 PetFeeder = <table> {}
 CastBarColors = <table> {}
 BagBar = <table> {}
 UnitOptions = <table> {}
 MicroMenu = <table> {}
 InfoPanel = <table> {}
 AddOns = <table> {}
 name = "default"
 ClassColors = <table> {}
 Location = <table> {}
 ButtonBars = <table> {}
 FactionBar = <table> {}
 AuraColors = <table> {}
}
skin = <table> {
 anchor = <table> {}
 options = <table> {}
}
have_selection = false
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 nUI_UnitPanel_Player = <table> {}
 nUI_UnitPanel_Raid20 = <table> {}
 nUI_UnitPanel_Raid15 = <table> {}
 nUI_UnitPanel_Raid10 = <table> {}
 nUI_UnitPanel_Raid40 = <table> {}
 nUI_UnitPanel_Party = <table> {}
 nUI_UnitPanel_Raid25 = <table> {}
}
(for control) = "nUI_UnitPanel_Player"
panel_name = "nUI_UnitPanel_Player"
panel_config = <table> {
 rotation = 1
 loadOrder = <table> {}
 units = <table> {}
 label = "Player"
 automode = "solo"
 selected = false
 enabled = true
 desc = "Unit Panel: Solo Player Mode"
}
panel = nil
panel_item = <table> {
 rotation = 1
 frame = nUI_UnitPanel_Player {}
 name = "nUI_UnitPanel_Player"
 desc = "Unit Panel: Solo Player Mode"
}
pframe = nUI_UnitPanel_Player {
 0 = <userdata>
 WrapScript = <function> @ Interface\FrameXML\SecureHandlers.lua:704:
 SetFrameRef = <function> @ Interface\FrameXML\SecureHandlers.lua:715:
 Execute = <function> @ Interface\FrameXML\SecureHandlers.lua:699:
 UnwrapScript = <function> @ Interface\FrameXML\SecureHandlers.lua:710:
 Units = <table> {}
}
unit_panel = <table> {
 frame = nUI_UnitPanel_Player {}
 name = "nUI_UnitPanel_Player"
}
loadOrder = <table> {
 1 = "nUI_SoloUnit_Player"
 2 = "nUI_SoloUnit_Pet"
 3 = "nUI_SoloUnit_PetTarget"
 4 = "nUI_SoloUnit_Vehicle"
 5 = "nUI_SoloUnit_Target"
 6 = "nUI_SoloUnit_ToT"
 7 = "nUI_SoloUnit_Focus"
 8 = "nUI_SoloUnit_FocusT"
 9 = "nUI_SoloUnit_Mouseover"
}
(for index) = 5
(for limit) = 9
(for step) = 1
i = 5
unit_name = "nUI_SoloUnit_Target"
config = <table> {
 anchor = <table> {}
 options = <table> {}
}
options = <table> {
 enabled = true
 scale = 1
 skinName = "nUI_SoloUnit_TargetSkin"
 unit_id = "target"
 popup = <table> {}
 clickable = true
 level = 3
 background = <table> {}
}
anchor = <table> {
 relative_to = "$parent"
 yOfs = 53
 xOfs = 570
 relative_pt = "CENTER"
 anchor_pt = "TOPRIGHT"
}
unit = <table> {
 panel = "nUI_UnitPanel_Player"
 name = "nUI_SoloUnit_Target"
 anchor = <table> {}
 frame = nUI_SoloUnit_Target {}
 options = <table> {}
}
frame = nUI_UnitPanelSelector {
 0 = <userdata>
 relative_to = "nUI_BottomLeftBar"
 scale = 1
 xOfs = 5.169230981178
 newUnitInfo = <function> @ nUI\Units\nUI_UnitPanel.lua:703:
 applySkin = <function> @ nUI\Units\nUI_UnitPanel.lua:411:
 anchor = <table> {}
 anchor_pt = "TOPLEFT"
 applyOptions = <function> @ nUI\Units\nUI_UnitPanel.lua:338:
 options = <table> {}
 text = nUI_UnitPanelSelector_Label {}
 relative_pt = "TOPRIGHT"
 width = 68.676925892794
 yOfs = 0
 enabled = true
 applyScale = <function> @ nUI\Units\nUI_UnitPanel.lua:232:
 height = 28.061541748884
 applyAnchor = <function> @ nUI\Units\nUI_UnitPanel.lua:271:
 button = nUI_UnitPanelSelector_Button {}
 Labels = <table> {}
}
background = nUI_UnitPanelBackground {
 0 = <userdata>
}
AutoSwitchPanels = <table> {
 solo = "nUI_UnitPanel_Player"
}
UnitPanelList = <table> {
 1 = <table> {}
}
CreateFrame = <function> defined =[C]:-1
SortPanelList = <function> @ nUI\Units\nUI_UnitPanel.lua:115:

  ---
Then just to see if its a hunter specific problem I jumped on my druid .. this is the screenshot of my debugging in line 622 of nUI_UnitPanel.lua in the nUI addon itself. I'm not sure where the problem is as I have commented out the happiness frame from the RMSolo layout files.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_063011_080754.jpg
Views:	501
Size:	291.8 KB
ID:	6298  
__________________
Xrystal is offline