LUA errors with current StarTip #44


  • New
  • Defect
Open
Assigned to _ForgeUser189254
  • NapalmDawnTV created this issue Aug 28, 2012

    What steps will reproduce the problem?
    1.Mousing over a friendly unit in grid
    2.
    3.

    What is the expected output? What do you see instead?
    No errors-getting a LUA error

    What version of the product are you using?
    Most recent one on wowace

    Do you have an error log of what happened?
    Message: Interface\AddOns\StarTip_Targeting\Targeting.lua:23: attempt to call global 'GetNumRaidMembers' (a nil value)
    Time: 08/28/12 23:59:58
    Count: 3
    Stack: Interface\AddOns\StarTip_Targeting\Targeting.lua:23: in function `SetUnit'
    Interface\AddOns\StarTip\StarTip.lua:1011: in function <Interface\AddOns\StarTip\StarTip.lua:980>
    [C]: ?
    [C]: in function `SetUnit'
    Interface\FrameXML\UnitFrame.lua:224: in function `UnitFrame_UpdateTooltip'
    Interface\FrameXML\UnitFrame.lua:211: in function <Interface\FrameXML\UnitFrame.lua:198>
    [C]: ?
    Interface\FrameXML\SecureHandlers.lua:264: in function <Interface\FrameXML\SecureHandlers.lua:261>
    [C]: ?
    Interface\FrameXML\SecureHandlers.lua:320: in function <Interface\FrameXML\SecureHandlers.lua:304>
    (tail call): ?

    Locals: self = <table> {
    SetDefaultModuleLibraries = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:383
    Enable = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:315
    UnregisterAllEvents = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:201
    EnableModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:348
    modules = <table> {
    }
    GetModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:231
    IterateEmbeds = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:458
    SetUnit = <function> defined @Interface\AddOns\StarTip_Targeting\Targeting.lua:19
    defaultModuleLibraries = <table> {
    }
    toggled = true
    SetDefaultModulePrototype = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:425
    name = "Targeting"
    IsEnabled = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:467
    orderedModules = <table> {
    }
    DisableModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:366
    RegisterMessage = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
    UnregisterMessage = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:180
    IsModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:238
    SetDefaultModuleState = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:403
    SetEnabledState = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:440
    baseName = "StarTip_Targeting"
    enabledState = true
    OnDisable = <function> defined @Interface\AddOns\StarTip_Targeting\Targeting.lua:16
    RegisterEvent = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
    UnregisterAllMessages = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:201
    OnEnable = <function> defined @Interface\AddOns\StarTip_Targeting\Targeting.lua:13
    OnInitialize = <function> defined @Interface\AddOns\StarTip_Targeting\Targeting.lua:10
    NewModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:256
    IterateModules = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:453
    defaultModuleState = true
    SendMessage = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:86
    GetName = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:300
    moduleName = "Targeting"
    UnregisterEvent = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:180
    Disable = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:330
    }
    txt = ""
    guid = "0x020000000047A9EB"
    (*temporary) = 1
    (*temporary) = nil
    (*temporary) = "attempt to call global 'GetNumRaidMembers' (a nil value)"
    StarTip = <table> {
    SetDefaultModuleLibraries = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-

    Please provide any additional information below.
    I used to love CowTip and then Startip when CT died.  I've had to use TipTop now for months because StarTip was just too buggy.  I was excited to see ST back but still getting bugs.  Should I look for any old lua files in savedvariables?

  • NapalmDawnTV added the tags New Defect Aug 28, 2012
  • _ForgeUser189254 posted a comment Aug 29, 2012

    Vampyrate, as a temporary fix, just disable the "Targeting" module. Once I get my computer setup again I'll fix this error you're seeing.

    Also, StarTip is being retired. I have StarTip2 in beta at the moment. It's basically the same code, but the configuration is done differently now in that you just provide a separate addon describing your profile. There are two profiles that come with StarTip2 -- Natural and Default. Default is basically the same tooltip face as StarTip the original.

    Thanks for the bug report.


    Edited Sep 1, 2012

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