All posts tagged: pillow

PIL: ord() expected a character, but string of length 0 found (SOLVED)

Leave a comment
django / Howtos / Python
PIL error

Using Django, and easy_thumbnails coupled with Pillow specifically I’m stumbled upon this error in PIL.ImageFile on PIL/_binary.py: ord() expected a character, but string of length 0 found This python error was so frequent I’ve done some research, coming up with nothing. I’ve checked current Pillow version with: Getting: Pillow==3.0.0 Then I’ve upgraded the Pillow package with this: The sofware was updated to the very last version (5.0.0) without any issue on easy_thumbnails backend or frontend. […]