On Sun, 2005-05-22 at 10:32 +0200, Patrick wrote:
> On Thu, 19 May 2005 18:48:17 +0300
> Haim Ashkenazi <[EMAIL PROTECTED]> wrote:
> 
> <snip>
> > > 
> > > If i activate plone 2.0.5-r1 with the "zprod-manager add" and activate 
> > > plone and then restart the zope daemon, the zope daemon dies without any 
> > > errors. If i then deselect plone and restart zope no problems.
> > > I have other zope plugins working but plone won't work.
> > you can stop zope, chdir to the '<instance-dir>/bin' and run "./zopectl
> > -i'. when you enter the controller shell type 'fg' and it will try to
> > start zope and show you the messages (if you have debug enabled in your
> > configuration).
> > 
> > Bye
> > -- 
> > Haim
> 
> Thanks, this is what i'm getting as errors:
> 
> ------
> 2005-05-22T10:29:52 ERROR(200) Zope Could not import Products.CMFPhoto
> Traceback (most recent call last):
>   File "/usr/lib/zope-2.7.6/lib/python/OFS/Application.py", line 673, in 
> import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/__init__.py", line 2, in ?
>     import Photo
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/Photo.py", line 20, in ?
>     from imageengine import isPilAvailable, isConvertAvailable
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/imageengine.py", line 46, 
> in ?
>     isConvertAvailable = findConvert()
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/imageengine.py", line 35, 
> in findConvert
>     if convert in [ entry.lower() for entry in os.listdir(path) ]:
> OSError: [Errno 13] Permission denied: '/root'
> Traceback (most recent call last):
>   File "/usr/lib/zope-2.7.6/lib/python/Zope/Startup/run.py", line 50, in ?
>     run()
>   File "/usr/lib/zope-2.7.6/lib/python/Zope/Startup/run.py", line 19, in run
>     start_zope(opts.configroot)
>   File "/usr/lib/zope-2.7.6/lib/python/Zope/Startup/__init__.py", line 52, in 
> start_zope
>     starter.startZope()
>   File "/usr/lib/zope-2.7.6/lib/python/Zope/Startup/__init__.py", line 231, 
> in startZope
>     Zope.startup()
>   File "/usr/lib/zope-2.7.6/lib/python/Zope/__init__.py", line 47, in startup
>     _startup()
>   File "/usr/lib/zope-2.7.6/lib/python/Zope/App/startup.py", line 45, in 
> startup
>     OFS.Application.import_products()
>   File "/usr/lib/zope-2.7.6/lib/python/OFS/Application.py", line 650, in 
> import_products
>     import_product(product_dir, product_name, raise_exc=debug_mode)
>   File "/usr/lib/zope-2.7.6/lib/python/OFS/Application.py", line 673, in 
> import_product
>     product=__import__(pname, global_dict, global_dict, silly)
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/__init__.py", line 2, in ?
>     import Photo
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/Photo.py", line 20, in ?
>     from imageengine import isPilAvailable, isConvertAvailable
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/imageengine.py", line 46, 
> in ?
>     isConvertAvailable = findConvert()
>   File "/var/lib/zope/zope-2.7.6/Products/CMFPhoto/imageengine.py", line 35, 
> in findConvert
>     if convert in [ entry.lower() for entry in os.listdir(path) ]:
> OSError: [Errno 13] Permission denied: '/root'
Your problem seems to be in CMFPhoto. somehow it tries to list files in
'/root' and it fails because it doesn't have permissions. either it's a
configuration problem, or it's a bug (I see that both zope and plone
you've installed are testing versions).

Bye
-- 
Haim

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to