Re: [Zope] GUF and crypt

2000-08-22 Thread Stuart Bishop

On Mon, 21 Aug 2000, Brad Mabe wrote:

 Greetings,
 I am following the directions in hippy's GenericUserFolder with an SQL
 database how to, and ran into a snag.  When I call crypt, zope returns the
 following:
 
 Error Type: AttributeError
 Error Value: crypt

I think you need to hack your Zope installation to allow access to the
crypt function directly from DTML (it should be in the earlier part of
the doc). This, and a great many other functions, probably should be
available from DTML without hacking but no one has pushed hard enough
to get them added to the Zope distribution yet.

-- 
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] GUF and crypt

2000-08-22 Thread Aleksander Salwa


On Mon, 21 Aug 2000, Brad Mabe wrote:

 Greetings,
 I am following the directions in hippy's GenericUserFolder with an SQL
 database how to, and ran into a snag.  When I call crypt, zope returns the
 following:
 
 Error Type: AttributeError
 Error Value: crypt

Maybe you don't have this module ('crypt') in your python instalation.
It's not present in 2.2.0 binary distribution for Linux-x86. Check if you
have file lib/python1.5/lib-dynload/cryptmodule.so.
If not, then you can copy it from RPM package 'python'
(/usr/lib/python1.5/lib-dynload/cryptmodule.so).
(If you work on Linux, of course).


[EMAIL PROTECTED]

/--\
| `long long long' is too long for GCC |
\--/


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] GUF and crypt

2000-08-22 Thread Brad Mabe

Thanks,
I did follow the instructions for patching ZOPE (added import crypt to
DT_Util.py).  Any other ideas on what I should look for in my ZOPE
installation?  Is there a specific crypt (crypt.py?) file that I might be
missing?

 -=Brad=-

-Original Message-
From: Stuart Bishop [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 3:04 AM
To: Brad Mabe
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] GUF and crypt


On Mon, 21 Aug 2000, Brad Mabe wrote:

 Greetings,
 I am following the directions in hippy's GenericUserFolder with an SQL
 database how to, and ran into a snag.  When I call crypt, zope returns the
 following:

 Error Type: AttributeError
 Error Value: crypt

I think you need to hack your Zope installation to allow access to the
crypt function directly from DTML (it should be in the earlier part of
the doc). This, and a great many other functions, probably should be
available from DTML without hacking but no one has pushed hard enough
to get them added to the Zope distribution yet.

--
Stuart Bishop  Work: [EMAIL PROTECTED]
Senior Systems Alchemist   Play: [EMAIL PROTECTED]
Computer Science, RMIT University


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )