Conflict with GHI? #30


  • New
  • Defect
Open
Assigned to allinonemighty
  • Lethann created this issue Dec 4, 2014

    Upon login the error below appears. Other's have reported it as well. Always refers back to GryphonHeart Items (GHI).

    ---------------------------

    Message: Interface\AddOns\Elephant\Event.lua:51: attempt to index field '?' (a nil value)
    Time: 12/04/14 14:15:36
    Count: 10
    Stack: Interface\AddOns\Elephant\Event.lua:51: in function <Interface\AddOns\Elephant\Event.lua:25>
    ...lay\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:157: in function <...lay\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:157>
    [string "safecall Dispatcher[17]"]:4: in function <[string "safecall Dispatcher[17]"]:4>
    [C]: ?
    [string "safecall Dispatcher[17]"]:13: in function `?'
    ...lay\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
    ...ce\AddOns\Cosplay\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function `s'
    Interface\AddOns\GHI\UI\GHI_LinksUI.lua:164: in function <Interface\AddOns\GHI\UI\GHI_LinksUI.lua:159>
    Interface\AddOns\GHI\UI\GHI_LinksUI.lua:143: in function <Interface\AddOns\GHI\UI\GHI_LinksUI.lua:127>

    Locals: <none>

  • Lethann added the tags New Defect Dec 4, 2014
  • Lethann posted a comment Dec 10, 2014

    After disabling GHI I found out that this is not a GHI specific error. It happens with any addon that uses the AceEvents library.

  • Burstroc posted a comment Apr 8, 2015

    I think the issue is that sometimes the channelName variable returned from the "CHAT_MSG_CHANNEL" and/or "CHAT_MSG_CHANNEL_NOTICE" events is an empty string which throws an error since Elephant looks for that value as a table key. I added the following after line 37 of Event.lua to stop the error and so far it seems to be working:

    if channelName == "" then return end
    

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