hangupsbot
hangupsbot copied to clipboard
Connected loop
After sucessfull token exchange, may the special chars in the hangouts:
Connected! Conversations: Client unexpectedly disconnected: 'ascii' codec can't encode character '\xfc' in position 18: ordinal not in range(128) Waiting 5 seconds... Trying to connect again (try 1 of 5)... Connected! Conversations: Client unexpectedly disconnected: 'ascii' codec can't encode character '\xfc' in position 18: ordinal not in range(128) Waiting 5 seconds...
@stunna Do any of the conversations you're in have names with emojis in them?
I'm seeing the same issue. I have a conversation with someone who has a ž in his name. The only difference is my error is: 'charmap' codec can't encode character '\u017d' in position 2: character maps to
@NicCollins I believe the issue with that is that certain terminals can't display unicode characters correctly. If you're on Windows, try running the bot in a Cygwin shell instead? If you're not willing to do that, you can rename the conversation, which you should be able to do since it would be you, the person, and the bot in that chat, making it a group chat and therefore renameable. Give that a go and let me know if it works for you.
@wardellchandler thanks, that appears to have been the issue.