You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we've recently updated from version to 1.8 to version 1.9.1. Now we have a TypeError: Unicode-objects must be encoded before hashing when saving to s3.
Code:
file = ContentFile("")
document.save_csv_file(file) #writes to csv file using csv library
example_django_model.file.save(file_name, file, save=False)
I then proceed to receive the same error as in #708 . Even though that issue was closed a long time ago (with the solution of doing ContentFile(b'')), the code above was working fine in version 1.8. What has changed in 1.9.1 that is now causing this encoding error?
The text was updated successfully, but these errors were encountered:
So we've recently updated from version to 1.8 to version 1.9.1. Now we have a
TypeError: Unicode-objects must be encoded before hashing
when saving tos3
.Code:
I then proceed to receive the same error as in #708 . Even though that issue was closed a long time ago (with the solution of doing ContentFile(b'')), the code above was working fine in version 1.8. What has changed in 1.9.1 that is now causing this encoding error?
The text was updated successfully, but these errors were encountered: