[Zope] GUF and crypt

Brad Mabe mabe@saclant.nato.int
Mon, 21 Aug 2000 10:05:02 -0400


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

Traceback (innermost last):
  File /home/segments/ZOPE/zope/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
  File /home/segments/ZOPE/zope/lib/python/ZPublisher/Publish.py, line 179,
in publish
  File /home/segments/ZOPE/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/segments/ZOPE/zope/lib/python/ZPublisher/Publish.py, line 165,
in publish
  File /home/segments/ZOPE/zope/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: adduser_action.dtml)
  File /home/segments/ZOPE/zope/lib/python/ZPublisher/Publish.py, line 102,
in call_object
    (Object: adduser_action.dtml)
  File /home/segments/ZOPE/zope/lib/python/OFS/DTMLDocument.py, line 166, in
__call__
    (Object: adduser_action.dtml)
  File /home/segments/ZOPE/zope/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: adduser_action.dtml)
  File /home/segments/ZOPE/zope/lib/python/DocumentTemplate/DT_Util.py, line
338, in eval
    (Object: REQUEST.set('password',_.crypt.crypt(fpassword,'ab')))
    (Info: REQUEST)
  File <string>, line 0, in ?
  File /home/segments/ZOPE/zope/lib/python/DocumentTemplate/DT_Util.py, line
127, in careful_getattr
AttributeError: (see above)

I'm running Zope 2.1.6 on HPUX 10.2

Any help will be greatly appreciated.

       -=Brad=-