[Zope] is it possible to upgrade from 2.9 to 2.13?
Fernando
fernando at cmartins.nl
Mon Jul 4 08:26:07 EDT 2011
Stefan, thanks for your reply.
In the meanwhile I was indeed able to put products in INSTANCE/Products
(Zope 2.13.8). I did not know about that option you mention and I cannot
check it now, but the Products from pypi were being recognised, as long
as I put only the specific Product subfolder (not the whole pypi package
which contains "cruft" for eggs, whatever else, I still don't fully
understand).
However, with ZSQL Methods, the situation is different. It contains the
specific ZSQL Methods folder, but also Shared/DC/ZRDB. When loading,
Zope complains it can't find the module ZRDB/Search.py (or something
like that).
So, ZSQLMethods depends on Shared, but Share is not being recognised (or
at least not yet processed before ZSQL). How can I fix this? Somehow I
guess the pypi package should be made an egg and dropped in
lib/python2.6, and somehow configured. I couldn't yet find instructions
on doing this for Zope.
I've been trying to read about this whole new procedure[s] (setup tools,
buildout, eggs, virtualenv, ???), but I have the impression the
situation has been changing and it's quite hard to figure out what makes
sense or works right now.
Fernando
On Jul 4, 2011 09:46 "Stefan Loidl" <Stefan.Loidl at lrz.de>
<Stefan.Loidl at lrz.de> wrote:
> Hi Fernando,
>
> the option 'enable-product-installation' in zope.conf has to be set to
> on to enable product registration of old products in the Products
> directory.
>
> Regards,
> Stefan
>
> Am 03.07.2011 18:44, schrieb Fernando Martins:
> > On 07/03/2011 09:30 AM, Fernando Martins wrote:
> > > merely dropping Products in the site-packages does not add a
> > > product.
> > >
> > Browsing through the list I saw this post:
> >
> > <https://mail.zope.org/pipermail/zope/2011-June/176165.html>
> >
> > with reference to a directive in zope.conf:
> >
> > products /usr/local/Products.CMFCore-2.2.4/
> >
> > I tried it with the package Products.ZSQLMethods here:
> >
> > <http://pypi.python.org/pypi/Products.ZSQLMethods>
> >
> > but no product is added and I see no error messages.
> >
> > The README.txt is not helpful and I found nothing useful in zope
> > docs.
> > In despair, I tried python setup.py build/install and all I got is a
> > lot
> > of zope packages being downloaded and dumped into the python
> > install.
> >
> > Could someone be so kind to tell me the procedure to install
> > Products
> > from pypi?
> >
> > Is it possible to do it also with old products not in pypi?
> >
> > Also, what is the difference between zope.xxx and Products.xxx
> > packages?
> >
> > Regards,
> > Fernando
> > _______________________________________________
> > Zope maillist - <Zope at zope.org>
> > <https://mail.zope.org/mailman/listinfo/zope>
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > <https://mail.zope.org/mailman/listinfo/zope-announce>
> > <https://mail.zope.org/mailman/listinfo/zope-dev> )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20110704/3a0d9f6a/attachment.html
More information about the Zope
mailing list