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

Crash when interacting with users who sent you an invitation #470

Open
martinpelikan opened this issue Apr 1, 2019 · 0 comments
Open

Crash when interacting with users who sent you an invitation #470

martinpelikan opened this issue Apr 1, 2019 · 0 comments

Comments

@martinpelikan
Copy link

I've had a few spam accounts add me on Hangouts that I never accepted/declined through the web interface. I noticed their names show up in my conversations list, so I opened up one up to see what would happen. Hangups crashed soon after that with the stack trace posted below.

It looks like navigating away from a conversation with a user you haven't added, or typing (even without sending the message) to that user, attempts to update the conversation status and crashes after that.

Traceback (most recent call last):
  File "/home/redacted/.pyenv/versions/hangups/bin/hangups", line 11, in <module>
    load_entry_point('hangups==0.4.9', 'console_scripts', 'hangups')()
  File "/home/redacted/.pyenv/versions/hangups/lib/python3.7/site-packages/hangups/ui/__main__.py", line 1207, in main
    args.manual_login
  File "/home/redacted/.pyenv/versions/hangups/lib/python3.7/site-packages/hangups/ui/__main__.py", line 130, in __init__
    loop.run_until_complete(asyncio.gather(*coros))
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    return future.result()
  File "/home/redacted/.pyenv/versions/hangups/lib/python3.7/site-packages/hangups/ui/__main__.py", line 287, in consume
    await coro
  File "/home/redacted/.pyenv/versions/hangups/lib/python3.7/site-packages/hangups/conversation.py", line 604, in update_read_timestamp
    read_timestamp
  File "/home/redacted/.pyenv/versions/hangups/lib/python3.7/site-packages/hangups/client.py", line 681, in update_watermark
    update_watermark_request, response)
  File "/home/redacted/.pyenv/versions/hangups/lib/python3.7/site-packages/hangups/client.py", line 435, in _pb_request
    .format(status, description)
hangups.exceptions.NetworkError: Request failed with status 4: 'User must accept invitation before updating watermarks.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants