PitBull Unit Frames 4.0

PitBull Unit Frames 4.0

5M Downloads

[Cata Classic] Switching profiles causes errors

Jakobud opened this issue ยท 1 comments

commented

When I switch between profiles I get the following errors:

1570x ...ura/Libs/LibPlayerSpells-1.0-15/LibPlayerSpells-1.0.lua:440: attempt to call upvalue 'GetSpellInfo' (a nil value)
[string "@PitBull4/Modules/Aura/Libs/LibPlayerSpells-1.0-15/LibPlayerSpells-1.0.lua"]:440: in function <...ura/Libs/LibPlayerSpells-1.0/LibPlayerSpells-1.0.lua:428>
[string "@PitBull4/Modules/Aura/Libs/LibPlayerSpells-1.0-15/LibPlayerSpells-1.0.lua"]:546: in function `__RegisterSpells'
[string "@PitBull4/Modules/Aura/Libs/LibPlayerSpells-1.0-15/data/Racials.lua"]:23: in main chunk

Locals:
spellId = 331868
spellType = "spell"
errors = <table> {
}
(*temporary) = nil
(*temporary) = 331868
(*temporary) = "attempt to call upvalue 'GetSpellInfo' (a nil value)"
FilterSpellId = <function> defined @PitBull4/Modules/Aura/Libs/LibPlayerSpells-1.0/LibPlayerSpells-1.0.lua:428
tinsert = <function> defined =[C]:-1
format = <function> defined =[C]:-1
GetSpellInfo = nil
[string "@PitBull4/UnitFrame.lua"]:722: in function <PitBull4/UnitFrame.lua:716>
[string "=(tail call)"]: ?
[string "@PitBull4/Modules/CombatText/CombatText.lua"]:75: in function `UpdateFrame'
[string "@PitBull4/ModuleHandling/Module.lua"]:314: in function `Update'
[string "@PitBull4/UnitFrame.lua"]:789: in function `Update'
[string "@PitBull4/UnitFrame.lua"]:815: in function `UpdateGUID'
[string "@PitBull4/UnitFrame.lua"]:368: in function <PitBull4/UnitFrame.lua:362>
[string "=[C]"]: in function `Hide'
[string "@Blizzard_FrameXML/RestrictedFrames.lua"]:382: in function `Hide'
[string "  if name ~= "new_group" and name ~= "remove_group" and name ~= "state-group" and name ~= "config_mode" and name ~= "forced_state" then return end

  -- Special handling for the new_group and remove_group attributes
  local header
  if name == "new_group" then
    -- value is the name of the new group header to add to our group list
    if not value then return end

    if not groups then
      groups = newtable()
    end

    header = self:GetFrameRef(value)
    groups[value] = header
  elseif name == "remove_group" then
    -- value is the name of the group header to remove from our group list
    if not value or not groups then return end

    header = groups[value]
    if header then
      groups[value] = nil
    end
  end

  if not header and not groups then return end -- Nothing to do

  state = self:GetAttribute("config_mode")
  if not state then
    state = self:GetAttribute("forced_state")
    if not state then
      state = self:GetAttribute("state-group")
    end
  end

  if header then
    -- header is set so this is a single header update
    -- We must check groups[value] here so that we don't try to show
    -- frames that we're removing.
    if state and groups[value] and header:GetAttribute(state) then
      header:Show()
    else
      header:Hide()
      -- Wipe the unit id off the child frames so the hidden frames
      -- are ignored by the unit watch system.
      local children = newtable(header:GetChildren())
      for i=1,#children do
        children[i]:SetAttribute("unit", nil)
      end
    end
  else
    -- No header set so do them all
    for _, header in pairs(groups) do
      if header:GetAttribute(state) then
        header:Show()
      else
        header:Hide()
        -- Wipe the unit id off the child frames so the hidden frames
        -- are ignored by the unit watch system.
        local children = newtable(header:GetChildren())
        for i=1,#children do
          children[i]:SetAttribute("unit", nil)
        end
      end
    end
  end
"]:42: in function <[string "  if name ~= "new_group" and name ~= "remov..."]:1>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
...
[string "@AdiBags/libs/AceDB-3.0-29/AceDB-3.0.lua"]:462: in function `SetProfile'
[string "@Bartender4/libs/LibDualSpec-1.0-24/LibDualSpec-1.0.lua"]:297: in function <.../Bartender4/libs/LibDualSpec-1.0/LibDualSpec-1.0.lua:292>
[string "=[C]"]: ?
[string "@PitBull4/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@PitBull4/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "=[C]"]: ?
[string "@Bartender4/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...aceBartender4/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Bartender4/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Bartender4/libs/AceGUI-3.0-41/widgets/AceGUIWidget-EditBox.lua"]:70: in function <...er4/libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua:67>
[string "@Bartender4/libs/AceGUI-3.0-41/widgets/AceGUIWidget-EditBox.lua"]:118: in function <...er4/libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua:115>

Locals:
self = PitBull4_Groups_Party petsUnitButton1 {
 0 = <userdata>
 populated = true
 UnwrapScript = <function> defined @Blizzard_FrameXML/SecureHandlers.lua:788
 layout_db = <table> {
 }
 ProxySetAttribute = <function> defined @PitBull4/UnitFrame.lua:132
 UnforceShow = <function> defined @PitBull4/Main.lua:559
 CombatIcon = PitBull4_Icon_35 {
 }
 RoleIcon = PitBull4_Icon_18 {
 }
 is_wacky = false
 RefreshVehicle = <function> defined @PitBull4/UnitFrame.lua:489
 IterateControlsOfType = <function> defined @PitBull4/UnitFrame.lua:864
 layout = "PartyPet"
 PLAYER_REGEN_DISABLED = <function> defined @PitBull4/GroupHeader.lua:1616
 UpdateBestUnit = <function> defined @PitBull4/UnitFrame.lua:726
 ForceShow = <function> defined @PitBull4/Main.lua:559
 CombatText = PitBull4_FontString_135 {
 }
 UpdateGUID = <function> defined @PitBull4/UnitFrame.lua:803
 Rename = <function> defined @PitBull4/UnitFrame.lua:665
 RefreshLayout = <function> defined @PitBull4/Main.lua:559
 GetFont = <function> defined @PitBull4/UnitFrame.lua:716
 Execute = <function> defined @Blizzard_FrameXML/SecureHandlers.lua:777
 Update = <function> defined @PitBull4/UnitFrame.lua:750
 CastBar = PitBull4_BetterStatusBar_43 {
 }
 RaidTargetIcon = PitBull4_Icon_33 {
 }
 SetFrameRef = <function> defined @Blizzard_FrameXML/SecureHandlers.lua:793
 LeaderIcon = PitBull4_Icon_32 {
 }
 ThreatBar = PitBull4_BetterStatusBar_45 {
 }
 PvPIcon = PitBull4_Icon_34 {
 }
 PowerBar = PitBull4_BetterStatusBar_44 {
 }
 RefixSizeAndPosition = <function> defined @PitBull4/GroupHeader.lua:1657
 AltPowerBar = PitBull4_BetterStatusBar_21 {
 }
 WrapScript = <function> defined @Blizzard_FrameXML/SecureHandlers.lua:782
 HealthBar = PitBull4_BetterStatusBar_20 {
 }
 force_show = true
 UpdateLayout = <function> defined @PitBull4/UnitFrameLayout.lua:1553
 UpdateConfigAnchorLine = <function> defined @PitBull4/Main.lua:559
 overlay = PitBull4_Frame_8 {
 }
 RecheckConfigMode = <function> defined @PitBull4/UnitFrame.lua:624
 SetClickThroughState = <function> defined @PitBull4/Main.lua:559
 _RefreshLayout = <function> defined @PitBull4/UnitFrame.lua:506
 header = PitBull4_Groups_Party pets {
 }
 classification_db = <table> {
 }
 IterateControls = <function> defined @PitBull4/UnitFrame.lua:837
 classification = "Party pets"
 is_singleton = false
}
font_override = nil
size_multiplier = 1.500000
layout_db = <table> {
 bar_spacing = 0
 size_y = 45
 exists = true
 size_x = 60
 bar_texture = "Solid"
}
font = "Fonts\FRIZQT__.TTF"
(*temporary) = "Fonts\FRIZQT__.TTF"
(*temporary) = 13.999999
(*temporary) = nil
(*temporary) = ""
(*temporary) = "attempt to perform arithmetic on field 'font_size' (a nil value)"
LibSharedMedia = <table> {
 OverrideMedia = <table> {
 }
 callbacks = <table> {
 }
 LOCALE_BIT_zhTW = 8
 SetDefault = <function> defined @BugSack/Libs/LibSharedMedia-3.0/LibSharedMedia-3.0.lua:292
 GetDefault = <function> defined @BugSack/Libs/LibSharedMedia-3.0/LibSharedMedia-3.0.lua:288
 LOCALE_BIT_ruRU = 2
 UnregisterAllCallbacks = <function> defined @BugSack/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
 MediaType = <table> {
 }
 LOCALE_BIT_western = 128
 SetGlobal = <function> defined @BugSack/Libs/LibSharedMedia-3.0/LibSharedMedia-3.0.lua:279
 GetGlobal = <function> defined @BugSack/Libs/LibSharedMedia-3.0/LibSharedMedia-3.0.lua:275
 List = <function> defined @BugSack/Libs/LibSharedMedia-3.0/LibSharedMedia-3.0.lua:265
 HashTable = <function> defined @BugSack/Libs/LibSharedMedia-3.0/LibSharedMedia-3.0.lua:261
 MediaTable = <table> {
 }
 RegisterCallback = <function> defined @Bu
commented

Let me know if this still happens