[Zope3-dev] compiling Zope3 on Windows

Garrett Smith garrett@mojave-corp.com
Tue, 24 Jun 2003 06:41:28 -0500


Steve Alexander wrote:
> Garrett Smith wrote:
>> Tim Peters wrote:
>> However, I'm running into an error here:
>>=20
>> File
>>
"\zope\Zope3\build\lib.win32-2.2\zope\app\browser\container\adding.py",
>>     line 125, in Adding index =3D ViewPageTemplateFile("add.pt")
>> TypeError: wrapper.ContextDescriptor.__new__(ViewPageTemplateFile) is
>> not safe, use object.__new__()
>>=20
>> I get the same error, different location, when running z3.py.
>>=20
>> This seems like a high level error for merely using a different
>> compiler.=20
>>=20
>> Has anyone else run into this?
>=20
> I wrote the ContextDescriptor code. I think I know what the error
> means, but I don't know why this is happening for you.
>=20
> I can help you with this next week, when I return from the EuroPython
> conference.

This error occurs whenever that __new__ pattern is encountered -- your
code just happens to be the first instance encountered when test.py is
run.

 -- Garrett