-
Notifications
You must be signed in to change notification settings - Fork 412
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
Encoding characters #302
Comments
Hmm, it looks like you have an invisible character inside the text |
I have exactly the same issue when I use my terminal
To be sure this is a issue with encoding, I use
Maybe an issue with bad version of python or dependencies. |
Okay, I narrowed it down to it being the def __repr__(self):
return self.__unicode__().encode('UTF-8') Instead of: def __repr__(self):
return self.__unicode__() Though this doesn't work in Python 3. I'll figure something out in a bit, and make a PR |
Okay, I cannot for the life of me make this work in both Python 2 and 3, the temporary solution is that you either don't print the threads you have received, or use Python 3 |
Thanks a lot for your help. |
Got exactly the same problem. Any workaround on python 2.7? |
Not really, except not trying to print the objects directly. As I said, couldn't figure out how to make it work in both versions. So, instead of: print client.fetchAllUsers() you'd do print [u.name for u in client.fetchAllUsers()] |
This should be fixed in #399, a while ago |
Hi !
I would like to test today but I have an issue and I don't know where I can find a solution.
Do you know a solution for this ?
Thanks in advance
package version:
my test script
script.py
:execution result:
The text was updated successfully, but these errors were encountered: