Hi list, I downloaded cmf-1-5.0.zip and installed it into Zope 2.75b1 Zope_Instance/Products directory. Afer rebooting I was surprised to see it wasn't listed as a Product so I look in Products\CMF-1.50 and there is no __init__.py. Isn't that how products are recognized? I feel I'm missing something obvious :-0 Also I'm having trouble locating CMF documentation. Any recommendations? Thanks, David
David Hassalevris wrote:
Hi list,
I downloaded cmf-1-5.0.zip and installed it into Zope 2.75b1 Zope_Instance/Products directory. Afer rebooting I was surprised to see it wasn't listed as a Product so I look in Products\CMF-1.50 and there is no __init__.py.
Hi David, it is not obvious for windows users not knowing unix commands. INSTALL.txt says:
Link (or copy/move) the CMF packages into $INSTANCE_HOME/Products (or into $SOFTWARE_HOME/lib/python/Products). ... Since linking doesn't apply on Windows, you will need to cut or copy the files from the place where you unpacked them to the 'Products' directory of your Zope.
You are supposed to copy the moduls contained in the CMF-1-5.0 folder into the Zope_Instance/Products directory. Michael -- http://zope.org/Members/d2m http://planetzope.org
Michael Haubenwallner wrote:
David Hassalevris wrote:
Hi list,
I downloaded cmf-1-5.0.zip and installed it into Zope 2.75b1 Zope_Instance/Products directory. Afer rebooting I was surprised to see it wasn't listed as a Product so I look in Products\CMF-1.50 and there is no __init__.py.
Hi David, it is not obvious for windows users not knowing unix commands.
INSTALL.txt says:
Link (or copy/move) the CMF packages into $INSTANCE_HOME/Products (or into $SOFTWARE_HOME/lib/python/Products). ... Since linking doesn't apply on Windows, you will need to cut or copy the files from the place where you unpacked them to the 'Products' directory of your Zope.
You are supposed to copy the moduls contained in the CMF-1-5.0 folder into the Zope_Instance/Products directory.
Michael
Hi Michael, Thanks for the response. I wasn't very clear: I did install CMF-1-5.0 in the Zope_Instance/Products directory. I've installed lots of products! Its just that CMF-1-5.0 has no __init__.py in its base directory - and therefore its not being picked up by Zope as a Product. *still confused* . FWIW I also unzipped other CMF "tars" and they too did not have this. Thanks, David
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Hassalevris wrote: | Michael Haubenwallner wrote: | |> David Hassalevris wrote: |> |>> Hi list, |>> |>> I downloaded cmf-1-5.0.zip and installed it into Zope 2.75b1 |>> Zope_Instance/Products directory. Afer rebooting I was surprised to |>> see it wasn't listed as a Product so I look in Products\CMF-1.50 and |>> there is no __init__.py. |>> |> |> Hi David, |> it is not obvious for windows users not knowing unix commands. |> |> INSTALL.txt says: |> > Link (or copy/move) the CMF packages into |> > $INSTANCE_HOME/Products (or into $SOFTWARE_HOME/lib/python/Products). |> > ... |> > Since linking doesn't apply on Windows, you will need |> > to cut or copy the files from the place where you unpacked |> > them to the 'Products' directory of your Zope. |> |> You are supposed to copy the moduls contained in the CMF-1-5.0 folder |> into the Zope_Instance/Products directory. |> |> Michael |> | Hi Michael, | Thanks for the response. I wasn't very clear: I did install CMF-1-5.0 | in the Zope_Instance/Products directory. I've installed lots of | products! Its just that CMF-1-5.0 has no __init__.py in its base | directory - and therefore its not being picked up by Zope as a Product. | | *still confused* | . | FWIW I also unzipped other CMF "tars" and they too did not have this. CMF is not a single product, but a suite of related productx. The INSTALL.txt says: ~ Link (or copy/move) the CMF packages into $INSTANCE_HOME/Products It then provides examples of doing the linking on a windows box: ~ $ cd /var/zope/Products # /var/zope is INSTANCE_HOME ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFCore . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFDefault . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFTopic . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFActionIcons . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFCalendar . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFSetup . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFUid . ~ $ ln -s /usr/local/zope/CMF-1.5.0/DCWorkflow . *Those* are the "products" of which CMF is made up. The top-level directory, CMF-1.5.0, is not a package (hence it has no __init__.py) or a product; it is just the container for the products. Tres. - -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCMghyGqWXf00rNCgRAk+zAJ98MoFJws0o7tQR8FIVDxXBn6pi8gCfRN5g LeirRBKIEUEmKtOOaAIb2Ds= =s8EP -----END PGP SIGNATURE-----
Tres Seaver wrote:
David Hassalevris wrote: | Michael Haubenwallner wrote: | |> David Hassalevris wrote: |> |>> Hi list, |>> |>> I downloaded cmf-1-5.0.zip and installed it into Zope 2.75b1 |>> Zope_Instance/Products directory. Afer rebooting I was surprised to |>> see it wasn't listed as a Product so I look in Products\CMF-1.50 and |>> there is no __init__.py. |>> |> |> Hi David, |> it is not obvious for windows users not knowing unix commands. |> |> INSTALL.txt says: |> > Link (or copy/move) the CMF packages into |> > $INSTANCE_HOME/Products (or into $SOFTWARE_HOME/lib/python/Products). |> > ... |> > Since linking doesn't apply on Windows, you will need |> > to cut or copy the files from the place where you unpacked |> > them to the 'Products' directory of your Zope. |> |> You are supposed to copy the moduls contained in the CMF-1-5.0 folder |> into the Zope_Instance/Products directory. |> |> Michael |> | Hi Michael, | Thanks for the response. I wasn't very clear: I did install CMF-1-5.0 | in the Zope_Instance/Products directory. I've installed lots of | products! Its just that CMF-1-5.0 has no __init__.py in its base | directory - and therefore its not being picked up by Zope as a Product. | | *still confused* | . | FWIW I also unzipped other CMF "tars" and they too did not have this.
CMF is not a single product, but a suite of related productx. The INSTALL.txt says:
~ Link (or copy/move) the CMF packages into $INSTANCE_HOME/Products
It then provides examples of doing the linking on a windows box:
~ $ cd /var/zope/Products # /var/zope is INSTANCE_HOME ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFCore . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFDefault . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFTopic . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFActionIcons . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFCalendar . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFSetup . ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFUid . ~ $ ln -s /usr/local/zope/CMF-1.5.0/DCWorkflow .
*Those* are the "products" of which CMF is made up.
The top-level directory, CMF-1.5.0, is not a package (hence it has no __init__.py) or a product; it is just the container for the products.
Tres.
Tres and Tom, Thanks! David
On Fri, Mar 11, 2005 at 01:27:46PM -0800, David Hassalevris wrote:
Tres Seaver wrote:
It then provides examples of doing the linking on a windows box:
~ $ cd /var/zope/Products # /var/zope is INSTANCE_HOME ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFCore .
if you've got cygwin installed, sure... otherwise, I'd like to see that windows box ;-) -- Paul Winkler http://www.slinkp.com
Paul Winkler wrote:
On Fri, Mar 11, 2005 at 01:27:46PM -0800, David Hassalevris wrote:
Tres Seaver wrote:
It then provides examples of doing the linking on a windows box:
~ $ cd /var/zope/Products # /var/zope is INSTANCE_HOME ~ $ ln -s /usr/local/zope/CMF-1.5.0/CMFCore .
if you've got cygwin installed, sure... otherwise, I'd like to see that windows box ;-)
Indeed. The equivalent on a windows box would look more like: C:\Zope\Products>junction CMFCore \CMF-1.5.0\CMFCore The main problem with creating links on windows is that the OS doesn't come with any programs to create (or delete) them, so you need to get a third party program such as junction from http://www.sysinternals.com/ntw2k/source/misc.shtml#junction
David Hassalevris wrote:
...Also I'm having trouble locating CMF documentation. Any recommendations?
Product documention is in the docs/ folder of the distribution. More docs are at http://www.zope.org/Products/CMF/docs/ Michael -- http://zope.org/Members/d2m http://planetzope.org
participants (5)
-
David Hassalevris -
Duncan Booth -
Michael Haubenwallner -
Paul Winkler -
Tres Seaver