Bug 1110301

Summary: python-pillow
Product: [Fedora] Fedora Reporter: Чугунов Ярослав Викторович <crank.79>
Component: python-pillowAssignee: Sandro Mani <manisandro>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 20CC: manisandro, miminar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-17 12:15:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
script none

Description Чугунов Ярослав Викторович 2014-06-17 11:55:17 UTC
Description of problem:
I try to use PIL library in my python script. But when I start script, get  error like this:
Traceback (most recent call last):
  File "./1.py", line 10, in <module>
    photo = ImageTk.PhotoImage(image)
  File "/usr/lib64/python2.7/site-packages/PIL/ImageTk.py", line 116, in __init__
    self.paste(image)
  File "/usr/lib64/python2.7/site-packages/PIL/ImageTk.py", line 181, in paste
    import _imagingtk
ImportError: No module named _imagingtk

In repository I did not find any packets "imagingtk", I was try rebuild the packet  python-imaging-1.1.7-10.fc19.src.rpm which is for fc19. But when I try install it get massege:
# rpm -ivh python-imaging-1.1.7-10.fc20.x86_64.rpm 
ошибка: Неудовлетворенные зависимости:
        python-imaging <= 1.1.7-12 is obsoleted by (установлен)python-pillow-2.2.1-4.fc20.x86_64

How I can use PIL for work with images in f20. Need help.




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Чугунов Ярослав Викторович 2014-06-17 11:56:13 UTC
Created attachment 909563 [details]
script

Comment 2 Sandro Mani 2014-06-17 12:04:28 UTC
Works here. Do you have python-pillow-tk installed?

Comment 3 Чугунов Ярослав Викторович 2014-06-17 12:11:22 UTC
(In reply to Sandro Mani from comment #2)
> Works here. Do you have python-pillow-tk installed?
It was not, I was start a script for now without errors like this
yum erase python-pillow 
pip install pillow

after that commands is working  perfectky fine, but I think is not good way to use.

Comment 4 Sandro Mani 2014-06-17 12:15:06 UTC
You probably overwrote some file of the python-pillow package with the pip install. I'd just reinstall all python-pillow packages to ensure the integrity of the package files, and make sure python-pillow-tk is installed. In any case, closing the bug as this is not an issue with the python pillow package.