Bug#328607: [Pkg-zope-developers] Bug#328607: zope-cmfplone: zope can't find cmfplone product

Fabio Tranchitella kobold at debian.org
Tue Sep 20 16:50:57 UTC 2005


Il giorno ven, 16/09/2005 alle 13.58 +0300, Kornilios Kourtis ha
scritto:
> Package: zope-cmfplone
> Version: 2.1-1
> Severity: important
> Hello, 

Hi, 

> I'm having difficulties using the zope-cmfplone package at
> unstable. One of the problems is that the package installs the
> product in the /usr/share/zope/Products/ directory instead of the
> /usr/lib/zope/lib/python/Products/ directory used in older versions
> (2.0.4-3) of the package.

This is the new layout for zope packages: /usr/share/zope/Products 
for products, /var/lib/zopeZVER/instance/ for the instances
(read /usr/share/doc/zope-common/README.Debian).

> When I'm trying to start zope (2.7) I get this error:
>  PROBLEM(100) ZODB Could not import class 'PloneSite' from module
>  'Products.CMFPlone.Portal'
> 
> I tried to add the /usr/share/zope/Products directory into
> instance/default/etc/zope.conf but it still doesn't seem to work.

This sound strange, could you try to symlink /usr/share/zope/products/*
into your instance's Products directory ?

Or, could you please create a new instance using dzhandle (the utility
provided by zope-common) then copy your Data.fs* there?

Something like:

# dzhandle -z 2.7 make-instance myinstance -m manual
# dzhandle -z 2.7 add-product myinstance CMFPlone
# cp /var/lib/zope2.7/instance/oldinstance/var/Data* \
     /var/lib/zope2.7/instance/myinstance/

Thanks,

-- 
Fabio Tranchitella <kobold at debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20050920/dde74179/attachment.pgp


More information about the Pkg-zope-developers mailing list