parogers / pgu

Automatically exported from code.google.com/p/pgu
GNU Lesser General Public License v2.1
86 stars 36 forks source link

ValueError: invalid argument when calling pygame.Color #42

Open xaedes opened 8 years ago

xaedes commented 8 years ago

Since an update of some software packages this error occurs even in the minimal examples. The error is caused by calling pygame.Color with an unicode string, which isn't supported (on my system at least).

This makes pgu completely unusable. The fix for this is easy though. I will submit an pull request with a fix.

parogers commented 8 years ago

I've updated the repo to check for unicode strings. I've tested on my system here (Linux Mint 17.3) on python2 and 3 and it seems to be working.