[Zope3-dev] cygwin/Zope3 CVS

Chris McDonough chrism@zope.com
29 Nov 2002 20:52:47 -0500


Sounds like you're actually invoking it with Python2.1.

On Fri, 2002-11-29 at 20:32, Andy McKay wrote:
> I get the same error under Windows when I run test.py (Python 2.2.2, Visual
> Studio 6, not using cygwin)
> 
> I get the following error on running z3.py:
> 
> E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py:147:
> SyntaxWarning:
> local name 'r' in '_exe' shadows use of 'r' as global in nested scope
> 'lambda'
>   def _exe(callable, subs, context, kw):
> Traceback (most recent call last):
>   File "z3.py", line 68, in ?
>     run()
>   File "z3.py", line 47, in run
>     config('site.zcml')
>   File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\_app.py", line 32, in
> config
>     from Zope.Configuration.xmlconfig import XMLConfig
>   File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\__init__.py",
> line 2
> 4, in ?
>     from Zope.Configuration.xmlconfig import XMLConfig
>   File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
> line
> 25, in ?
>     from meta import begin, sub, end
>   File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
> 22, i
> n ?
>     from INonEmptyDirective import INonEmptyDirective
>   File
> "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\INonEmptyDirective.p
> y", line 18, in ?
>     from Interface import Interface
>   File "E:\Builds\Zope3\Zope3\lib\python\Interface\__init__.py", line 70, in
> ?
>     from _Interface import Interface
>   File "E:\Builds\Zope3\Zope3\lib\python\Interface\_Interface.py", line 20,
> in ?
> 
>     from _InterfaceClass import Interface as InterfaceClass
>   File "E:\Builds\Zope3\Zope3\lib\python\Interface\_InterfaceClass.py", line
> 21,
>  in ?
>     from Method import Method, fromFunction
>   File "E:\Builds\Zope3\Zope3\lib\python\Interface\Method.py", line 20, in ?
>     from Attribute import Attribute
>   File "E:\Builds\Zope3\Zope3\lib\python\Interface\Attribute.py", line 20,
> in ?
>     from _Element import Element
>   File "E:\Builds\Zope3\Zope3\lib\python\Interface\_Element.py", line 20, in
> ?
>     class Element(object):
> NameError: name 'object' is not defined
> --
>   Andy McKay
>   www.agmweb.ca
> 
> ----- Original Message -----
> From: "alan runyan" <runyaga@myrealbox.com>
> To: <zope3-dev@zope.org>
> Sent: Friday, November 29, 2002 6:22 PM
> Subject: [Zope3-dev] cygwin/Zope3 CVS
> 
> 
> > when I run test.py w/ python2.2.2-1 on
> > cygwin I get:
> >
> > $ python test.py
> > Traceback (most recent call last):
> >   File "test.py", line 449, in ?
> >     process_args()
> >   File "test.py", line 413, in process_args
> >     bad = main(module_filter, test_filter)
> >   File "test.py", line 316, in main
> >     runner(files, test_filter, debug)
> >   File "test.py", line 280, in runner
> >     s = get_suite(file)
> >   File "test.py", line 235, in get_suite
> >     mod = package_import(modname)
> >   File "test.py", line 216, in package_import
> >     mod = __import__(modname)
> >   File
> > "/opt/src/Zope3/lib/python/Zope/App/ComponentArchitecture/tests/testDirec
> > tives.py", line 22, in ?
> >     from Zope.App.Security.Exceptions import UndefinedPermissionError
> >   File "/opt/src/Zope3/lib/python/Zope/App/Security/__init__.py", line 18,
> > in ?
> >     _protections.protect()
> >   File "/opt/src/Zope3/lib/python/Zope/App/Security/_protections.py", line
> > 52, i
> > n protect
> >     _protect(which)
> >   File "/opt/src/Zope3/lib/python/Zope/App/Security/_protections.py", line
> > 31, i
> > n _protect
> >     getCheckerForInstancesOf(dict))
> >   File "/opt/src/Zope3/lib/python/Zope/Security/Checker.py", line 288, in
> > define
> > Checker
> >     raise DuplicationError(type_)
> > Zope.Exceptions._duplicate.DuplicationError: <type
> > 'Persistence.BTrees.OOBTree.O
> > OBTree'>
> >
> > thanks in advance,
> > ~runyaga
> >
> >
> >
> > _______________________________________________
> > Zope3-dev mailing list
> > Zope3-dev@zope.org
> > http://lists.zope.org/mailman/listinfo/zope3-dev
> 
> 
> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope3-dev