Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I don't receive message from group with chat bot #417

Closed
blueperil opened this issue Feb 7, 2020 · 0 comments
Closed

I don't receive message from group with chat bot #417

blueperil opened this issue Feb 7, 2020 · 0 comments
Labels
bug: regression Something isn't working, but it used to work before
Milestone

Comments

@blueperil
Copy link

I don't receive message from group with chat bot since the release 0.7.1. The log always shows a message like:

[[email protected]] Failed to handle Telegram update UpdateNewChannelMessage(message=Message(id=21396, to_id=PeerChannel(channel_id=1127537892), date=datetime.datetime(2020, 2, 7, 12, 26, 19, tzinfo=datetime.timezone.utc), message='[Meme] How do they do that?\nhttps://redd.it/f08948\n\nby @programmer_humor', out=False, mentioned=False, media_unread=False, silent=False, post=True, from_scheduled=False, legacy=False, edit_hide=False, from_id=None, fwd_from=None, via_bot_id=None, reply_to_msg_id=None, media=MessageMediaPhoto(photo=Photo(id=5327955567353900584, access_hash=678240594245998382, file_reference=b'\x02C4\xdc\xe4\x00\x00S\x94^=Wk\x19\x0b\x9a\xea\xa1$\xf7e/8\xc1?x/7\x1c', date=datetime.datetime(2020, 2, 7, 12, 26, 19, tzinfo=datetime.timezone.utc), sizes=[PhotoStrippedSize(type='i', bytes=b'\x01(&\xd1g*\xc4d\xe3?\xde\x14\t\x1b\xd7\'\x9f\xe2\x15VmB\xde9\x9d\x18\xb6T\xe0\xfc\x82\x96+\xf8%\x18ErGR\x10P\x05\x92\xed\x9e\t\xff\x00\xbe\x859w1\xe1\x8e\x07\xa1\x07\x9a\xaa\xfa\x85\xb4NQ\xd1\xf2{l\x15 \xbf\x84\x0e"\x90\x7f\xc0h\x02\xda\x82\x14\x02r}h\xaa\xf6\xd7\xd0\xdc\xc8\xd1\xc6\x182\x8c\x90F(\xa0\x0c+\xc1\xfe\x9b?\xfb\xe6\xa6\x82\t\xe1\x88\xb9\\+c\x1e\xf4\x12?\xb69\xc7\xfa\xef\xebZ\xf2\x00_\x0c3E\xae#\n\xe9\x9f\xcc\x0f\xb4\x80x\x19\x153\\\xc8\x9f.GA\x9e+F\xe25\x92)\x13\x1dy\x1fZ\xc7\x98\xe6g\xf4\xdch\xb0\x17\xb4~o$brJ\x7fQE\x1a/\xfc|\xbf\xfb\x9f\xd4Q@\xcb1\xd8\x03u,\xcd\xc9-\x95\xca\xf4\xab\x92\xa30\xf9q\x9fSE\x14\x08\xaa\xe9*\x0c\x08\xd9\xc9\xf4<Vsi\xf7$\xf3\x1b\x00{\xf1E\x14\x0c\xb9\xa7Z\xc9mr\xc1\xc3cg\\{\xd1E\x14\x01'), PhotoSize(type='m', location=FileLocationToBeDeprecated(volume_id=248207950, local_id=125707), w=302, h=320, size=28655), PhotoSize(type='x', location=FileLocationToBeDeprecated(volume_id=248207950, local_id=125708), w=460, h=487, size=54207)], dc_id=2, has_stickers=False), ttl_seconds=None), reply_markup=None, entities=[MessageEntityUrl(offset=28, length=22), MessageEntityMention(offset=55, length=17)], views=1, edit_date=None, post_author=None, grouped_id=None, restriction_reason=[]), pts=21430, pts_count=1)
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mautrix_telegram/abstract_user.py", line 194, in _update_catch
    await self._update(update)
  File "/usr/lib/python3.8/site-packages/mautrix_telegram/abstract_user.py", line 241, in _update
    await self.update_message(update)
  File "/usr/lib/python3.8/site-packages/mautrix_telegram/abstract_user.py", line 424, in update_message
    if self.ignore_incoming_bot_events and self.relaybot and sender.id == self.relaybot.tgid:
AttributeError: 'NoneType' object has no attribute 'id'
@tulir tulir closed this as completed in d58eb52 Feb 7, 2020
@tulir tulir added the bug: regression Something isn't working, but it used to work before label Feb 8, 2020
@tulir tulir added this to the 0.7.x milestone Feb 8, 2020
tulir added a commit that referenced this issue Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: regression Something isn't working, but it used to work before
Development

No branches or pull requests

2 participants