SendChatMessage() error #42


  • New
  • Defect
  • Waiting
Open
Assigned to dhedbor
  • _ForgeUser1734486 created this issue Oct 25, 2010

    I always get this LUA error, when i try to get whisper responses. MagicDKP r227, ruRU client.

    Date: 2010-10-25 20:22:24
    ID: 3
    Error occured in: Global
    Count: 1
    Message: SendChatMessage(): Chat message must be UTF-8 text
    Debug:
       (tail call): ?
       [C]: ?
       [C]: SendChatMessage()
       MagicDKP\MagicDKP.lua:1877: SendChatMessage()
       MagicDKP_Database\Database.lua:608: SendChatMessage()
       MagicDKP_Database\Database.lua:424: WhisperPlayerData()
       MagicDKP_Database\Database.lua:376: ?()
       ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147:
          ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
       [string "safecall Dispatcher[16]"]:4:
          [string "safecall Dispatcher[16]"]:4
       [C]: ?
       [string "safecall Dispatcher[16]"]:13: ?()
       ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
       Ace3\AceEvent-3.0\AceEvent-3.0.lua:120:
          Ace3\AceEvent-3.0\AceEvent-3.0.lua:119

  • _ForgeUser1734486 added the tags New Defect Oct 25, 2010
  • DHedbor posted a comment Nov 5, 2010

    Thanks. I'll take a look.

  • DHedbor posted a comment Nov 15, 2010

    Hmm somehow the text is corrupted. Not sure what could cause this since there's no additional information. if you want to help me debug this, replace the method in MagicDKP_Database/Database.lua with this code and send me the output from the chat frame (preferredly using cut and paste rather than a screenshot).

    function module:SendChatMessage(message, ...) print("SendChatMessageDebug", message, ...) pastWhispers[message] = time() mod:SendChatMessage(message, ...) module:cleanupPastWhispers() end

  • DHedbor removed a tag Accepted Nov 15, 2010
  • DHedbor added a tag Waiting Nov 15, 2010

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