|
From: Katz, A. \(akatz\) <ak...@ar...> - 2007-09-24 14:56:57
|
I resolved my issue.=20
There is a mistake in the README.txt
New Products should be installed in ~/<ZOPE_HOME>/Products, NOT
~/<ZOPE_HOME/lib/python/Products
Once I fixed this, the product started up without issue.
Aryeh
> -----Original Message-----
> From: ope...@li...=20
> [mailto:ope...@li...] On Behalf=20
> Of Katz, Aryeh (akatz)
> Sent: Monday, September 24, 2007 9:39 AM
> To: ope...@li...
> Subject: [Openflow-dev] Starting openflow on RHEL 3
>=20
>=20
> I'm trying to use openflow 1.3 with python2.4 and zope 2.10.=20
> I see the following error in event.log
>=20
> 2007-09-21T19:02:12 WARNING OFS.Uninstalled Could not import=20
> class 'openflow' from module 'Products.OpenFlow.openflow'
>=20
> When I try to import openflow from a python prompt, I get a=20
> traceback no matter what I add to the python path or sys.path
>=20
> Here is the stack I get when trying to import openflow. Any=20
> pointers would be greatly appreciated.
>=20
> Python 2.4.2 (#1, Mar 28 2006, 07:50:43)=20
> [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-53)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.path.append('/usr/local/zope/lib/python/')
> >>> sys.path.append('/usr/local/zope/lib/python/AccessControl/')
> >>> sys.path.append('/usr/local/zope/')
> >>> import openflow
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "openflow.py", line 22, in ?
> from AccessControl import SecurityInfo
> File=20
> "/usr/local/zope/lib/python/AccessControl/__init__.py", line 17, in ?
> from Implementation import setImplementation
> File "/usr/local/zope/lib/python/AccessControl/Implementation.py",
> line 98, in ?
> setImplementation("C")
> File "/usr/local/zope/lib/python/AccessControl/Implementation.py",
> line 51, in setImplementation
> from AccessControl import ImplC as impl
> File "/usr/local/zope/lib/python/AccessControl/ImplC.py",=20
> line 30, in ?
> from ImplPython import RestrictedDTML, SecurityManager,=20
> ZopeSecurityPolicy
> File=20
> "/usr/local/zope/lib/python/AccessControl/ImplPython.py",=20
> line 35, in ?
> from AccessControl import SecurityManagement
> ImportError: cannot import name SecurityManagement
>=20
>=20
> Thanks.
>=20
> Aryeh
> ---
> Aryeh Katz
> ak...@ar...
>=20
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.=20
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Openflow-dev mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openflow-dev
>=20
|