String errors when adjusting attributes #127


  • Defect
  • Fixed
Closed
Assigned to _ForgeUser65911
  • tinolyn created this issue Mar 14, 2010

    What steps will reproduce the problem?
    1. Install Grid2
    2. Adjust attributes (I did borders)
    3.

    What is the expected output? What do you see instead?
    The below errors are what I'm getting

    What version of the product are you using?
    r448

    Do you have an error log of what happened?
    6x <string>:"return function (self, unit) local count = ...":1: attempt to call method 'GetCount' (a nil value)
    Grid2-Grid2 v3.3.0.446\modules\IndicatorBorder.lua:11: in function `OnUpdate'
    Grid2-Grid2 v3.3.0.446\GridIndicator.lua:115: in function `Update'
    Grid2-Grid2 v3.3.0.446\GridFrame.lua:238: in function `UpdateIndicators'
    Grid2-Grid2 v3.3.0.446\GridFrame.lua:29: in function <Grid2\GridFrame.lua:22>
    <in C code>: in function `SetAttribute'
    Interface\FrameXML\SecureTemplates.lua:816: in function <Interface\FrameXML\SecureTemplates.lua:729>:
    Interface\FrameXML\SecureTemplates.lua:1024: in function `SecureGroupHeader_Update':
    Interface\FrameXML\SecureTemplates.lua:610: in function <Interface\FrameXML\SecureTemplates.lua:608>:

    Locals:
    self = <table> {
    statuses = <table> {}
    Layout = <function> @ Grid2\modules\IndicatorBorder.lua:6:
    Create = <function> @ Grid2\modules\IndicatorBorder.lua:3:
    name = "border"
    priorities = <table> {}
    sortStatuses = <function> @ Grid2\GridIndicator.lua:9:
    OnUpdate = <function> @ Grid2\modules\IndicatorBorder.lua:9:
    dbx = <table> {}
    }
    parent = Grid2LayoutHeader1UnitButton4 {
    0 = <userdata>
    OnEnter = <function> @ Grid2\GridFrame.lua:105:
    center-right = <unnamed> {}
    text-down = <unnamed> {}
    unit = "raid2"
    SetPosition = <function> @ Grid2\GridFrame.lua:131:
    EnableMouseoverHighlight = <function> @ Grid2\GridFrame.lua:93:
    health-color = <unnamed> {}
    corner-top-right = <unnamed> {}
    heals-color = <unnamed> {}
    side-bottom = <unnamed> {}
    heals = <unnamed> {}
    OnLeave = <function> @ Grid2\GridFrame.lua:119:
    center-left = <unnamed> {}
    LayoutIndicators = <function> @ Grid2\GridFrame.lua:124:
    health = <unnamed> {}
    corner-top-left = <unnamed> {}
    corner-bottom-left = <unnamed> {}
    text-name = <unnamed> {}
    icon-center = <unnamed> {}
    Reset = <function> @ Grid2\GridFrame.lua:97:
    }
    unit = "raid2"
    status = <table> {
    UpdateUnit = <function> @ Grid2\modules\StatusThreat.lua:4:
    indicators = <table> {}
    RegisterMessage = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117:
    UnregisterAllEvents = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:201:
    UpdateAllUnits = <function> @ Grid2\modules\StatusThreat.lua:11:
    GetColor = <function> defined return function (self, unit) local count = self:GetCount(unit) if count == 1 then return 1, 0, 0, 1 end if count == 2 then return 1, 0.007843137254902, 0.050980392156863, 1 end return 1, 0, 0.17647058823529, 1 end:1
    SendMessage = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:86:
    dbx = <table> {}
    OnDisable = <function> @ Grid2\modules\StatusThreat.lua:22:
    RegisterEvent = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117:
    UnregisterAllMessages = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:201:
    IsActive = <function> @ Grid2\modules\StatusThreat.lua:30:
    OnEnable = <function> @ Grid2\modules\StatusThreat.lua:17:
    name = "threat"
    enabled = true
    GetIcon = <function> @ Grid2\modules\StatusThreat.lua:52:
    UnregisterEvent = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:180:
    UnregisterMessage = <function> @ ButtonFacade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:180:
    }
    (*temporary) = <function> defined =[C]:-1
    (*temporary) = Grid2LayoutHeader1UnitButton4 {
    0 = <userdata>
    OnEnter = <function> @ Grid2\GridFrame.lua:105:
    center-right = <unnamed> {}
    text-down = <unnamed> {}
    unit = "raid2"
    SetPosition = <function> @ Grid2\GridFrame.lua:131:
    EnableMouseoverHighlight = <function> @ Grid2\GridFrame.lua:93:
    health-color = <unnamed> {}
    corner-top-right = <unnamed> {}
    heals-color = <unnamed> {}
    side-bottom = <unnamed> {}
    heals = <unnamed> {}
    OnLeave = <function> @ Grid2\GridFrame.lua:119:
    center-left = <unnamed> {}
    LayoutIndicators = <function> @ Grid2\GridFrame.lua:124:
    health = <unnamed> {}
    corner-top-left = <unnamed> {}
    corner-bottom-left = <unnamed> {}
    text-name = <unnamed> {}
    icon-center = <unnamed> {}
    Reset = <function> @ Grid2\GridFrame.lua:97:
    }

      ---

    Please provide any additional information below.

  • tinolyn added the tags New Defect Mar 14, 2010
  • _ForgeUser65911 posted a comment Mar 14, 2010

    Version 448 is the stable build for today. Most of the plugins changed as well. There are links to their files section on the main (Overview) page.

  • _ForgeUser65911 removed a tag New Mar 15, 2010
  • _ForgeUser65911 added a tag Waiting Mar 15, 2010
  • _ForgeUser65911 unassigned issue from _ForgeUser117147 Mar 15, 2010
  • _ForgeUser65911 self-assigned this issue Mar 15, 2010
  • tinolyn posted a comment Mar 16, 2010

    Oh, I need to install the additional Grid2 parts along with the base Grid2?

    If that's the reason, then disregard.

  • tinolyn removed a tag Waiting Mar 16, 2010
  • tinolyn added a tag Replied Mar 16, 2010
  • _ForgeUser65911 posted a comment Mar 16, 2010

    The base should work on its own. However if you use any of the plugins you need them updated as well. Repost if you still get errors.

  • _ForgeUser65911 removed a tag Replied Mar 16, 2010
  • _ForgeUser65911 added a tag Fixed Mar 16, 2010
  • _ForgeUser65911 closed issue Mar 16, 2010

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