|
From: Daniele <d.t...@ic...> - 2003-04-15 08:14:07
|
Hello Johan, OpenFlow and CMF OpwnFlow are two different packages. Please refer to www.openflow.it for OpenFlow and www.reflab.it for CMFOpenFlow. Since I don't feel confident with CMFOpenFlow (I don't know enough about it and there are other people taking care of it) I'll be talking about OpenFlow. Latest release version of OpenFlow is 1.0.6 so it seems you have the right one. You get the mentioned error because your ZCatalog doesen't have the CatalogPathAwareness library. If you switch to Zope 2.6.0 you'll get it by default. Or you can try downloading just the latest ZCatalog product. CMF is not needed for OpenFlow. It should not hurt you either having it or not having it installed. I know documentation about OpenFlow is scarce. And often outdated. I hope somebody in the community could help with their experience in using OpenFlow. Otherwis you'll have to wait 'till we get it written down. Sorry. Cheers, Daniele =) On Tuesday 15 April 2003 09:39, Braeken Johan wrote: > Hi, > > I'm having trouble getting started with OpenFlow. > I hate to say this, but the documentation of OpenFlow is rather bad. :-( > > What version of OpenFlow do I need? > Is in on openflow.it or on reflab.it? > Or is CMF OpenFlow (now Reflow) a totally different package? > > What do I need? > I have zope on Linux. > Do I need CMF? I thought I read it somewhere so I installed in anyway. > Are there other things I need? (Plone, ...) > > Currently I have: > Linux version: Red Hat 9 > CMF 1.1 > Zope Version (Zope 2.5.0 (binary release, python 2.1, linux2-x86), > python 2.1.2, linux2) > Python Version 2.1.2 (#1, Jan 25 2002, 13:17:56) [GCC 2.7.2.3] > System Platform linux2 > > > When I unpack OpenFlow 1.0.6 and place it in my lib/python/Products > directory. > I get a broken package in Zope: > > ---------------------------------------------------- > OpenFlow (Broken product OpenFlow) > > Traceback (most recent call last): > File > "/home/johan/Zope-2.5.0-linux2-x86/lib/python/OFS/Application.py", line > 531, in import_product > product=__import__(pname, global_dict, global_dict, silly) > File > "/home/johan/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/__init__ > .py", line 1, in ? > from openflow import openflow, manage_addOpenflow, > manage_addOpenflowForm > File > "/home/johan/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/openflow > .py", line 6, in ? > from instance import instance > File > "/home/johan/Zope-2.5.0-linux2-x86/lib/python/Products/OpenFlow/instance > .py", line 4, in ? > from Products.ZCatalog.CatalogPathAwareness import CatalogPathAware > ImportError: cannot import name CatalogPathAware > ---------------------------------------------------- > > When I use Reflow 1.0.9 and I follow the procedure explained in > install.txt (Adding an external method) I get the following Zope error: > > ---------------------------------------------------- > Error Type: ImportError > Error Value: cannot import name CatalogPathAware > ---------------------------------------------------- > > So both errors are about CatalogPathAware. What do I do about it? > I think I need a package I don't have... > > I'm also new to Zope, but I familiarized myself to it in the past few > days. > > > Kind regards, > > Johan. -- Daniele Tarini - Research & Development - Icube S.r.l. Address: Via Ridolfi 15 - 56124 Pisa (PI), Italy E-mail: d.t...@ic... Web: http://www.icube.it Phone: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588 |