Re: [Gausssum-help] problems with GaussSum plotting
Brought to you by:
baoilleach
From: Jean-Sabin Mc E. <jm...@ul...> - 2006-10-31 16:41:24
|
Hello, > What platform are you using exactly? e.g. Suse Linux 10.1 I am using Madriva 2006 (2.6.12-12mdksmp). More precisely: Linux cenoli71 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:20:34 CEST 2005 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ unknown GNU/Linux > > The reason I ask is that there may be a package for PIL available for > your system. The package is sometimes called 'python-imaging'. > > If the problem is with compiling PIL, please send an email to the > python-imaging mailing list listed at > http://www.pythonware.com/products/pil/. I am trying to get to this site but it is not working (I had to download the package from somewhere else). Do you think that this website failure is temporary? Any other suggestions on where else to go? Best wishes, Jean-Sabin > > Regards, > Noel > > On 31/10/06, Jean-Sabin Mc Ewen <jm...@ul...> wrote: > > Hello, > > > > I cannot seem to be able to plot with GaussSum. If I try with the "TEST" > > button in "File", Settings", I get, in the prompt: > > > > Exception in Tkinter callback > > Traceback (most recent call last): > > File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ > > return self.func(*args) > > File "/home/jmcewen/pierre/GaussSum-2.0/gausssum/preferencesbox.py", > > line 291, in testgnuplot > > DisplayPlot(self.parent,g,"You should see the GaussSum logo > > below...drawn by Gnuplot") > > File "/home/jmcewen/pierre/GaussSum-2.0/gausssum/plot.py", line 55, in > > __init__ > > self.graph = ImageTk.PhotoImage(image) > > File "/usr/lib64/python2.4/site-packages/PIL/ImageTk.py", line 116, in > > __init__ > > self.paste(image) > > File "/usr/lib64/python2.4/site-packages/PIL/ImageTk.py", line 181, in > > paste > > import _imagingtk > > ImportError: No module named _imagingtk > > > > > > > > Thus, I am quite sure that the error is linked to the fact that the Python > > Imaging Library (PIL) was not installed properly. If I do > > > > > > python setup.py build_ext -i > > > > I get: > > > > running build_ext > > -------------------------------------------------------------------- > > PIL 1.1.5 BUILD SUMMARY > > -------------------------------------------------------------------- > > version 1.1.5 > > platform linux2 2.4.3 (#2, Sep 18 2006, 19:28:43) > > [GCC 4.1.1 20060724 (prerelease) (4.1.1-3mdk)] > > -------------------------------------------------------------------- > > *** TKINTER support not available (Tcl/Tk 8.4 libraries needed) > > *** JPEG support not available > > --- ZLIB (PNG/ZIP) support ok > > *** FREETYPE2 support not available > > -------------------------------------------------------------------- > > To add a missing option, make sure you have the required > > library, and set the corresponding ROOT variable in the > > setup.py script. > > > > To check the build, run the selftest.py script. > > > > > > > > I have concluded that the Python Imaging Library (PIL) is not working > > properly with GaussSum because TKINTER is not supported. I have > > checked if the Tcl/Tk 8.4 libraries are installed and they are! > > I modified two lines in setup.py > > > > TCL_ROOT = "/usr/lib/tcl8.4","/usr/include" > > > > and I still get the same messages as above when running > > > > python setup.py build_ext -i > > > > Could you please help? > > > > Is there something else that I am supposed to do? > > > > With many thanks, > > > > Jean-Sabin McEwen > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gausssum-help mailing list > > Gau...@li... > > https://lists.sourceforge.net/lists/listinfo/gausssum-help > > > |