Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: invalid argument when calling pygame.Color #42

Open
xaedes opened this issue Apr 19, 2016 · 1 comment
Open

ValueError: invalid argument when calling pygame.Color #42

xaedes opened this issue Apr 19, 2016 · 1 comment

Comments

@xaedes
Copy link

xaedes commented Apr 19, 2016

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.

xaedes added a commit to xaedes/pgu that referenced this issue Apr 19, 2016
(by converting unicode strings back to a normal strings before passing it to pygame.Color)
@parogers
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants