Seafile version 6.1.1 is ready!

- Ubuntu 16.04.2 LTS

  • check the Pillow version:

pip list --format=columns | grep -i pillow
Pillow 3.1.2

  • upgrade Pillow until last version:

pip install --upgrade Pillow

The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

I had the same compiling error that commented by @DerDanilo
On Stackoverflow there is the explanation behind the unmet pillow dependencies, like jpeg

  • Upgrade Pillow unmet dependencies, here the jpeg libraries:

apt-get install libjpeg-dev (*)

  • Upgrade Pillow:

pip install --upgrade Pillow

  • Check that the upgraded Pillow version is 4.1.1:

pip list --format=columns | grep -i pillow
Pillow 4.1.1

(*) If you install like apt-get build-dep python-imaging it will install many packages that are not necessary. Totally 165 MB occupied in disk:

apt-get build-dep python-imaging
Paketlisten werden gelesen... Fertig
Als Quellpaket wird »pillow« statt »python-imaging« gewählt.
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  blt libfontconfig1-dev libfreetype6-dev libice-dev libice6 libjbig-dev libjpeg-dev libjpeg-turbo8-dev
  libjpeg8-dev liblcms2-dev liblzma-dev libpng12-dev libpthread-stubs0-dev libpython-all-dbg libpython-dbg
  libpython2.7-dbg libpython3-all-dbg libpython3-all-dev libpython3-dbg libpython3-dev libpython3.5-dbg
  libpython3.5-dev libsm-dev libsm6 libtcl8.6 libtiff5-dev libtiffxx5 libtk8.6 libwebp-dev libwebpdemux1
  libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxft-dev libxft2 libxrender-dev libxss-dev
  libxss1 libxt-dev libxt6 python-all-dbg python-dbg python-nose python-tk python-tk-dbg python2.7-dbg
  python3-all python3-all-dbg python3-all-dev python3-dbg python3-dev python3-nose python3-setuptools
  python3-tk python3-tk-dbg python3.5-dbg python3.5-dev tcl tcl-dev tcl8.6 tcl8.6-dev tk tk-dev tk8.6
  tk8.6-blt2.5 tk8.6-dev x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev
  x11proto-scrnsaver-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
0 aktualisiert, 77 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 79,9 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 165 MB Plattenplatz zusätzlich benutzt.

but if you only install like apt-get install libjpeg-dev, you only will need less than 1 MB place on disk:

apt-get install libjpeg-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
The following additional packages will be installed:
  libjpeg-turbo8-dev libjpeg8-dev
Die folgenden NEUEN Pakete werden installiert:
  libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev
0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 225 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 825 kB Plattenplatz zusätzlich benutzt.
  • My recommendation:

Try to install first only libjpeg-dev, if this is not enough, then install like apt-get build-dep python-imaging

Edit: After Pillow upgrade to 4.1.1 the NEW “change favicon functionality” works properly.

Thanks @lian. Like @DerDanilo suggested, the documentation should be improved or seafile integration with other distros should be improved, to avoid such glitches.

2 Likes