Fishing Buddy -- Tracking

1 - Error at startup on version 0.9.8g

When loading the addon I get the following error:

Message: ...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:304: attempt to compare number with nil Time: 12/25/09 21:17:43 Count: 1 Stack: ...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:304: in function <...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:297> ...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:377: in function <...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:365> ...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:543: in function <...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:533> ...ace\AddOns\FB_TrackingFrame\FishingTrackingFrame.lua:580: in function `OnEvent' [string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

I have only got fishing buddy and FB Trackingframe running. :-)

Regards,

Zas

User When Change
Sutorix Dec 29, 2011 at 22:30 UTC
Sutorix Aug 30, 2010 at 01:46 UTC Changed status from New to Accepted
Zasurus Dec 25, 2009 at 21:23 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Hanfox Hanfox Dec 29, 2009 at 23:27 UTC - 0 likes

    I'm unaware if this is directly connected due to the snips of the message Zas got, but when I started with a clean FB install I was getting an error about something equalling nil so I looked in the FB_TrackingFrame.lua and it read:

    PBTF_Info = nil
    

    So I replaced it with my old FB_TrackingFrame.lua information (which for all intents and purposes looks pretty blank) which read:

    PBTF_Info = {
    	["updated"] = 1,
    	["COLORS"] = {
    		[13760] = {
    			["a"] = 0.75,
    			["b"] = 0.1,
    			["g"] = 0.8,
    			["r"] = 0.8,
    		},
    		[13759] = {
    			["a"] = 0.75,
    			["b"] = 1,
    			["g"] = 0.5,
    			["r"] = 0.5,
    		},
    		[13755] = {
    			["a"] = 0.75,
    			["b"] = 0.4,
    			["g"] = 0.1,
    			["r"] = 0.4,
    		},
    		[13756] = {
    			["a"] = 0.75,
    			["b"] = 0,
    			["g"] = 1,
    			["r"] = 1,
    		},
    	},
    	["HOURLY"] = {
    		[13759] = {
    			["plot"] = 1,
    			["name"] = "Nightfin Snapper",
    			["maxval"] = 0,
    			["count"] = 24,
    			["data"] = {
    				0, -- [1]
    				0, -- [2]
    				0, -- [3]
    				0, -- [4]
    				0, -- [5]
    				0, -- [6]
    				0, -- [7]
    				0, -- [8]
    				0, -- [9]
    				0, -- [10]
    				0, -- [11]
    				0, -- [12]
    				0, -- [13]
    				0, -- [14]
    				0, -- [15]
    				0, -- [16]
    				0, -- [17]
    				0, -- [18]
    				0, -- [19]
    				0, -- [20]
    				0, -- [21]
    				0, -- [22]
    				0, -- [23]
    				0, -- [24]
    			},
    			["texture"] = "Interface\\Icons\\INV_Misc_Fish_23",
    		},
    		[13760] = {
    			["plot"] = 1,
    			["item"] = "13760:0:0:0:0:0:0:0",
    			["name"] = "Sunscale Salmon",
    			["maxval"] = 2,
    			["count"] = 24,
    			["data"] = {
    				0, -- [1]
    				0, -- [2]
    				0, -- [3]
    				0, -- [4]
    				0, -- [5]
    				0, -- [6]
    				0, -- [7]
    				0, -- [8]
    				0, -- [9]
    				0, -- [10]
    				0, -- [11]
    				0, -- [12]
    				0, -- [13]
    				0, -- [14]
    				0, -- [15]
    				0, -- [16]
    				2, -- [17]
    				0, -- [18]
    				0, -- [19]
    				0, -- [20]
    				0, -- [21]
    				0, -- [22]
    				0, -- [23]
    				0, -- [24]
    			},
    			["texture"] = "Interface\\Icons\\INV_Misc_Fish_19",
    		},
    	},
    	["WEEKLY"] = {
    		[13756] = {
    			["plot"] = 1,
    			["name"] = "Summer Bass",
    			["maxval"] = 0,
    			["count"] = 53,
    			["data"] = {
    				0, -- [1]
    				0, -- [2]
    				0, -- [3]
    				0, -- [4]
    				0, -- [5]
    				0, -- [6]
    				0, -- [7]
    				0, -- [8]
    				0, -- [9]
    				0, -- [10]
    				0, -- [11]
    				0, -- [12]
    				0, -- [13]
    				0, -- [14]
    				0, -- [15]
    				0, -- [16]
    				0, -- [17]
    				0, -- [18]
    				0, -- [19]
    				0, -- [20]
    				0, -- [21]
    				0, -- [22]
    				0, -- [23]
    				0, -- [24]
    				0, -- [25]
    				0, -- [26]
    				0, -- [27]
    				0, -- [28]
    				0, -- [29]
    				0, -- [30]
    				0, -- [31]
    				0, -- [32]
    				0, -- [33]
    				0, -- [34]
    				0, -- [35]
    				0, -- [36]
    				0, -- [37]
    				0, -- [38]
    				0, -- [39]
    				0, -- [40]
    				0, -- [41]
    				0, -- [42]
    				0, -- [43]
    				0, -- [44]
    				0, -- [45]
    				0, -- [46]
    				0, -- [47]
    				0, -- [48]
    				0, -- [49]
    				0, -- [50]
    				0, -- [51]
    				0, -- [52]
    				0, -- [53]
    			},
    			["texture"] = "Interface\\Icons\\INV_Misc_Fish_03",
    		},
    		[13755] = {
    			["plot"] = 1,
    			["name"] = "Winter Squid",
    			["maxval"] = 0,
    			["count"] = 53,
    			["data"] = {
    				0, -- [1]
    				0, -- [2]
    				0, -- [3]
    				0, -- [4]
    				0, -- [5]
    				0, -- [6]
    				0, -- [7]
    				0, -- [8]
    				0, -- [9]
    				0, -- [10]
    				0, -- [11]
    				0, -- [12]
    				0, -- [13]
    				0, -- [14]
    				0, -- [15]
    				0, -- [16]
    				0, -- [17]
    				0, -- [18]
    				0, -- [19]
    				0, -- [20]
    				0, -- [21]
    				0, -- [22]
    				0, -- [23]
    				0, -- [24]
    				0, -- [25]
    				0, -- [26]
    				0, -- [27]
    				0, -- [28]
    				0, -- [29]
    				0, -- [30]
    				0, -- [31]
    				0, -- [32]
    				0, -- [33]
    				0, -- [34]
    				0, -- [35]
    				0, -- [36]
    				0, -- [37]
    				0, -- [38]
    				0, -- [39]
    				0, -- [40]
    				0, -- [41]
    				0, -- [42]
    				0, -- [43]
    				0, -- [44]
    				0, -- [45]
    				0, -- [46]
    				0, -- [47]
    				0, -- [48]
    				0, -- [49]
    				0, -- [50]
    				0, -- [51]
    				0, -- [52]
    				0, -- [53]
    			},
    			["texture"] = "Interface\\Icons\\INV_Misc_Fish_13",
    		},
    	},
    }
    

    Though, sadly, if you try to access the Tracking tab in the Options WOW crashes... so not a total fix, but an interesting experiment >.<

    If this has nothing to do with the OPs post then I apologize, but I hope this helps fix the nil error and the error when looking at the Tracking tab :)

    Last edited Dec 29, 2009 by Hanfox
  • 1 comment

Facts

Last updated
Dec 29, 2011
Reported
Dec 25, 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees