[Zope] NTUserFolder requires win32ext - how do I link to that ?

Michel Pelletier michel@digicool.com
Tue, 21 Dec 1999 13:29:31 -0500


> -----Original Message-----
> From: Geoff Gardiner [mailto:ggardiner@synomics.com]
> Sent: Tuesday, December 21, 1999 12:01 PM
> To: zope@zope.org
> Cc: Toby Dickenson
> Subject: [Zope] NTUserFolder requires win32ext - how do I 
> link to that?
> 
> 
> I have read the advice about using the inbuilt copy of Python when
> installing Zope, and confirmed for myself that I don't see 
> how to get Zope
> to use an existing installed version of Python.

If you want to use your own python you have to use the source release of
Zope or hack at the binary release.  What hacks are necesary is unknown
to me.
 
> But I am trying NTUserFolder which relies on win32 extensions. I have
> installed NTUserFolder and confirmed that it too doesn't run with the
> default installation (<Error Type: KeyError; Error Value: 
> PARENT_URL>, when
> adding a new user; details below - I assume that lack of 
> win32ext is the
> problem but could very easily be wrong).

The problem is probably because PARENT_URL is obsolete and was removed a
while ago from Zope, quite a while ago, I think in the 1.10.x releases.

> I would like to know either
> - how to get win32extensions visible to the Zope copy of python, or
> - how to get Zope to look at my 'win32all' python 
> installation (which I
> would ensure to be the latest version of python).

I think the version issue is a red herring.  If NTUserFolder depends on
PARENT_URL then it has a bug in it.

-Michel