tomQuest2

187 - Misnamed parameter in setTrackerpoint function

Using tomQuest 4.0.1 release, I got the following error.

Date: 2010-10-15 23:30:49
ID: 3
Error occured in: Global
Count: 4
Message: ...terface\AddOns\tomQuest2_Config\tomQuest2_config.lua line 194:
   attempt to index global 'self' (a nil value)
Debug:
   (tail call): ?
   ...terface\AddOns\tomQuest2_Config\tomQuest2_config.lua:194:
      ...terface\AddOns\tomQuest2_Config\tomQuest2_config.lua:193
   ...terface\AddOns\tomQuest2_Config\tomQuest2_config.lua:923:
      ...terface\AddOns\tomQuest2_Config\tomQuest2_config.lua:921
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[2]"]:9:
      [string "safecall Dispatcher[2]"]:5
   (tail call): ?
   ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:797:
      ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:612
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[3]"]:9:
      [string "safecall Dispatcher[3]"]:5
   (tail call): ?
   Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
   ...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:68:
      ...ns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57

In tomQuest2_config.lua, line 193 reads:

local function setTrackerpoint(tracker)

However, tracker is not referenced in the function. Instead, the variable "self" is referenced. Switching line 193 to the following fixes the error.

local function setTrackerpoint(self)
User When Change
gagou Nov 25, 2010 at 14:41 UTC Changed status from Accepted to Fixed
gagou Oct 16, 2010 at 09:17 UTC Changed status from New to Accepted
roncli Oct 16, 2010 at 04:56 UTC Create

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

  • 1 comment
  • Avatar of gagou gagou Oct 16, 2010 at 09:17 UTC - 0 likes

    thanks for catching this error

  • 1 comment

Facts

Last updated
Nov 25, 2010
Reported
Oct 16, 2010
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