hangupsbot icon indicating copy to clipboard operation
hangupsbot copied to clipboard

Connected loop

Open stunna opened this issue 8 years ago • 4 comments

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 avatar Nov 03 '15 17:11 stunna

@stunna Do any of the conversations you're in have names with emojis in them?

wardellbagby avatar Nov 05 '15 19:11 wardellbagby

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 avatar Nov 24 '15 21:11 NicCollins

@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.

wardellbagby avatar Nov 25 '15 19:11 wardellbagby

@wardellchandler thanks, that appears to have been the issue.

NicCollins avatar Nov 30 '15 19:11 NicCollins