rongillis / comictagger

Automatically exported from code.google.com/p/comictagger
0 stars 0 forks source link

Issue identification failes due to missing PIL #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of ComicTagger are you using?
ComicTagger v1.1.15-beta

On what operating system (Mac, Linux, Windows)? What version?
Linux / Ubuntu 13.10

GUI or command line?
GUI

What steps will reproduce the problem?
1. Select item(s) in the list of comics
2. Do Auto-tag
3. Fail - window just opens and closes. 

What is the expected output? What do you see instead?
The last message visible in the window before it closes is "Python Imaging 
Library (PIL) is not available and is needed for issue identification"

Please provide any additional information below.

doing "from PIL import WebPImagePlugin" on this system returns
ImportError: cannot import name _webp

Commenting out comictaggerlib/issueidentifier.py:339 "return self.match_list" 
after PIL check, makes it all work again even if "PIL" message appears during 
identification.  

This might be python-pil packaging issue but still it should not break CT.

Original issue reported on code.google.com by sas...@gmail.com on 26 Jun 2014 at 10:04

GoogleCodeExporter commented 8 years ago
I changed over to using Pillow (a PIL fork) for webp support.  Maybe try this:

sudo pip install pillow

See if that fixes things?

Original comment by bevi...@gmail.com on 3 Jul 2014 at 6:46

GoogleCodeExporter commented 8 years ago
Also, have a look at the resolution here:  Issue 54

Original comment by bevi...@gmail.com on 3 Jul 2014 at 6:49

GoogleCodeExporter commented 8 years ago
That worked.

sudo pip uninstall pillow
sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev 
liblcms1-dev libwebp-dev
sudo pip install pillow

Original comment by sas...@gmail.com on 3 Jul 2014 at 8:56