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
We are using AWS S3 as a remote storage. And we found an issue when we use SVG file with django-filer library and then we tried to use thumbnail template tags which is used next code:
The issue itself with thumb.width which is under the hood is failed with next traceback:
The issue is in 121th line. After checking with blame functionally, I see file.path was adapted because of that possible case - more information in that commit 8a06fc7. We see that file.path was omitted with file.file.name.
Not sure if it will resolve, but in that line of code -
We are using AWS S3 as a remote storage. And we found an issue when we use SVG file with
django-filer
library and then we tried to use thumbnail template tags which is used next code:The issue itself with
thumb.width
which is under the hood is failed with next traceback:The issue is in 121th line. After checking with blame functionally, I see
file.path
was adapted because of that possible case - more information in that commit 8a06fc7. We see thatfile.path
was omitted withfile.file.name
.Not sure if it will resolve, but in that line of code -
easy-thumbnails/easy_thumbnails/files.py
Line 121 in 77265b7
file.file
instead offile.path
.Currently, my colleague is working on monkey-patch to verify it so I will update after my ticket.
UPD: colleague confirmed that monkey-patch works
@jrief , I would appreciate your feedback on the issue since you are who was in developing it. Thank you🙏
The text was updated successfully, but these errors were encountered: