aitjcize / PyTox

Python binding for Project-Tox the skype replacement.
GNU General Public License v3.0
96 stars 29 forks source link

Python 3 Bug #3

Closed Jman012 closed 10 years ago

Jman012 commented 10 years ago

http://pastebin.com/unnUw9vh

When run with Python 3.3, an error occurs when on_group_invite() is called:

dhcp-v150-153:DevStuff jman012guy$ python3 GroupchatBot.py 
Connected to DHT.
Adding Groupbot
Already added!
Namechange: [0] to GroupBot
Requesting invite
Requested
Traceback (most recent call last):
  File "GroupchatBot.py", line 64, in <module>
    bot.loop()
  File "GroupchatBot.py", line 41, in loop
    sleep(0.025)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 5: invalid start byte

When run with Python 2 it runs fine.

aitjcize commented 10 years ago

Thanks for reporting.