I had the same problem and I resolved it.
My problem was the version of Pillow.
You can see the version you need on the doc:
seafile-server-latest/seahub/requirements.txt
To solve this just do:
Check the version: pip show Pillow
Uninstall the actual version: pip uninstall Pillow
Install a compatibile version: pip install Pillow==2.6.1