MagicDKP [Deprecated for MOP]

42 - SendChatMessage() error

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

User When Change
dhedbor Nov 15, 2010 at 06:16 UTC Changed status from Accepted to Waiting
dhedbor Nov 05, 2010 at 07:39 UTC Changed status from New to Accepted
mikegomel Oct 25, 2010 at 17:23 UTC Create

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

  • 2 comments
  • Avatar of dhedbor dhedbor Nov 15, 2010 at 06:16 UTC - 0 likes

    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

  • Avatar of dhedbor dhedbor Nov 05, 2010 at 07:40 UTC - 0 likes

    Thanks. I'll take a look.

  • 2 comments

Facts

Last updated
Nov 15, 2010
Reported
Oct 25, 2010
Status
Waiting - Waiting for more information.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees