Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6432] ImageTk.PhotoImage

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Jul 7, 2009, 3:30 AM

Post #1 of 4 (270 views)
Permalink
[issue6432] ImageTk.PhotoImage

New submission from Jean-Paul MiƩville <jpmieville [at] gmail>:

When using the function ImageTk.PhotoImage. I got the following
traceback.

self.chart = ImageTk.PhotoImage(self.image)
File "C:\Python25\Lib\site-packages\PIL\ImageTk.py", line 116, in
__init__
self.paste(image)
File "C:\Python25\Lib\site-packages\PIL\ImageTk.py", line 181, in
paste
import _imagingtk
ImportError: DLL load failed: The specified module could not be found.

_imagintk exists in the directory C:\Python25\Lib\site-packages\PIL

I have re-installed python (ActivePython 2.5.4.4 (r254:67916, Apr 27
2009, 15:41:14)and PIL and still the same problem.

----------
components: Tkinter
messages: 90225
nosy: jpmieville
severity: normal
status: open
title: ImageTk.PhotoImage
type: crash
versions: Python 2.5

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 7, 2009, 3:45 AM

Post #2 of 4 (250 views)
Permalink
[issue6432] ImageTk.PhotoImage [In reply to]

Ezio Melotti <ezio.melotti [at] gmail> added the comment:

Can you provide a sample script to reproduce this or try it with a plain
version of python?

>From the traceback it looks like ImageTk is something defined by the
PIL, and since it's not part of the stdlib this is probably not the
right place where to report this bug. It could be a problem of
ActiveState Python or of the PIL itself, if you can't reproduce it with
a plain Python try to report it on their bug trackers.

FWIW I found in the doc the class Tkinter.PhotoImage(), if you can
reproduce the problem using it instead of ImageTk.PhotoImage() then it
might be a Python bug.

----------
nosy: +ezio.melotti
priority: -> normal
stage: -> test needed
versions: +Python 2.7 -Python 2.5

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 7, 2009, 4:44 AM

Post #3 of 4 (248 views)
Permalink
[issue6432] ImageTk.PhotoImage [In reply to]

Jean-Paul MiƩville <jpmieville [at] gmail> added the comment:

You are right I think that the problem is related to PIL. I will
reported to the mailing list of PIL.

I have attached a script for testing this case.

----------
status: open -> closed
Added file: http://bugs.python.org/file14468/Script1.py

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Jul 13, 2009, 10:35 PM

Post #4 of 4 (227 views)
Permalink
[issue6432] ImageTk.PhotoImage [In reply to]

Sridhar Ratnakumar <sridharr [at] activestate> added the comment:

ActivePython bug: http://bugs.activestate.com/show_bug.cgi?id=83694

----------
nosy: +srid

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6432>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.