[Zope] Re: Problem Creating Instance

Tres Seaver tseaver at palladion.com
Tue Nov 28 19:38:15 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nancy Donnelly wrote:
> Hi;
> I built Z3 from FreeBSD ports. Went to create an instance and got this error:
> 
> root at server167:ports/www/zope3 (115) /usr/local/www/Zope3/bin/mkzopeinstance -d /usr/local/www/Zope3/main
> Traceback (most recent call last):
>   File "/usr/local/www/Zope3/bin/mkzopeinstance", line 47, in <module>
>     from zope.app.server.mkzopeinstance import main
>   File "/usr/local/www/Zope3/lib/python/zope/app/server/mkzopeinstance.py", line 32, in <module>
>     from zope.app.authentication import password
>   File "/usr/local/www/Zope3/lib/python/zope/app/authentication/__init__.py", line 19, in <module>
>     import interfaces
>   File "/usr/local/www/Zope3/lib/python/zope/app/authentication/interfaces.py", line 22, in <module>
>     import zope.security.interfaces
>   File "/usr/local/www/Zope3/lib/python/zope/security/__init__.py", line 24, in <module>
>     from zope.security.management import checkPermission
>   File "/usr/local/www/Zope3/lib/python/zope/security/management.py", line 25, in <module>
>     from zope.security.interfaces import ISecurityManagement
>   File "/usr/local/www/Zope3/lib/python/zope/security/interfaces.py", line 20, in <module>
>     from zope.interface.common.interfaces import IAttributeError
>   File "/usr/local/www/Zope3/lib/python/zope/interface/common/interfaces.py", line 80, in <module>
>     classImplements(OverflowWarning, IOverflowWarning)
> NameError: name 'OverflowWarning' is not defined
> 
> Now, apparently there is a vulnerability with Z3, so I could only make with this thrown in:
> DISABLE_VULNERABILITIES=yes
> TIA,
> Nancy

I'm guessing you are using some antique Python version here.
OverflowWarning is a builtin in the versions of Python required by *all*
released versions of Zope3:

$ python
Python 2.4.3 (#2, Oct  6 2006, 07:52:30)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> OverflowWarning
<class exceptions.OverflowWarning at 0xb7da2f8c>
>>>
[/home/tseaver]
$ python2.3
Python 2.3.5 (#2, Oct  5 2006, 22:06:14)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> OverflowWarning
<class exceptions.OverflowWarning at 0xb7d71fbc>
>>>


If the FreeBSD port for Zope doesn't mandate a Python >= 2.3.x, it is
severely broken.

BTW, I have no idea what "vulnerability" you are describing here.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFbNZ3+gerLs4ltQ4RAtwXAKC941JNHqpQ46T//X1jmWH09FMLlgCfal+j
7yWBI3sH7QkVaUFasf3igec=
=1pm5
-----END PGP SIGNATURE-----



More information about the Zope mailing list