Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
'str' does not support the buffer interface #216
The uploads portion of the following example code fails with the error above for both create() and save(), removing the uploads assignment makes the call successful, but not valuable:
Redmine Server: 3.2.0
@jonfen You're absolutely right that one should use
So basically what we need to do is to convert our unicode strings to bytes before feeding a file-like object to Python-Redmine which is exactly what I'm doing now in c8b49bd. Since it's a clients application failure and it requires Python-Redmine to do some unnecessary things, I'm emitting a
Thank you very much for rasing this issue as it helped to find this nasty bug.