Re: [Zope] CMF -?- Zope
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/23/2011 01:52 PM, Eric d'Halibut wrote: On 6/23/11, Tres Seaver tsea...@palladion.com wrote: Unpack the CMFCore sdist tarball, e.g.: $ cd /tmp $ wget \ http://pypi.python.org/packages/source/P/Products.CMFCore/Products.CMFCore-2.2.4.tar.gz $ cd /usr/local $ sudo tar xzf /tmp/Products.CMFCore-2.2.4.tar.gz and then add the unpacked directory to the 'products' section of your instance's 'zope.conf', e.g.: $ grep ^products /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/ No joy. Thanks. I am giving up on my NetBSD, and, when I get some time later today, redo all this on a linux box. FTR, my original example was wrong. It should have been: $ grep ^products /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/Products/ and CMFCore requires that 'five.localsitemanager' be importable (buildout and easy_install would have guaranteed that). Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4ErkUACgkQ+gerLs4ltQ5vfgCcDtYcvj7oPzoW1jreBPawtIxh CQsAoKD3w22NQK26MxEYfp1FSBDO+QFZ =J4w0 -END PGP SIGNATURE- ___ Zope maillist - Zope@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 )
Re: [Zope] CMF -?- Zope
as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT cd NAMEOFNEWBUILDOUT python2.6 bootstrap bin/buildout and your new site is ready to start with bin/instance fg point your browser at localhost:8080/manage install a new plone site .. robert On 23.06.2011 06:48, Eric d'Halibut wrote: I am a straggler returning to Zope after years away from it. I come from a time when to install a product into one's Zope one simply untarred it into one's Products folder and restarted. Now I am looking at easy_install, buildout, and the new mania for eggs. Imagine my discomfiture. But never mind all that. I now have a running instance of Zope 2.12.10 installed in NetBSD 5.1. I want to install CMF into it, which used to be one's first product chore (almost) since plone depended on it and I was heading for a plone install, (and later on ran Silva for a couple of years.) But I am here tonight to say, I am stumped. How do get CMFCore into my zope instance the right way? Can someone lay out the steps for me? My python is: /usr/pkg/bin/python2.6 My Zope is at: /usr/local/src/Zope2-2.12.10 My instance is at: /usr/local/Zopeish I have banged around with easy_install, which writes things into my NetBSD /usr/pkg hierarchy, of which I very much disapprove. Buildout seems always to want to build the original gazillion (not complaining!) Zope packages every time I ry to use it. So...glad to be back. Need help. Will write if I get work. Wish you were here. nb. The running Zope instance is live on the net, so if one needs to examine my ZMI I can provide URL and login. Just ask, please. ___ Zope maillist - Zope@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 )
Re: [Zope] CMF -?- Zope
On 6/23/11, robert rottermann rob...@redcor.ch wrote: as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT This last command gives me a sternly-worded, and appearing, warning: ** *** NOTE: You probably don't want to use this template! ** Since Plone 3.1, the preferred way to get a buildout-based setup ** for Plone is to use the standard installer for your operating ** system (the Windows installer, the Mac installer, or the Unified ** Installer for Linux/Unix/BSD). How big a deal is this, especially in view of me running said command under the /home/ hierarchy where it's not going to -- I hope -- do much systemic damage? And what if someone wants simply to install Zope and the CMF, and not yet make the leap to Plone? It seems the message I am getting is 'all roads lead to Plone!' Thanks, -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut? ___ Zope maillist - Zope@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 )
Re: [Zope] CMF -?- Zope
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/23/2011 12:48 AM, Eric d'Halibut wrote: I am a straggler returning to Zope after years away from it. I come from a time when to install a product into one's Zope one simply untarred it into one's Products folder and restarted. Now I am looking at easy_install, buildout, and the new mania for eggs. Imagine my discomfiture. But never mind all that. I now have a running instance of Zope 2.12.10 installed in NetBSD 5.1. I want to install CMF into it, which used to be one's first product chore (almost) since plone depended on it and I was heading for a plone install, (and later on ran Silva for a couple of years.) But I am here tonight to say, I am stumped. How do get CMFCore into my zope instance the right way? Can someone lay out the steps for me? My python is: /usr/pkg/bin/python2.6 My Zope is at: /usr/local/src/Zope2-2.12.10 My instance is at: /usr/local/Zopeish Unpack the CMFCore sdist tarball, e.g.: $ cd /tmp $ wget \ http://pypi.python.org/packages/source/P/Products.CMFCore/Products.CMFCore-2.2.4.tar.gz $ cd /usr/local $ sudo tar xzf /tmp/Products.CMFCore-2.2.4.tar.gz and then add the unpacked directory to the 'products' section of your instance's 'zope.conf', e.g.: $ grep ^products /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/ You can repeat the 'products' bit to add other products. I have banged around with easy_install, which writes things into my NetBSD /usr/pkg hierarchy, of which I very much disapprove. I recommend using 'virtualenv', which gives you a sandboxed environment for installing non-system packages. Buildout seems always to want to build the original gazillion (not complaining!) Zope packages every time I ry to use it. So...glad to be back. Need help. Will write if I get work. Wish you were here. nb. The running Zope instance is live on the net, so if one needs to examine my ZMI I can provide URL and login. Just ask, please. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4DUSUACgkQ+gerLs4ltQ4J+ACeIV6Pph5BZ4b6nrU2jNIsRJ7T caUAmQHVIDaboFyFVv3TllFoXABMDgWr =vAra -END PGP SIGNATURE- ___ Zope maillist - Zope@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 )
Re: [Zope] CMF -?- Zope
On 23.06.2011 16:14, Eric d'Halibut wrote: On 6/23/11, robert rottermannrob...@redcor.ch wrote: as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT This last command gives me a sternly-worded, and appearing, warning: ** *** NOTE: You probably don't want to use this template! the alternative would be to use an Installer. which I never do and (maybe therefore) see not advantage in using over plain buildout. robert ** Since Plone 3.1, the preferred way to get a buildout-based setup ** for Plone is to use the standard installer for your operating ** system (the Windows installer, the Mac installer, or the Unified ** Installer for Linux/Unix/BSD). How big a deal is this, especially in view of me running said command under the /home/ hierarchy where it's not going to -- I hope -- do much systemic damage? And what if someone wants simply to install Zope and the CMF, and not yet make the leap to Plone? It seems the message I am getting is 'all roads lead to Plone!' Thanks, ___ Zope maillist - Zope@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 )
Re: [Zope] CMF -?- Zope
On 6/23/11, Tres Seaver tsea...@palladion.com wrote: Unpack the CMFCore sdist tarball, e.g.: $ cd /tmp $ wget \ http://pypi.python.org/packages/source/P/Products.CMFCore/Products.CMFCore-2.2.4.tar.gz $ cd /usr/local $ sudo tar xzf /tmp/Products.CMFCore-2.2.4.tar.gz and then add the unpacked directory to the 'products' section of your instance's 'zope.conf', e.g.: $ grep ^products /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/ No joy. Thanks. I am giving up on my NetBSD, and, when I get some time later today, redo all this on a linux box. -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut? ___ Zope maillist - Zope@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 )
[Zope] CMF -?- Zope
I am a straggler returning to Zope after years away from it. I come from a time when to install a product into one's Zope one simply untarred it into one's Products folder and restarted. Now I am looking at easy_install, buildout, and the new mania for eggs. Imagine my discomfiture. But never mind all that. I now have a running instance of Zope 2.12.10 installed in NetBSD 5.1. I want to install CMF into it, which used to be one's first product chore (almost) since plone depended on it and I was heading for a plone install, (and later on ran Silva for a couple of years.) But I am here tonight to say, I am stumped. How do get CMFCore into my zope instance the right way? Can someone lay out the steps for me? My python is: /usr/pkg/bin/python2.6 My Zope is at: /usr/local/src/Zope2-2.12.10 My instance is at: /usr/local/Zopeish I have banged around with easy_install, which writes things into my NetBSD /usr/pkg hierarchy, of which I very much disapprove. Buildout seems always to want to build the original gazillion (not complaining!) Zope packages every time I ry to use it. So...glad to be back. Need help. Will write if I get work. Wish you were here. nb. The running Zope instance is live on the net, so if one needs to examine my ZMI I can provide URL and login. Just ask, please. -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut? ___ Zope maillist - Zope@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 )
Re: [Zope-CMF] [Zope-dev] SVN: five.pt/trunk/src/five/pt/ The container should be the Acquisition.aq_parent.
On Sun, Oct 24, 2010 at 2:29 PM, Tres Seaver tsea...@palladion.com wrote: 'container' is supposed to be the folder which holds the script / template, not the context. In a CMF site, that will typically be the site root, given the way items in skin layers appear to be direct attributes of the portal object. For purposes of Five views, the view object seemss like the right object to be the 'container' for the template: if that is the case here (hard to see from just the diff), great. Note this comment from Products.Five.browser.pagetemplatefile in the pt_getContext method (made during the AQ vs. parent pointer work): namespace.update( here=obj, # philiKON thinks container should be the view, # but BBB is more important than aesthetics. container=obj, ... So in view page templates container and context have historically always been the same. So far we said BBB trumps anything else here. Hanno ___ Zope-CMF maillist - Zope-CMF@zope.org https://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests