I have python installed in a chroot, zope works fine, Plone as well, but
PIL fails to load in Zope.
in the chroot, I can import not a problem ..
bash-2.05b$ python2.4
Python 2.4.3 (#1, Apr 5 2006, 21:45:50)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> from PIL import Image
Anyone have any idea why Zope is showing :
2007-03-29T02:15:07 ERROR Archetypes None
Traceback (most recent call last):
File "/opt/Plone-2.5.2-1/Archetypes/Field.py", line 2228, in
createScales
imgdata, format = self.scale(data, w, h)
File "/opt/Plone-2.5.2-1/Archetypes/Field.py", line 2271, in scale
image = image.convert('RGBA')
File "/usr/local/lib/python2.4/site-packages/PIL/Image.py", line 589,
in convert
self.load()
File "/usr/local/lib/python2.4/site-packages/PIL/ImageFile.py", line
155, in load
self.load_prepare()
File "/usr/local/lib/python2.4/site-packages/PIL/ImageFile.py", line
221, in load_prepare
self.im = Image.core.new(self.mode, self.size)
File "/usr/local/lib/python2.4/site-packages/PIL/Image.py", line 35,
in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
$ ls -la /usr/local/lib/python2.4/site-packages/PIL/_imaging.so
-rwxr-xr-x 6 root root 1645549 Mar 15
23:37 /usr/local/lib/python2.4/site-packages/PIL/_imaging.so
Dave
--
NetAxxs
20 Chisholm St
Wangaratta 3677
Australia
+613 5722 9622
_______________________________________________
Ozzope mailing list
[hidden email]
http://lists.ozzope.org/cgi-bin/mailman/listinfo/ozzope