Re: Cleo icons won't work on linux

2008-05-27 Thread Edward K. Ream
On Wed, May 21, 2008 at 9:34 AM, hairui [EMAIL PROTECTED] wrote: I have fixed the problem by removing the ImageTk module from official PIL website and re-installig it by apt-get. Now LEO can load icon files properly. It seems all the problems were caused by the version of ImageTk moudle.

Re: Cleo icons won't work on linux

2008-05-21 Thread hairui
It seems nobody care about the problem of can not load *.png. Need us fix the bug by ourselves or just use leo without icon? On 5月21日, 下午1时25分, hairui [EMAIL PROTECTED] wrote: Under python 2.5, using import ImageTk can not find the ImageTk, try from PIL import ImageTk instead. A previous

Re: Cleo icons won't work on linux

2008-05-21 Thread hairui
Can you tell me where to locate the codes of loading icon png files ? Maybe I can do something to help checking the problem and finding a way to solve it . One important reason is that I doubt the problem just occurs on Ubuntu 8.04 or some other similar platform. On 5月21日, 下午8时46分, Edward K.

Re: Cleo icons won't work on linux

2008-05-21 Thread Mark Berndt
I had a problem like this in a debian based distro. The bottom line was that the image library used for the cleo icons was installed for python 2.4 and not python 2.5. Reverting to python 2.4 solved the problem, bit broke aspell. Note that python 2.5 is coming for debian testing very soon, and I

Re: Cleo icons won't work on linux

2008-05-21 Thread Terry Brown
On Wed, 21 May 2008 05:54:22 -0700 (PDT) hairui [EMAIL PROTECTED] wrote: One important reason is that I doubt the problem just occurs on Ubuntu 8.04 or some other similar platform. ImageTk is a separate package in Ubuntu, I think Leo requires both PIL (package python-imaging) and the package

Re: Cleo icons won't work on linux

2008-05-21 Thread Terry Brown
On Wed, 21 May 2008 23:21:44 +1000 Mark Berndt [EMAIL PROTECTED] wrote: I had a problem like this in a debian based distro. The bottom line was that the image library used for the cleo icons was installed for python 2.4 and not python 2.5. Reverting to python 2.4 solved the problem, bit

Re: Cleo icons won't work on linux

2008-05-21 Thread Kayvan A. Sylvan
On Wed, May 21, 2008 at 09:13:35AM -0500, Terry Brown wrote: ImageTk is a separate package in Ubuntu, I think Leo requires both PIL (package python-imaging) and the package python-imaging-tk. Yes. I have Leo working perfectly for me on Ubuntu 8.04 and needed to install python-imaging-tk Best

Re: Cleo icons won't work on linux

2008-05-21 Thread hairui
Thanks for your reply. I have find out the reason. I installed the PIL module before installing Tk, so the PIL's installer did not install the ImageTk module for me. So smart a installer, but puzzled me for a few days. After re-installing PIL, I can from PIl import ImageTk now. But there is

Re: Cleo icons won't work on linux

2008-05-21 Thread hairui
I have fixed the problem by removing the ImageTk module from official PIL website and re-installig it by apt-get. Now LEO can load icon files properly. It seems all the problems were caused by the version of ImageTk moudle. I think the steps can solve marko's problem too. On 5月21日, 下午10时17分,

Re: Cleo icons won't work on linux

2008-05-20 Thread hairui
I downloaded the PIL module from its offical site, but I can not import ImageTk from PIL. who knows why? On 4月13日, 下午5时16分, marko [EMAIL PROTECTED] wrote: Hello, I've got Leo running on debian linux, but the cleo icons won't load. Leo Log Window... Leo 4.4.8 final, build 1.244 , April 6,

Re: Cleo icons won't work on linux

2008-05-20 Thread hairui
Under python 2.5, using import ImageTk can not find the ImageTk, try from PIL import ImageTk instead. A previous post has mentioned similar problem, it seems a new image.py file in the cvs res can solve the problem of module importing. But to load the png file still be a problem on my machine.

Re: Cleo icons won't work on linux

2008-04-13 Thread marko
Running leo under python 2.4 solves the problem. On Apr 13, 7:16 pm, marko [EMAIL PROTECTED] wrote: Hello, I've got Leo running on debian linux, but the cleo icons won't load. Leo Log Window... Leo 4.4.8 final, build 1.244 , April 6, 2008 python 2.5.0, Tk 8.4.12, Pmw 1.3 linux2

Re: Cleo icons won't work on linux

2008-04-13 Thread Terry Brown
On Sun, 13 Apr 2008 03:21:12 -0700 (PDT) marko [EMAIL PROTECTED] wrote: Running leo under python 2.4 solves the problem. Probably Python Imaging Library (PIL) and the ImageTk module aren't installed from 2.5's point of view, but are available to 2.4. Cheers -Terry