[Image-SIG] Always crash on ImageTk module

Denis Fan denis.fan@dcs.warwick.ac.uk
Fri, 06 Dec 2002 09:23:36 +0000


--------------F1F15B1FE0E7197BFAFF6119
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi everyone,

I have been trying to find out what's the main reason behind this problem for sometime, however it seems as though I am not getting anywhere
near to the success, and hope that some of you may know the way to deal with this problem, many thanks!

I am running SunOS on my system. The problem is that whatever I do in PIL or in python, they all works fine, except when I tried to use the
PhotoImage class in the ImageTk module (in here I am trying to turn an image that has been opened by the Image module and did some enhancement
as well into something that is compatible with the Tkinter in python (so that I could display onto a Canvas)).

Unfortunately, the only two results I have got so far is a) Bus Error and b) segmentation fault ... as I know 'Bus Error' appears on the Sun's
system can mean a lot of things, but can anyone help me out?

In my system, I am using tcl/tk 8.0 or higher, so I imagine that should be ok for both packages? I have updated my X windows patch (from the
Sun's web site) to the most stable one already, but I still have this problem again and again ... I am just wondering would that still be my X
window's problem?

-d

--



--------------F1F15B1FE0E7197BFAFF6119
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi everyone,
<p>I have been trying to find out what's the main reason behind this problem
for sometime, however it seems as though I am not getting anywhere near
to the success, and hope that some of you may know the way to deal with
this problem, many thanks!
<p>I am running SunOS on my system. The problem is that whatever I do in
PIL or in python, they all works fine, except when I tried to use the PhotoImage
class in the ImageTk module (in here I am trying to turn an image that
has been opened by the Image module and did some enhancement as well into
something that is compatible with the Tkinter in python (so that I could
display onto a Canvas)).
<p>Unfortunately, the only two results I have got so far is a) Bus Error
and b) segmentation fault ... as I know 'Bus Error' appears on the Sun's
system can mean a lot of things, but can anyone help me out?
<p>In my system, I am using tcl/tk 8.0 or higher, so I imagine that should
be ok for both packages? I have updated my X windows patch (from the Sun's
web site) to the most stable one already, but I still have this problem
again and again ... I am just wondering would that still be my X window's
problem?
<p>-d
<pre>--</pre>
&nbsp;</html>

--------------F1F15B1FE0E7197BFAFF6119--