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 )
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 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
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 )
[Zope] GUF and crypt
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=- ___ 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 )