Code Monkey home page Code Monkey logo

Comments (4)

blueset avatar blueset commented on August 10, 2024

已确认为 bug,将于下一版本修复。感谢汇报。

from efb-wechat-slave.

blueset avatar blueset commented on August 10, 2024

已于 blueset/efb-telegram-master/e7bb247 修复。

from efb-wechat-slave.

ipcjs avatar ipcjs commented on August 10, 2024

更新了版本后,换了个错误。。。

版本

EH Forwarder Bot
Version: 2.0.0b10
Python version:
3.6.3 (default, Oct 3 2017, 21:45:48)
[GCC 7.2.0]

Master channel:
Telegram Master (blueset.telegram) 2.0.0b10 # Default profile

Slave channel:
WeChat Slave (blueset.wechat) 2.0.0a11

Middlewares:
No middleware is enabled.

日志

2018-03-01 11:44:31,133 [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 "/home/ubuntu/.local/lib/python3.6/site-packages/telegram/ext/dispatcher.py", line 279, in process_update
    handler.handle_update(update, self)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/telegram/ext/messagehandler.py", line 169, in handle_update
    return self.callback(dispatcher.bot, update, **optional_args)
  File "/home/ubuntu/.local/lib/python3.6/site-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 "/home/ubuntu/.local/lib/python3.6/site-packages/efb_telegram_master/master_message.py", line 108, in msg
    return self.process_telegram_message(bot, update)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/efb_telegram_master/master_message.py", line 274, in process_telegram_message
    if msg_md_text == escape_markdown(message.text):
  File "/home/ubuntu/.local/lib/python3.6/site-packages/telegram/utils/helpers.py", line 46, 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

from efb-wechat-slave.

blueset avatar blueset commented on August 10, 2024

尝试于 blueset/efb-telegram-master/0f12787 修复。下一版本推送。

from efb-wechat-slave.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.