Home > python, ubuntu > Mediacore error PIL – IOError: decoder jpeg not available

Mediacore error PIL – IOError: decoder jpeg not available

There is an error with mediacore community edition installation, when you try to upload a thumbnail to a video it shows Error 2038 and it can’t upload the image.
It is because PIL that comes with the mediacore installation didn’t find paths to the libjpeg and zlib libraries. To solve this you have to:

  1. Download PIL 1.1.6
  2. Delete mediacore_env/lib/python2.7/site-packages/PIL
  3. Delete mediacore_env/lib/python2.7/site-packages/PIL.pth
  4. Delete mediacore_env/lib/python2.7/site-packages/PIL-1.1.6-py2.7-linux-x86_64.egg
  5. tar -xvzf Imaging-1.1.6.tar.gz
  6. cd Imaging-1.1.6
  7. python setup.py install
  8. cd mediacore-community
  9. paster serve –reload development.ini

Then It should work !

Categories: python, ubuntu Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment