ZopeLDAP 1.0b4 breaks the root directory security tab
Since installing ZopeLDAP 1.0b4, I get the following error when trying to access the security tab at the root directory: Zope Error Zope has encountered an error while publishing this resource. Error Type: TypeError Error Value: string member test needs char left operand Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.2.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 255, in manage_access (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/App/special_dtml.py, line 120, in __call__ (Object: access) (Info: /usr/local/Zope/lib/python/AccessControl/access.dtml) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: access) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /usr/local/Zope-2.2.2-src/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: permission_settings) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 182, in permission_settings (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.2.2-src/lib/python/AccessControl/Role.py, line 177, in <lambda> TypeError: (see above) Removing the product returns the system back to normal. Does anyone know what I can patch to remove this? Thanks, Corey
On Fri, 6 Oct 2000 15:53:14 -0400 you wrote:
Since installing ZopeLDAP 1.0b4, I get the following error when trying to access the security tab at the root directory: Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError Error Value: string member test needs char left operand
Remember the satellite that blew up because of a missed comma? (O.k., something like that. Is it an urban legend?) lib/python/Products/ZLDAPConnection/ZLDAP.py, line 51: ('Browse Connection Entries', ('manage_browse',),('Manager')), should be ('Browse Connection Entries', ('manage_browse',),('Manager',)), (This is for ZopeLDAP 1.0b5.) Gotta love Open Source. --kyler
On 16 Nov 2000, 9:02 Kyler B. Laird wrote:
Remember the satellite that blew up because of a missed comma? (O.k., something like that. Is it an urban legend?)
"MARINER 1, the first U.S. attempt to send a spacecraft to Venus, failed minutes after launch in 1962. The guidance instructions from the ground stopped reaching the rocket due to a problem with its antenna, so the onboard computer took control. However, there turned out to be a bug in the guidance software, and the rocket promptly went off course, so the Range Safety Officer destroyed it. Although the bug is sometimes claimed to have been an incorrect FORTRAN DO statement, it was actually a transcription error in which the bar (indicating smoothing) was omitted from the expression "R-dot-bar sub n" (nth smoothed value of derivative of radius). This error led the software to treat normal minor variations of velocity as if they were serious, leading to incorrect compensation." (From http://www.asi.org/adb/m/02/probe-history-space-faq.html) It was a kind of standard example in software engineering courses at these times. (Remember RPG? Ahh ...:-) Vol 1 No 1 of the Risk Digest (anno '85) (http://catless.ncl.ac.uk/Risks/1.01.html) claimed "Mariner 1: Atlas booster launch failure DO 100 I=1.10 (not 1,10) " Vol 4 Issue 1 (http://catless.ncl.ac.uk/Risks/4.1.html) claimed "Mariner 1: Atlas booster launch failure DO 3 I=1.3 (not 1,3)? " and the version from 9 November 2000 (http://www.csl.sri.com/neumann/illustrative.html) now states "Mariner 1 Venus probe: HW fault plus programmer missed superscript bar in `R dot bar sub n'. See Paul Ceruzzi, Beyond the Limits - Flight Enters the Computer Age, Smithsonian, 1989, Appendix (S 14 5). (Earlier reports had suggested DO I=1.10 bug (see next item) or a garbled minus sign (or hyphen.)" Funny, eh? -- o ( Wolfgang.Strobl@gmd.de (+49 2241) 14-2394 /\ * GMD mbH #include _`\ `_<=== Schloss Birlinghoven, <std.disclaimer> __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ________________
participants (3)
-
Corey Zimmet -
Kyler B. Laird -
Wolfgang Strobl