Florian Philipp schrieb:
Florian Philipp schrieb:
Hi list!
I'm currently trying to install the Plone-CMS on my vServer. However,
for some reason, Zope and Plone just don't get together.
I've followed this howto: [1] I've also looked at other docs around the
net as well as Plone's readme.
Zope runs and I can access it. Plone is installed and I've used
zprod-manager to add it to the zope-instance. I've also restarted Zope.
The problem is: plone site just doesn't show up in the list of items I
can add!
I've checked the permissions, I can see the products which belong to
Plone in Zope's product tree. I've tried plone-2.5.5 with zope-2.9.10
and plone-3.1.7 with zope-2.10.7.
[1] http://en.gentoo-wiki.com/wiki/Plone
I hope someone has an idea.
I've found this bug report:
https://bugs.launchpad.net/ubuntu/+source/plone3/+bug/363065
It states my problem with the solution of installing python-imaging
(PIL). But I have dev-python/imaging installed! Is it possible that the
problem occurs because Zope depends on dev-lang/python:2.4 but the
system default is dev-lang/python:2.5?
Hmm, this really seems to be the problem. Running zope like
/var/lib/zope/zope-${instance}/bin/zopectl fg gives an error about a
missing PIL (full error report attached).
If the dependency on python-2.4 causes the problem, how is this supposed
to work then? After all, portage depends on python-2.5!
2009-06-12 17:03:39 INFO ZServer HTTP server started at Fri Jun 12 17:03:39 2009
Hostname: 0.0.0.0
Port: 8080
2009-06-12 17:03:39 INFO Zope Set effective user to zope-binarywings
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_png : No module named PIL.Image
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_gif : No module named PIL.Image
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_jpeg : No module named PIL.Image
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_pcx : No module named PIL.Image
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_ppm : No module named PIL.Image
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_tiff : No module named PIL.Image
2009-06-12 17:03:41 ERROR PortalTransforms Problem importing module
image_to_bmp : No module named PIL.Image
2009-06-12 17:03:43 INFO Archetypes Products/Archetypes/Field.py[102]:?
Warning: no Python Imaging Libraries (PIL) found.Archetypes based ImageField's
don't scale if neccessary.
2009-06-12 17:03:43 ERROR Application Could not import Products.ATContentTypes
Traceback (most recent call last):
File
/var/tmp/portage/net-zope/zope-2.10.7/image/usr/lib/zope-2.10.7/lib/python/OFS/Application.py,
line 709, in import_product
File /var/lib/zope/zope-binarywings/Products/ATContentTypes/__init__.py,
line 64, in ?
import Products.ATContentTypes.content
File
/var/lib/zope/zope-binarywings/Products/ATContentTypes/content/__init__.py,
line 26, in ?
import Products.ATContentTypes.content.link
File
/var/lib/zope/zope-binarywings/Products/ATContentTypes/content/link.py, line
39, in ?
from Products.ATContentTypes.content.base import registerATCT
File
/var/lib/zope/zope-binarywings/Products/ATContentTypes/content/base.py, line
63, in ?
from Products.CMFPlone.PloneFolder import ReplaceableWrapper
File /var/lib/zope/zope-binarywings/Products/CMFPlone/__init__.py, line
215, in ?
from browser import ploneview
File /var/lib/zope/zope-binarywings/Products/CMFPlone/browser/ploneview.py,
line 12, in ?
from Products.CMFPlone import utils
File /var/lib/zope/zope-binarywings/Products/CMFPlone/utils.py, line 6, in ?
from PIL import Image
ImportError: No module named PIL
Traceback (most recent call last):
File /usr/lib/zope-2.10.7/lib/python/Zope2/Startup/run.py, line 56, in ?
run()
File /usr/lib/zope-2.10.7/lib/python/Zope2/Startup/run.py, line 21, in run
starter.prepare()
File /usr/lib/zope-2.10.7/lib/python/Zope2/Startup/__init__.py, line 102,
in prepare
self.startZope()
File /usr/lib/zope-2.10.7/lib/python/Zope2/Startup/__init__.py, line 278,
in startZope
Zope2.startup()
File /usr/lib/zope-2.10.7/lib/python/Zope2/Startup/__init__.py, line 47, in
startup
# Don't allow any code to call start_zope() twice.
File
/var/tmp/portage/net-zope/zope-2.10.7/image/usr/lib/zope-2.10.7/lib/python/Zope2/App/startup.py,
line 45, in startup
File
/var/tmp/portage/net-zope/zope-2.10.7/image/usr/lib/zope-2.10.7/lib/python/OFS/Application.py,
line 686, in import_products
File
/var/tmp/portage/net-zope/zope-2.10.7/image/usr/lib/zope-2.10.7/lib/python/OFS/Application.py,
line 709, in import_product
File /var/lib/zope/zope-binarywings/Products/ATContentTypes/__init__.py,
line 64, in ?
import Products.ATContentTypes.content
File
/var/lib/zope/zope-binarywings/Products/ATContentTypes/content/__init__.py,
line