errhub7
V2EX  ›  问与答

EFB2.0 转发微信消息,无法发送图片与表情

  •  
  •   errhub7 · Mar 19, 2018 via Android · 2430 views
    This topic created in 3000 days ago, the information mentioned may be changed or developed.

    报错为: 2018-03-19 06:16:46,307 [ERROR]: telegram.ext.dispatcher (dispatcher.process_update; dispatcher.py:301) An uncaught error was raised while processing the update Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/telegram/ext/dispatcher.py", line 279, in process_update handler.handle_update(update, self) File "/usr/local/lib/python3.6/dist-packages/telegram/ext/messagehandler.py", line 169, in handle_update return self.callback(dispatcher.bot, update, **optional_args) File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 70, in msg_thread_creator
    threading.Thread(target=self.msg, args=(bot, update)).run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 108, in msg return self.process_telegram_message(bot, update) File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 274, in process_telegram_message if msg_md_text == escape_markdown(message.text): File "/usr/local/lib/python3.6/dist-packages/telegram/utils/helpers.py", line 54, in escape_markdown return re.sub(r'([%s])' % escape_chars, r'\\1', text) File "/usr/lib/python3.6/re.py", line 191, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object 求大佬帮助

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3035 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.