Error with new toons. #5


  • New
  • Defect
Open
Assigned to _ForgeUser18754
  • Torsdan created this issue Feb 5, 2009

    What steps will reproduce the problem?
    /spellbinder
    No other addons installed. WTF folder removed.

    What is the expected output? What do you see instead?
    Open the Spellbinder frame.
    Error message below.

    What version of the product are you using?
    Normally: 2.0-release
    Currently: r4 (to see if it made any difference)

    Do you have an error log of what happened?

    [2009/02/05 17:21:39-1942-x1]: AceConfigDialog-3.0-25:1655: AceConfigRegistry-3.0:ValidateOptionsTable(): SpellBinder.args.school3.name: expected a string or funcref, got 'nil'
    AceConfigRegistry-3.0-6:42: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:37>
    AceConfigRegistry-3.0-6:173: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:168>
    AceConfigRegistry-3.0-6:207: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182>
    AceConfigRegistry-3.0-6:217: in function <...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:182>
    AceConfigRegistry-3.0-6:248: in function `ValidateOptionsTable'
    AceConfigRegistry-3.0-6:294: in function `app'
    AceConfigDialog-3.0-25:1655: in function `Open'
    SpellBinder-1.2\SpellBinder.lua:30: in function `value'
    Interface\FrameXML\ChatFrame.lua:3231: in function `ChatEdit_ParseText':
    Interface\FrameXML\ChatFrame.lua:2930: in function `ChatEdit_SendText':
    Interface\FrameXML\ChatFrame.lua:2951: in function `ChatEdit_OnEnterPressed':
    <string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>

      ---

    Please provide any additional information below.
    Addon works for all other toons except any newly created toons. For the purpose of trying to trouble shoot I had removed all addons except SB and removed the wft folder and let blizz recreate the folder.

  • Torsdan added the tags New Defect Feb 5, 2009
  • Torsdan posted a comment Feb 5, 2009

    Update, I have found the issue, but still unsure why it does it. It appears that it has the error until I have gotten high enough and bought atleast 1 skill in each of the class's spec. ie: as Paladin: 1 Holy, 1 Prot & 1 Ret.

  • lachian posted a comment Apr 3, 2010

    SpellBinder.lua
    Line : 395

    	function SpellBinder:BuildTable()
    		currentitem = nil
    		options.args = {
    			school1 = buildschool(1),
    			school2 = buildschool(2),
    			school3 = buildschool(3),
    			school4 = buildschool(4),
    			item = builditem(),
    			macro = buildmacro(),
    		}
    		--[[if HasPetSpells() then
    			options.args.pet = buildpet()
    		end]]
    	end
    

    The issue is because the author is assuming you have all four tabs in your spellbook. Not sure how to correct it, but maybe some type of checking to see if objects exists before trying to access their properties might fix this problem.

  • _ForgeUser220372 posted a comment May 2, 2010

    Fix committed. Download r6 from files section or Curse Updater


To post a comment, please login or register a new account.