Polsaker / pyCoBot

CoBot en python
MIT License
7 stars 12 forks source link

Coding error #12

Open Agent-Isai opened 9 years ago

Agent-Isai commented 9 years ago

While trying to launch the bot I got:

Isai@vps7.VPS.NYC.agentisai.net:~/CoBot$ python3 pyCoBot.py Python3 is starting up... Error! Traceback (most recent call last): File "pycobot.py", line 7, in from pycobot.pycobot import pyCoBot File "/home/Isai/CoBot/pycobot/pycobot.py", line 42, in print("Al parecer no hay ning\xfan usuario!") UnicodeEncodeError: 'ascii' codec can't encode character '\xfa' in position 22: ordinal not in range(128) Cannot parse, aborting... [1]. Stopped. Isai@vps7.VPS.NYC.agentisai.net:~/CoBot$

Polsaker commented 9 years ago

The encoding is declared on that file and there's no file named pyCoBot.py (with the cases). Did you modify the bot?

Agent-Isai commented 9 years ago

No

JeDaYoshi commented 9 years ago

Actually it is weird. It should work. For some reason works on English VPSs that spanish stuff. Try reinstalling Python3. For example, in Debian/Ubuntu: apt-get install --reinstall python3