Olivia5k / doge

wow very terminal doge
https://pypi.python.org/pypi/doge/
MIT License
961 stars 91 forks source link

SyntaxError: invalid syntax with Python 3.2.5 #37

Closed tcort closed 10 years ago

tcort commented 10 years ago

I get the following error when I attempt to run doge with Python 3.2.5. I'm using a fresh clone, commit fa4c46ced77b27f7a7bc8a1978d9d493a55d7073

Traceback (most recent call last):
  File "bin/doge", line 14, in <module>
    from doge import core
  File "doge/core.py", line 285
    msg = u'{0} {1}'.format(random.choice(wow.PREFIXES), self.word)
                   ^
SyntaxError: invalid syntax
Olivia5k commented 10 years ago

I'll be honest, I don't really have any idea why that would happen. Does it still occur if you remove the u prefix from the string definition?

tcort commented 10 years ago

This error was also fixed by setting my locale to en_US.UTF-8.

Olivia5k commented 10 years ago

Haha, computers; they'll be the death of me. Well, glad it works anyway. :) :dog2:

fuadsaud commented 10 years ago

We need a doge emoji