Error in integration with BigWigs #32


  • Fixed
  • Defect
Closed
Assigned to bethinkontwitch
  • _ForgeUser237834 created this issue May 16, 2011

    What steps will reproduce the problem?
    1. Install BigWigs, r8360 (current build as of ticket creation)
    2. Log into character with both Boss Notes and BigWigs enabled

    What is the expected output? What do you see instead?
    Error generated on login. Capture provided.

    What version of the product are you using?
    Version 1.2.5

    Do you have an error log of what happened?
    Date: 2011-05-16 11:38:41
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\BossNotes_Rules\BigWigsDisplay.lua line 26:
       attempt to index field 'mod' (a nil value)
    Debug:
       (tail call): ?
       BossNotes_Rules\BigWigsDisplay.lua:26:
          BossNotes_Rules\BigWigsDisplay.lua:22
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[1]"]:9:
          [string "safecall Dispatcher[1]"]:5
       (tail call): ?
       ...\AddOns\BossNotes\Libs\AceAddon-3.0\AceAddon-3.0.lua:514: InitializeAddon()
       ...\AddOns\BossNotes\Libs\AceAddon-3.0\AceAddon-3.0.lua:628:
          ...\AddOns\BossNotes\Libs\AceAddon-3.0\AceAddon-3.0.lua:621
    AddOns:
      Swatter, v5.12.5147 (QuirkyKiwi)
      ACP, v3.3.14
      AddonLoader, v2.0
      BigWigs, v3.7
      BigWigsCore, v
      BossNotes, v1.2.5
      BossNotesAbilities, v
      BossNotesEmotes, v
      BossNotesPersonalNotes, v
      BossNotesRules, v
      BlizRuntimeLib_enUS v4.1.0.40100 <us>
      (ck=101)

    Please provide any additional information below.
    From the BigWigs developers: Boss Notes Rules is using the old way of registering zones (), tell the author to fix it for Big Wigs 3.7.

  • _ForgeUser237834 added the tags New Defect May 16, 2011
  • _ForgeUser465068 posted a comment Jun 7, 2011

    Change in the mentioned file the function on line 22 to read the following:

    function BossNotesRulesBigWigsDisplay:OnInitialize ()
    	self.supported = IsAddOnLoaded("BigWigs_Core")
    	if self.supported then
    		self.mod = BigWigs:NewPlugin("Boss Notes Rules", "AceEvent-3.0")
    		self.mod.db = { }
    		self.mod.db.profile = { }
    		self.barTexts = { }
    	end
    end
    

    It's line 25 that has the real change (if I recall my changes correctly). This will make Boss Notes and Bigwigs cooperate together again.

  • _ForgeUser23487 posted a comment Sep 29, 2011

    This problem is _still_ present months later in the new v1.2.7 release in combination with BigWigs r8684 (current build). Identical error to the above on the same line number(s) at logon with both mods loading.

    The fix provided by Luckyjack_SL shown below actually solves it. For those who would like more information, the file to put it in is BigWigsDisplay.lua in the BossNotes_Rules folder. To condense the shown fix, just replace the existing line 25 in BigWigsDisplay.lua with:

    self.mod = BigWigs:NewPlugin("Boss Notes Rules", "AceEvent-3.0")
    
  • _ForgeUser1343643 removed a tag New Sep 23, 2012
  • _ForgeUser1343643 added a tag Fixed Sep 23, 2012
  • _ForgeUser1343643 closed issue Sep 23, 2012

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