[Zope3-dev] compiling Zope3 on Windows

Steve Alexander steve@cat-box.net
Tue, 24 Jun 2003 13:36:55 +0300


Garrett Smith wrote:
> Tim Peters wrote:
> 
>>I haven't tried, but I believe Godefroid Chapelle has been having
>>decent luck using Cygwin.  That's certainly what I *would* try, since
>>Python has an active and highly competent Cygwin developer in Jason
>>Tishler).  I don't even know who to ask about the Borland or MinGW
>>environments. 
> 
> 
> I'm able to use Borland's compiler now (those who are interested, see
> http://www.python.org/doc/2.2.1/inst/non-ms-compilers.html).
> 
> However, I'm running into an error here:
> 
> File
> "\zope\Zope3\build\lib.win32-2.2\zope\app\browser\container\adding.py",
> line 125, in Adding
>     index = ViewPageTemplateFile("add.pt")
> TypeError: wrapper.ContextDescriptor.__new__(ViewPageTemplateFile) is
> not safe, use object.__new__()
> 
> I get the same error, different location, when running z3.py.
> 
> This seems like a high level error for merely using a different
> compiler.
> 
> Has anyone else run into this?

I wrote the ContextDescriptor code. I think I know what the error means, 
but I don't know why this is happening for you.

I can help you with this next week, when I return from the EuroPython 
conference.

--
Steve Alexander