Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-06-26 06:02:06,408 INFO got command alert {'ident': ':dziban303!dziban303', 'command': 'alert', 'sender': 'dziban303', 'msg': 'alert 1', 'chan': '#TropicalWeather', 'args': '1', 'mask': 'user/dziban303', 'bot': <pythabot.Pythabot instance at 0x7f33337d7d40>}
- Traceback (most recent call last):
- File "pywx.py", line 23, in <module>
- bot.listen()
- File "/root/virtualenvironment/dziwx/pywx/pythabot.py", line 119, in listen
- self.initparse(line)
- File "/root/virtualenvironment/dziwx/pywx/pythabot.py", line 70, in initparse
- self.parse(parsedline)
- File "/root/virtualenvironment/dziwx/pywx/pythabot.py", line 78, in parse
- reply = command.run(msg)
- File "/root/virtualenvironment/dziwx/pywx/modules/weather.py", line 420, in run
- lines.append(str(line))
- UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 367: ordinal not in range(128)
Advertisement
Add Comment
Please, Sign In to add comment