[Zope-Annce] ANN (Screencast): Installing Zope at WebFaction
Hello everyone, WebFaction (formerly Python-Hosting.com) have just released a screencast demo of their control panel. The 6 minute demo shows how you can setup a Rails, WordPress, Django and TurboGears application in a few clicks, and then mount these applications on various domain(s)/URL(s). The one-click installer already supports all major tools, including Rails, WordPress, Djano, TurboGears, Zope, Plone, Trac and Subversion, but also lightweight tools such as static HTML, CGI or PHP. Even though Zope itself is not shown in the demo, it is supported in the one-click installer so its installation works just like the other applications. We already hosts hundreds of Zope and Plone sites. The demo is available at: http://blog.webfaction.com/control-panel-demo Remi. http://www.webfaction.com - Hosting for an agile web ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Annce] VPW: Talk schedule available
What's New? === The talk schedule for the Vancouver Python Workshop is now available: http://www.vanpyz.org/conference/talkschedule.html This years line-up might be even stronger than in 2004, so check it out! About the Vancouver Python Workshop === The conference will begin with keynote addresses on August 4st by Guido van Rossum [1] and Jim Hugunin [2]. Further talks (and tutorials for beginners) will take place on August 5th and 6th. Ian Cavén [3] will give the closing address. The Vancouver Python Workshop is a community organized and designed for both the beginner and for the experienced Python programmer with: * tutorials for beginning programmers * advanced lectures for Python experts * case studies of Python in action * after-hours social events * informative keynote speakers * tracks on multimedia, Web development, education and more More information see: http://www.vanpyz.org/conference/ or contact Brian Quinlan at: [EMAIL PROTECTED] Vancouver = In addition to the opportunity to learn and socialize with fellow Pythonistas, the Vancouver Python Workshop also gives visitors the opportunity to visit one of the most extraordinary cities in the world [4]. For more information about traveling to Vancouver, see: http://www.vanpyz.org/conference/vancouver.html http://www.tourismvancouver.com http://en.wikipedia.org/wiki/Vancouver Important dates === Talk proposals accepted: May 15th to June 15th Early registration (discounted): May 22nd to June 30th Normal registration: from July 1st Keynotes: August 4th Conference and tutorial dates: August 5th and 6th [1] Guido van Rossum (Google) is the inventor of Python and has managed its growth and development for more than a decade. Guido was awarded the Free Software Foundation Award in 2002 and Dr.Dobb's 1999 Excellence in Programming Award. Guido works at Google and spends half of his time on Python. [2] Jim Hugunin (Microsoft) is the creator of numerous innovations that take Python into new application domains. Jim's most recent project, IronPython integrates Python into Microsoft's .NET runtime. Jim's previous project, Jython is Python for the Java runtime and was the second production-quality implementation of Python. Before that, Jim's Numeric Python adapted Python to the needs of number crunching applications. Jim works at Microsoft adapting the .NET runtime to the needs of dynamic languages like Python. [3] Ian Cavén is the primary developer of the Lowry Digital Images motion picture restoration system. This Python and Zope-based system has been used to restore over 150 motion pictures. Highlights include Citizen Kane, Sunset Boulevard and both the Indiana Jones and Star Wars trilogies. While Ian was Chief Scientist at Lowry Digital, his rack of computers grew from a few Macintoshes on his desktop to over six hundred Macintosh and Linux servers - at one point earning Lowry the title as the second biggest installation of parallel processing Maintoshes in the world. In 2005, Lowry Digital Images was acquired by DTS (the famous movie audio company) and renamed DTS Digital Images. The motion picture restoration system has been discussed in publications as diverse as IEEE Spectrum, USA Today, the BBC NEWS, the New York Times and Apple.com. Ian has been a Python enthusiast since 1999. [4] http://news.bbc.co.uk/2/hi/business/2299119.stm http://edition.cnn.com/2006/BUSINESS/06/15/btn.cities/index.html Cheers, Brian ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Annce] VPW: early registration deadline
What's New? === The deadline for early-bird registration for the Vancouver Python Workshop is this Friday, June 30th. Early-bird registration is significantly discounted over normal registration, so register now at: http://www.vanpyz.org/conference/registration.html About the Vancouver Python Workshop === The conference will begin with keynote addresses on August 4st by Guido van Rossum [1] and Jim Hugunin [2]. Further talks (and tutorials for beginners) will take place on August 5th and 6th. Ian Cavén [3] will give the closing address. The Vancouver Python Workshop is a community organized and designed for both the beginner and for the experienced Python programmer with: * tutorials for beginning programmers * advanced lectures for Python experts * case studies of Python in action * after-hours social events * informative keynote speakers More information see: http://www.vanpyz.org/conference/ or contact Brian Quinlan at: [EMAIL PROTECTED] Vancouver = In addition to the opportunity to learn and socialize with fellow Pythonistas, the Vancouver Python Workshop also gives visitors the opportunity to visit one of the most extraordinary cities in the world [4]. For more information about traveling to Vancouver, see: http://www.vanpyz.org/conference/vancouver.html http://www.tourismvancouver.com http://en.wikipedia.org/wiki/Vancouver Important dates === Early registration (discounted): May 22nd to June 30th Normal registration: from July 1st Keynotes: August 4th Conference and tutorial dates: August 5th and 6th [1] Guido van Rossum (Google) is the inventor of Python and has managed its growth and development for more than a decade. Guido was awarded the Free Software Foundation Award in 2002 and Dr.Dobb's 1999 Excellence in Programming Award. Guido works at Google and spends half of his time on Python. [2] Jim Hugunin (Microsoft) is the creator of numerous innovations that take Python into new application domains. Jim's most recent project, IronPython integrates Python into Microsoft's .NET runtime. Jim's previous project, Jython is Python for the Java runtime and was the second production-quality implementation of Python. Before that, Jim's Numeric Python adapted Python to the needs of number crunching applications. Jim works at Microsoft adapting the .NET runtime to the needs of dynamic languages like Python. [3] Ian Cavén is the primary developer of the Lowry Digital Images motion picture restoration system. This Python and Zope-based system has been used to restore over 150 motion pictures. Highlights include Citizen Kane, Sunset Boulevard and both the Indiana Jones and Star Wars trilogies. While Ian was Chief Scientist at Lowry Digital, his rack of computers grew from a few Macintoshes on his desktop to over six hundred Macintosh and Linux servers - at one point earning Lowry the title as the second biggest installation of parallel processing Maintoshes in the world. In 2005, Lowry Digital Images was acquired by DTS (the famous movie audio company) and renamed DTS Digital Images. The motion picture restoration system has been discussed in publications as diverse as IEEE Spectrum, USA Today, the BBC NEWS, the New York Times and Apple.com. Ian has been a Python enthusiast since 1999. [4] http://news.bbc.co.uk/2/hi/business/2299119.stm http://edition.cnn.com/2006/BUSINESS/06/15/btn.cities/index.html Cheers, Brian ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py Issue 2113: testrunner ignoring Ctrl-C.
Log message for revision 68971: Issue 2113: testrunner ignoring Ctrl-C. Changed: U Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py -=- Modified: Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py === --- Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py 2006-07-05 13:44:29 UTC (rev 68970) +++ Zope/branches/2.9/lib/python/Zope2/Startup/zopectl.py 2006-07-05 14:17:48 UTC (rev 68971) @@ -258,14 +258,20 @@ pid = os.fork() if pid == 0: # child os.execv(self.options.python, args) -else: -os.waitpid(pid, 0) + +# Parent process running (execv replaces process in child +while True: +try: +os.waitpid(pid, 0) +except (OSError, KeyboardInterrupt): +continue +else: +break def help_test(self): print test [args]+ -- run unit / functional tests. print See $ZOPE_HOME/bin/test.py --help for syntax. - def main(args=None): # This is exactly like zdctl.main(), but uses ZopeCtlOptions and # ZopeCmd instead of ZDCtlOptions and ZDCmd, so the default values ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt Issue 2113: testrunner ignoring Ctrl-C.
Log message for revision 68972: Issue 2113: testrunner ignoring Ctrl-C. Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-07-05 14:17:48 UTC (rev 68971) +++ Zope/branches/2.9/doc/CHANGES.txt 2006-07-05 14:19:07 UTC (rev 68972) @@ -18,6 +18,8 @@ Bugs fixed + - Collector #2113: 'zopectl test' often masked Ctrl-C. + - OFS Application: Updated deprecation warnings. Support for '__ac_permissions__' and 'meta_types' will be removed in Zope 2.11, 'methods' support might remain longer. ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.10/ Issue 2113: testrunner ignoring Ctrl-C.
Log message for revision 68973: Issue 2113: testrunner ignoring Ctrl-C. Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/Zope2/Startup/zopectl.py -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2006-07-05 14:19:07 UTC (rev 68972) +++ Zope/branches/2.10/doc/CHANGES.txt 2006-07-05 14:32:19 UTC (rev 68973) @@ -18,6 +18,8 @@ Bugs Fixed + - Collector #2113: 'zopectl test' masked Ctrl-C. + - OFS Image: Image and File updated to use isinstance(data, str) and raises TypeError upon encountering unicode objects. Modified: Zope/branches/2.10/lib/python/Zope2/Startup/zopectl.py === --- Zope/branches/2.10/lib/python/Zope2/Startup/zopectl.py 2006-07-05 14:19:07 UTC (rev 68972) +++ Zope/branches/2.10/lib/python/Zope2/Startup/zopectl.py 2006-07-05 14:32:19 UTC (rev 68973) @@ -258,14 +258,20 @@ pid = os.fork() if pid == 0: # child os.execv(self.options.python, args) -else: -os.waitpid(pid, 0) + +# Parent process running (execv replaces process in child +while True: +try: +os.waitpid(pid, 0) +except (OSError, KeyboardInterrupt): +continue +else: +break def help_test(self): print test [args]+ -- run unit / functional tests. print See $ZOPE_HOME/bin/test.py --help for syntax. - def main(args=None): # This is exactly like zdctl.main(), but uses ZopeCtlOptions and # ZopeCmd instead of ZDCtlOptions and ZDCmd, so the default values ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/ Issue 2113: testrunner ignoring Ctrl-C.
Log message for revision 68974: Issue 2113: testrunner ignoring Ctrl-C. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Zope2/Startup/zopectl.py -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2006-07-05 14:32:19 UTC (rev 68973) +++ Zope/trunk/doc/CHANGES.txt 2006-07-05 14:40:45 UTC (rev 68974) @@ -27,6 +27,8 @@ Bugs Fixed + - Collector #2113: 'zopectl test' masked Ctrl-C. + - OFS Image: Image and File updated to use isinstance(data, str) and raises TypeError upon encountering unicode objects. @@ -47,4 +49,4 @@ http://codespeak.net/pipermail/z3-five/2006q2/001474.html - The defaultView directive now only looks up views, not attributes. - \ No newline at end of file + Modified: Zope/trunk/lib/python/Zope2/Startup/zopectl.py === --- Zope/trunk/lib/python/Zope2/Startup/zopectl.py 2006-07-05 14:32:19 UTC (rev 68973) +++ Zope/trunk/lib/python/Zope2/Startup/zopectl.py 2006-07-05 14:40:45 UTC (rev 68974) @@ -258,14 +258,20 @@ pid = os.fork() if pid == 0: # child os.execv(self.options.python, args) -else: -os.waitpid(pid, 0) + +# Parent process running (execv replaces process in child +while True: +try: +os.waitpid(pid, 0) +except (OSError, KeyboardInterrupt): +continue +else: +break def help_test(self): print test [args]+ -- run unit / functional tests. print See $ZOPE_HOME/bin/test.py --help for syntax. - def main(args=None): # This is exactly like zdctl.main(), but uses ZopeCtlOptions and # ZopeCmd instead of ZDCtlOptions and ZDCmd, so the default values ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/tseaver-retire_zpkg/ Sync with 2.9 branch.
Log message for revision 68975: Sync with 2.9 branch. Changed: U Zope/branches/tseaver-retire_zpkg/doc/CHANGES.txt U Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/ImplPython.py U Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/SecurityInfo.py U Zope/branches/tseaver-retire_zpkg/lib/python/App/ApplicationManager.py U Zope/branches/tseaver-retire_zpkg/lib/python/App/Hotfixes.py U Zope/branches/tseaver-retire_zpkg/lib/python/App/ProductContext.py U Zope/branches/tseaver-retire_zpkg/lib/python/App/RefreshFuncs.py U Zope/branches/tseaver-retire_zpkg/lib/python/App/special_dtml.py U Zope/branches/tseaver-retire_zpkg/lib/python/OFS/Cache.py U Zope/branches/tseaver-retire_zpkg/lib/python/OFS/ObjectManager.py U Zope/branches/tseaver-retire_zpkg/lib/python/OFS/Uninstalled.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/BTreeFolder2/BTreeFolder2.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/PageTemplates/PageTemplateFile.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/PageTemplates/ZopePageTemplate.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/PluginIndexes/TextIndex/TextIndex.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/PythonScripts/PythonScript.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/Sessions/SessionDataManager.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/Sessions/stresstests/stresstestMultiThread.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/Transience/Transience.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/ZCatalog/ProgressHandler.py U Zope/branches/tseaver-retire_zpkg/lib/python/Products/ZCatalog/ZCatalog.py U Zope/branches/tseaver-retire_zpkg/lib/python/Shared/DC/ZRDB/Connection.py U Zope/branches/tseaver-retire_zpkg/lib/python/Signals/SignalHandler.py U Zope/branches/tseaver-retire_zpkg/lib/python/TAL/XMLParser.py U Zope/branches/tseaver-retire_zpkg/lib/python/ZPublisher/BeforeTraverse.py U Zope/branches/tseaver-retire_zpkg/lib/python/ZServer/datatypes.py U Zope/branches/tseaver-retire_zpkg/lib/python/Zope2/Startup/zopectl.py U Zope/branches/tseaver-retire_zpkg/lib/python/tempstorage/TemporaryStorage.py -=- Modified: Zope/branches/tseaver-retire_zpkg/doc/CHANGES.txt === --- Zope/branches/tseaver-retire_zpkg/doc/CHANGES.txt 2006-07-05 14:40:45 UTC (rev 68974) +++ Zope/branches/tseaver-retire_zpkg/doc/CHANGES.txt 2006-07-05 14:53:31 UTC (rev 68975) @@ -18,6 +18,8 @@ Bugs fixed + - Collector #2113: 'zopectl test' often masked Ctrl-C. + - OFS Application: Updated deprecation warnings. Support for '__ac_permissions__' and 'meta_types' will be removed in Zope 2.11, 'methods' support might remain longer. Modified: Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/ImplPython.py === --- Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/ImplPython.py 2006-07-05 14:40:45 UTC (rev 68974) +++ Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/ImplPython.py 2006-07-05 14:53:31 UTC (rev 68975) @@ -15,13 +15,15 @@ import os import string +import logging +logger = logging.getLogger('Zope Security Policy') from Acquisition import aq_base from Acquisition import aq_parent from Acquisition import aq_inner from Acquisition import aq_acquire from ExtensionClass import Base -from zLOG import LOG, BLATHER, PROBLEM +from zLOG.EventLogger import CUSTOM_BLATHER from zope.interface import implements # This is used when a permission maps explicitly to no permission. We @@ -346,8 +348,8 @@ return 1 except TypeError: # 'roles' isn't a sequence -LOG('Zope Security Policy', PROBLEM, '%s' passed as roles - during validation of '%s' is not a sequence. % ( +logger.warn('%s' passed as roles + during validation of '%s' is not a sequence. % ( `roles`, name)) raise @@ -804,7 +806,7 @@ info.append(s + '.') text = ' '.join(info) -LOG('Zope Security Policy', BLATHER, 'Unauthorized: %s' % text) +logger.log(CUSTOM_BLATHER, 'Unauthorized: %s' % text) raise Unauthorized(text) def getUserRolesInContext(user, context): Modified: Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/SecurityInfo.py === --- Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/SecurityInfo.py 2006-07-05 14:40:45 UTC (rev 68974) +++ Zope/branches/tseaver-retire_zpkg/lib/python/AccessControl/SecurityInfo.py 2006-07-05 14:53:31 UTC (rev 68975) @@
[Zope-Checkins] SVN: Zope/trunk/ - reStructuredText/ZReST: setting raw_enabled to 0 for security
Log message for revision 68976: - reStructuredText/ZReST: setting raw_enabled to 0 for security reasons Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/ZReST/ZReST.py U Zope/trunk/lib/python/reStructuredText/__init__.py -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2006-07-05 14:53:31 UTC (rev 68975) +++ Zope/trunk/doc/CHANGES.txt 2006-07-05 16:08:23 UTC (rev 68976) @@ -27,6 +27,9 @@ Bugs Fixed + - reStructuredText/ZReST: setting raw_enabled to 0 for security +reasons + - Collector #2113: 'zopectl test' masked Ctrl-C. - OFS Image: Image and File updated to use isinstance(data, str) Modified: Zope/trunk/lib/python/Products/ZReST/ZReST.py === --- Zope/trunk/lib/python/Products/ZReST/ZReST.py 2006-07-05 14:53:31 UTC (rev 68975) +++ Zope/trunk/lib/python/Products/ZReST/ZReST.py 2006-07-05 16:08:23 UTC (rev 68976) @@ -203,6 +203,7 @@ 'stylesheet' : self.stylesheet, 'stylesheet_path' : None, 'pub.settings.warning_stream' : Warnings(), +'raw_enabled' : 0, 'file_insertion_enabled' : 0, } Modified: Zope/trunk/lib/python/reStructuredText/__init__.py === --- Zope/trunk/lib/python/reStructuredText/__init__.py 2006-07-05 14:53:31 UTC (rev 68975) +++ Zope/trunk/lib/python/reStructuredText/__init__.py 2006-07-05 16:08:23 UTC (rev 68976) @@ -73,6 +73,7 @@ settings['stylesheet'] = stylesheet settings['stylesheet_path'] = None settings['file_insertion_enabled'] = 0 +settings['raw_enabled'] = 0 if language_code: settings['language_code'] = language_code settings['language_code'] = language_code ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/ - reStructuredText/ZReST: setting raw_enabled to 0 for security
Log message for revision 68978: - reStructuredText/ZReST: setting raw_enabled to 0 for security reasons Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/Products/ZReST/ZReST.py U Zope/branches/2.9/lib/python/reStructuredText/__init__.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-07-05 16:10:16 UTC (rev 68977) +++ Zope/branches/2.9/doc/CHANGES.txt 2006-07-05 16:12:23 UTC (rev 68978) @@ -18,6 +18,9 @@ Bugs fixed + - reStructuredText/ZReST: setting raw_enabled to 0 for security +reasons + - Collector #2113: 'zopectl test' often masked Ctrl-C. - OFS Application: Updated deprecation warnings. Modified: Zope/branches/2.9/lib/python/Products/ZReST/ZReST.py === --- Zope/branches/2.9/lib/python/Products/ZReST/ZReST.py2006-07-05 16:10:16 UTC (rev 68977) +++ Zope/branches/2.9/lib/python/Products/ZReST/ZReST.py2006-07-05 16:12:23 UTC (rev 68978) @@ -210,6 +210,9 @@ # disallow use of the .. include directive for security reasons pub.settings.file_insertion_enabled = 0 +# disallow insertion of raw data through for security reasons +pub.settings.raw_enabled = 0 + # don't break if we get errors pub.settings.halt_level = 6 Modified: Zope/branches/2.9/lib/python/reStructuredText/__init__.py === --- Zope/branches/2.9/lib/python/reStructuredText/__init__.py 2006-07-05 16:10:16 UTC (rev 68977) +++ Zope/branches/2.9/lib/python/reStructuredText/__init__.py 2006-07-05 16:12:23 UTC (rev 68978) @@ -72,6 +72,7 @@ settings['output_encoding'] = output_encoding settings['stylesheet'] = stylesheet settings['file_insertion_enabled'] = 0 +settings['raw_enabled'] = 0 if language_code: settings['language_code'] = language_code settings['language_code'] = language_code ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/OFS/ Fixed refactored traversal on bound methods of classes with no default
Log message for revision 68980: Fixed refactored traversal on bound methods of classes with no default access. Changed: U Zope/branches/2.10/lib/python/OFS/Traversable.py U Zope/branches/2.10/lib/python/OFS/tests/testTraverse.py -=- Modified: Zope/branches/2.10/lib/python/OFS/Traversable.py === --- Zope/branches/2.10/lib/python/OFS/Traversable.py2006-07-05 16:13:42 UTC (rev 68979) +++ Zope/branches/2.10/lib/python/OFS/Traversable.py2006-07-05 16:53:20 UTC (rev 68980) @@ -237,11 +237,11 @@ if not validated: raise Unauthorized, name else: -if hasattr(aq_base(obj), name): +if getattr(aq_base(obj), name, marker) is not marker: if restricted: -next = guarded_getattr(obj, name, marker) +next = guarded_getattr(obj, name) else: -next = _getattr(obj, name, marker) +next = _getattr(obj, name) else: try: next=obj[name] @@ -249,6 +249,9 @@ # Raise NotFound for easier debugging # instead of AttributeError: __getitem__ raise NotFound, name +if restricted and not securityManager.validate( +obj, obj, _none, next): +raise Unauthorized, name except (AttributeError, NotFound, KeyError), e: # Try to look for a view @@ -270,13 +273,10 @@ next = _getattr(obj, name, marker) except AttributeError: raise e -if next is marker: -# Nothing found re-raise error -raise e - -if restricted and not securityManager.validate( -obj, obj, _none, next): -raise Unauthorized, name +if next is marker: +# Nothing found re-raise error +raise e + obj = next return obj Modified: Zope/branches/2.10/lib/python/OFS/tests/testTraverse.py === --- Zope/branches/2.10/lib/python/OFS/tests/testTraverse.py 2006-07-05 16:13:42 UTC (rev 68979) +++ Zope/branches/2.10/lib/python/OFS/tests/testTraverse.py 2006-07-05 16:53:20 UTC (rev 68980) @@ -68,6 +68,24 @@ return 0 +class ProtectedMethodSecurityPolicy: +Check security strictly on bound methods. + +def validate(self, accessed, container, name, value, *args): +if getattr(aq_base(value), 'im_self', None) is None: +return 1 + +# Bound method +if name is None: +raise Unauthorized +klass = value.im_self.__class__ +roles = getattr(klass, name+'__roles__', object()) +if roles is None: # ACCESS_PUBLIC +return 1 + +raise Unauthorized(name) + + class UnitTestUser( Acquisition.Implicit ): Stubbed out manager for unit testing purposes. @@ -103,6 +121,22 @@ bb_status = 'screechy' +class Restricted(SimpleItem): +Instance we'll check with ProtectedMethodSecurityPolicy + +getId__roles__ = None # ACCESS_PUBLIC +def getId(self): +return self.id + +private__roles__ = () # ACCESS_PRIVATE +def private(self): +return 'private!' + +# not protected +def ohno(self): +return 'ohno!' + + class BoboTraversableWithAcquisition(SimpleItem): A BoboTraversable class which may use acquisition to find objects. @@ -210,6 +244,17 @@ self.failUnlessRaises( KeyError, self.folder1.unrestrictedTraverse, '/folder1/file2/' ) +def testTraverseMethodRestricted(self): +self.root.my = Restricted('my') +my = self.root.my +my.id = 'my' +noSecurityManager() +SecurityManager.setSecurityPolicy(ProtectedMethodSecurityPolicy()) +r = my.restrictedTraverse('getId') +self.assertEquals(r(), 'my') +self.assertRaises(Unauthorized, my.restrictedTraverse, 'private') +self.assertRaises(Unauthorized, my.restrictedTraverse, 'ohno') + def testBoboTraverseToWrappedSubObj(self): # Verify it's possible to use __bobo_traverse__ with the # Zope security policy. ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/ Merge tseaver-retire_spkg branch.
Log message for revision 68989: Merge tseaver-retire_spkg branch. Changed: D Zope/branches/2.9/buildsupport/ U Zope/branches/2.9/configure U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/inst/Makefile.in U Zope/branches/2.9/inst/configure.py _U Zope/branches/2.9/lib/python/ _U Zope/branches/2.9/lib/python/Zope2/ _U Zope/branches/2.9/lib/python/zope/ A Zope/branches/2.9/lib/python/zope/app/ A Zope/branches/2.9/lib/python/zope/app/EXTERNALS.txt A Zope/branches/2.9/lib/python/zope/app/__init__.py D Zope/branches/2.9/releases/ U Zope/branches/2.9/setup.py -=- Modified: Zope/branches/2.9/configure === --- Zope/branches/2.9/configure 2006-07-05 21:11:37 UTC (rev 68988) +++ Zope/branches/2.9/configure 2006-07-05 21:21:49 UTC (rev 68989) @@ -38,7 +38,8 @@ { echo echo configure [--help] [--quiet] [--with-python=path] [--prefix=path] -echo [--ignore-largefile] [--ignore-zlib] [--optimize] +echo [--build-base=path] [--ignore-largefile] [--ignore-zlib] +echo [--optimize] echo echo Creates a Makefile suitable for building and installing Zope echo @@ -47,6 +48,7 @@ echo --quiet suppress nonessential output echo --with-python specify a path to a Python interpreter to use echo --prefixspecify an installation path for binary data +echo --build-basespecify a temporary path for build files echo --ignore-largefile ignore large file support warnings echo --ignore-expat ignore warnings about expat/pyexpat echo --ignore-zlib ignore warnings about zlib Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-07-05 21:11:37 UTC (rev 68988) +++ Zope/branches/2.9/doc/CHANGES.txt 2006-07-05 21:21:49 UTC (rev 68989) @@ -47,6 +47,11 @@ - Collector #2063: cleaned up some mess in MailHost.sendTemplate() + Other Changes + + - Returned to the classic './configure make make install' +recipe, dropping the use of 'zpkg' for building Zope2 releases. + Zope 2.9.3 (2006/05/13) Bugs fixed Modified: Zope/branches/2.9/inst/Makefile.in === --- Zope/branches/2.9/inst/Makefile.in 2006-07-05 21:11:37 UTC (rev 68988) +++ Zope/branches/2.9/inst/Makefile.in 2006-07-05 21:21:49 UTC (rev 68989) @@ -10,14 +10,17 @@ PACKAGE_NAME=${NAME}-${MAJOR_VERSION}.${MINOR_VERSION}-${RELEASE_TAG} PYTHON=PYTHON -ZPKG=zpkg -TMPDIR=TMP_DIR +TMP_DIR=TMP_DIR PREFIX=PREFIX BASE_DIR=BASE_DIR +BUILD_BASE=BUILD_BASE DISTUTILS_OPTS=DISTUTILS_OPTS INSTALL_FLAGS=INSTALL_FLAGS TESTOPTS=-v -BUILD_FLAGS=-i +BUILD_FLAGS=--build-base=${BUILD_BASE} \ +--build-lib=${BUILD_BASE}/build-lib \ +--build-scripts=${BUILD_BASE}/build-scripts\ +--build-temp=${BUILD_BASE}/build-temp RM=rm -f RMRF=rm -rf @@ -29,7 +32,7 @@ TAR=tar MKDIR=mkdir -p -.PHONY : clean install instance untestinst testinst build +.PHONY : clean install instance untestinst testinst build unbuild .PHONY : default # default: The default step (invoked when make is called without a target) @@ -39,23 +42,38 @@ @echo to run a Zope instance directly from the build directory\). @echo -# build: +# build: Do whatever 'setup.py build' implies build: ${PYTHON} ${BASE_DIR}/setup.py \ - ${DISTUTILS_OPTS} build_ext ${BUILD_FLAGS} + ${DISTUTILS_OPTS} build ${BUILD_FLAGS} +# unbuild: Remove the build directory (undo the make build step) +unbuild: + ${RMRF} ${BUILD_BASE} + # install: Install a software home. -install: - ${PYTHON} ${BASE_DIR}/setup.py ${DISTUTILS_OPTS} \ - build_ext ${BUILD_FLAGS} \ - install --home=${PREFIX} ${INSTALL_FLAGS} +install: build version_txt + ${PYTHON} ${BASE_DIR}/setup.py ${DISTUTILS_OPTS} install \ + --home=${PREFIX} ${BUILD_FLAGS} ${INSTALL_FLAGS} [ -f ${PREFIX}/bin/python ] || ${LN} ${PYTHON} ${PREFIX}/bin/python @echo @echo Zope binaries installed successfully. @echo Now run \'${PREFIX}/bin/mkzopeinstance.py\' -# inplace: Do an in-place build -inplace: build +# inplace: Install a software home into to the source directory. +# +# Note: We used to run 'build_ext -i' for 'inplace', but that was +# suboptimal because it had a tendency to try to rebuild all of the +# (possibly already-built) extensions that might be built during a +# previous 'make' step. built_ext doesn't understand '--build-base' +# and friends so we can't stop it from doing this easily. So instead, +# we rely on the stock install step and name the prefix as the current +# directory. This is a little less efficient than just building the +#
[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/zope/app/ Move back to main 3.3 branch.
Log message for revision 68991: Move back to main 3.3 branch. Changed: _U Zope/branches/2.9/lib/python/zope/app/ -=- Property changes on: Zope/branches/2.9/lib/python/zope/app ___ Name: svn:externals - adapter svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/adapter annotation svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/annotation apidoc svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/apidoc applicationcontrol svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/applicationcontrol appsetup svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/appsetup authentication svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/authentication basicskin svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/basicskin broken svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/broken cache svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/cache component svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/component container svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/container content svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/content content_types svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/content_types copypastemove svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/copypastemove datetimeutils svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/datetimeutils debug svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/debug decorator svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/decorator dependable svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/dependable dtmlpage svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/dtmlpage dublincore svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/dublincore error svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/error event svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/event exception svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/exception externaleditor svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/externaleditor file svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/file filerepresentation svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/filerepresentation folder svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/folder form svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/form ftests svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/ftests ftp svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/ftp generations svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/generations http svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/http i18n svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/i18n interface svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/interface intid svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/intid introspector svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/introspector keyreference svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/keyreference locales svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/locales location svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/location mail svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/mail onlinehelp svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/onlinehelp pagetemplate svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/pagetemplate preference svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/preference preview svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/preview principalannotation svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/principalannotation publication svn://svn.zope.org/repos/main/Zope3/branches/3.2-zope.app.externals/src/zope/app/publication publisher
[Zope-Checkins] SVN: Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app/ Switch back to 3.3 branch.
Log message for revision 68992: Switch back to 3.3 branch. Changed: _U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app/ U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app/EXTERNALS.txt -=- Property changes on: Zope/branches/tseaver-retire_zpkg-2.10/lib/python/zope/app ___ Name: svn:externals - annotation svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/annotation apidoc svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/apidoc applicationcontrol svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/applicationcontrol appsetup svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/appsetup authentication svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/authentication basicskin svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/basicskin broken svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/broken cache svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/cache component svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/component container svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/container content svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/content content_types svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/content_types copypastemove svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/copypastemove datetimeutils svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/datetimeutils debug svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/debug decorator svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/decorator dependable svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/dependable dtmlpage svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/dtmlpage dublincore svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/dublincore error svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/error event svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/event exception svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/exception file svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/file filerepresentation svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/filerepresentation folder svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/folder form svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/form ftests svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/ftests generations svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/generations http svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/http i18n svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/i18n interface svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/interface intid svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/intid introspector svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/introspector keyreference svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/keyreference layers svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/layers locales svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/locales location svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/location mail svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/mail onlinehelp svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/onlinehelp pagetemplate svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/pagetemplate preference svn://svn.zope.org/repos/main/Zope3/branches/3.3-zope.app.externals/src/zope/app/preference preview
[Zope-Checkins] SVN: Zope/branches/tseaver-retire_zpkg-2.10/ Synch with 2.10 branch.
Log message for revision 68993: Synch with 2.10 branch. Changed: U Zope/branches/tseaver-retire_zpkg-2.10/doc/CHANGES.txt U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Image.py U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Traversable.py U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/tests/testFileAndImage.py U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/tests/testTraverse.py U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/Products/ZReST/ZReST.py U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/Zope2/Startup/zopectl.py U Zope/branches/tseaver-retire_zpkg-2.10/lib/python/reStructuredText/__init__.py -=- Modified: Zope/branches/tseaver-retire_zpkg-2.10/doc/CHANGES.txt === --- Zope/branches/tseaver-retire_zpkg-2.10/doc/CHANGES.txt 2006-07-06 02:31:30 UTC (rev 68992) +++ Zope/branches/tseaver-retire_zpkg-2.10/doc/CHANGES.txt 2006-07-06 03:02:09 UTC (rev 68993) @@ -18,6 +18,14 @@ Bugs Fixed + - reStructuredText/ZReST: setting raw_enabled to 0 for security +reasons + + - Collector #2113: 'zopectl test' masked Ctrl-C. + + - OFS Image: Image and File updated to use isinstance(data, str) +and raises TypeError upon encountering unicode objects. + - OFS Application: Updated deprecation warnings. Support for '__ac_permissions__' and 'meta_types' will be removed in Zope 2.11, 'methods' support might remain longer. Modified: Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Image.py === --- Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Image.py 2006-07-06 02:31:30 UTC (rev 68992) +++ Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Image.py 2006-07-06 03:02:09 UTC (rev 68993) @@ -43,7 +43,6 @@ from cgi import escape import transaction -StringType=type('') manage_addFileForm=DTMLFile('dtml/imageAdd', globals(),Kind='File',kind='file') def manage_addFile(self,id,file='',title='',precondition='', content_type='', REQUEST=None): @@ -231,7 +230,7 @@ RESPONSE.setStatus(206) # Partial content data = self.data -if type(data) is StringType: +if isinstance(data, str): RESPONSE.write(data[start:end]) return True @@ -302,7 +301,7 @@ 'Content-Range: bytes %d-%d/%d\r\n\r\n' % ( start, end - 1, self.size)) -if type(data) is StringType: +if isinstance(data, str): RESPONSE.write(data[start:end]) else: @@ -401,7 +400,7 @@ self.ZCacheable_set(None) data=self.data -if type(data) is type(''): +if isinstance(data, str): RESPONSE.setBase(None) return data @@ -428,6 +427,10 @@ security.declarePrivate('update_data') def update_data(self, data, content_type=None, size=None): +if isinstance(data, unicode): +raise TypeError('Data can only be str or file-like. ' +'Unicode objects are expressly forbidden.') + if content_type is not None: self.content_type=content_type if size is None: size=len(data) self.size=size @@ -481,7 +484,7 @@ if headers and headers.has_key('content-type'): content_type=headers['content-type'] else: -if type(body) is not type(''): body=body.data +if not isinstance(body, str): body=body.data content_type, enc=guess_content_type( getattr(file, 'filename',id), body, content_type) return content_type @@ -490,7 +493,7 @@ n=1 16 -if type(file) is StringType: +if isinstance(file, str): size=len(file) if size n: return file, size # Big string: cut it into smaller chunks @@ -617,7 +620,7 @@ return result data = self.data -if type(data) is type(''): +if isinstance(data, str): RESPONSE.setBase(None) return data @@ -777,6 +780,10 @@ security.declarePrivate('update_data') def update_data(self, data, content_type=None, size=None): +if isinstance(data, unicode): +raise TypeError('Data can only be str or file-like. ' +'Unicode objects are expressly forbidden.') + if size is None: size=len(data) self.size=size Modified: Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Traversable.py === --- Zope/branches/tseaver-retire_zpkg-2.10/lib/python/OFS/Traversable.py
[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/zope/ - Remove zope.app as external.
Log message for revision 68994: - Remove zope.app as external. Changed: _U Zope/branches/2.10/lib/python/zope/ -=- Property changes on: Zope/branches/2.10/lib/python/zope ___ Name: svn:externals - app -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app cachedescriptors -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/cachedescriptors component-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/component configuration-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/configuration documenttemplate -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/documenttemplate event-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/event exceptions -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/exceptions hookable -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/hookable i18n -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/i18n i18nmessageid-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/i18nmessageid interface-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/interface modulealias -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/modulealias pagetemplate -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/pagetemplate proxy-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/proxy publisher-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/publisher schema -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/schema security -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/security server -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/server structuredtext -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/structuredtext tal -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/tal tales-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/tales testing -r 67760 svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing thread -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/thread deprecation -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/deprecation dottedname -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/dottedname formlib -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/formlib index-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/index testbrowser -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/testbrowser contentprovider -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/contentprovider viewlet -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/viewlet annotation -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/annotation contenttype -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/contenttype copypastemove-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/copypastemove datetime -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/datetime decorator-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/decorator deferredimport -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/deferredimport dublincore -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/dublincore filerepresentation -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/filerepresentation lifecycleevent -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/lifecycleevent location -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/location rdb -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/rdb sendmail -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/sendmail traversing -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/traversing wfmc -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/wfmc size -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/size + cachedescriptors -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/cachedescriptors component-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/component configuration-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/configuration documenttemplate -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/documenttemplate event-r 68324
[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/zope/app/ Make app its own package, with externals.
Log message for revision 68995: Make app its own package, with externals. Changed: A Zope/branches/2.10/lib/python/zope/app/ A Zope/branches/2.10/lib/python/zope/app/EXTERNALS.txt A Zope/branches/2.10/lib/python/zope/app/__init__.py -=- Property changes on: Zope/branches/2.10/lib/python/zope/app ___ Name: svn:externals + annotation -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/annotation apidoc -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/apidoc applicationcontrol -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/applicationcontrol appsetup-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/appsetup authentication -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/authentication basicskin -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/basicskin broken -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/broken cache -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/cache component -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/component container -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/container content -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/content content_types -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/content_types copypastemove -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/copypastemove datetimeutils -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/datetimeutils debug -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/debug decorator -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/decorator dependable -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/dependable dtmlpage-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/dtmlpage dublincore -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/dublincore error -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/error event -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/event exception -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/exception file-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/file filerepresentation -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/filerepresentation folder -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/folder form-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/form ftests -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/ftests generations -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/generations http-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/http i18n-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/i18n interface -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/interface intid -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/intid introspector-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/introspector keyreference-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/keyreference layers -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/layers locales -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/locales location-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/location mail-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/mail onlinehelp -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/onlinehelp pagetemplate-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/pagetemplate preference -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/preference preview -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/preview principalannotation -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/principalannotation publication -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/publication publisher -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/publisher rdb
[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt Omitted changelog entry.
Log message for revision 68997: Omitted changelog entry. Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2006-07-06 03:49:37 UTC (rev 68996) +++ Zope/branches/2.10/doc/CHANGES.txt 2006-07-06 03:51:18 UTC (rev 68997) @@ -61,6 +61,11 @@ - The defaultView directive now only looks up views, not attributes. +Other Changes + + - Returned to the classic './configure make make install' +recipe, dropping the use of 'zpkg' for building Zope2 releases. + Zope 2.10.0 beta 1 (2006/05/30) Restructuring ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/lib/python/zope/ Remove zope.app as an external.
Log message for revision 68998: Remove zope.app as an external. Changed: _U Zope/trunk/lib/python/zope/ -=- Property changes on: Zope/trunk/lib/python/zope ___ Name: svn:externals - app -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app cachedescriptors -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/cachedescriptors component-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/component configuration-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/configuration documenttemplate -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/documenttemplate event-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/event exceptions -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/exceptions hookable -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/hookable i18n -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/i18n i18nmessageid-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/i18nmessageid interface-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/interface modulealias -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/modulealias pagetemplate -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/pagetemplate proxy-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/proxy publisher-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/publisher schema -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/schema security -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/security server -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/server structuredtext -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/structuredtext tal -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/tal tales-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/tales testing -r 67760 svn://svn.zope.org/repos/main/zope.testing/trunk/src/zope/testing thread -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/thread deprecation -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/deprecation dottedname -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/dottedname formlib -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/formlib index-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/index testbrowser -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/testbrowser contentprovider -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/contentprovider viewlet -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/viewlet annotation -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/annotation contenttype -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/contenttype copypastemove-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/copypastemove datetime -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/datetime decorator-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/decorator deferredimport -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/deferredimport dublincore -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/dublincore filerepresentation -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/filerepresentation lifecycleevent -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/lifecycleevent location -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/location rdb -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/rdb sendmail -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/sendmail traversing -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/traversing wfmc -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/wfmc size -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/size + cachedescriptors -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/cachedescriptors component-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/component configuration-r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/configuration documenttemplate -r 68324 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/documenttemplate event-r 68324
[Zope-Checkins] SVN: Zope/trunk/lib/python/zope/app/ Wire in zope.app, with externals.
Log message for revision 68999: Wire in zope.app, with externals. Changed: A Zope/trunk/lib/python/zope/app/ A Zope/trunk/lib/python/zope/app/EXTERNALS.txt A Zope/trunk/lib/python/zope/app/__init__.py -=- Property changes on: Zope/trunk/lib/python/zope/app ___ Name: svn:externals + annotation -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/annotation apidoc -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/apidoc applicationcontrol -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/applicationcontrol appsetup-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/appsetup authentication -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/authentication basicskin -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/basicskin broken -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/broken cache -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/cache component -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/component container -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/container content -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/content content_types -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/content_types copypastemove -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/copypastemove datetimeutils -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/datetimeutils debug -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/debug decorator -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/decorator dependable -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/dependable dtmlpage-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/dtmlpage dublincore -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/dublincore error -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/error event -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/event exception -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/exception file-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/file filerepresentation -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/filerepresentation folder -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/folder form-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/form ftests -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/ftests generations -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/generations http-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/http i18n-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/i18n interface -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/interface intid -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/intid introspector-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/introspector keyreference-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/keyreference layers -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/layers locales -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/locales location-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/location mail-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/mail onlinehelp -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/onlinehelp pagetemplate-r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/pagetemplate preference -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/preference preview -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/preview principalannotation -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/principalannotation publication -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/publication publisher -r 68988 svn://svn.zope.org/repos/main/Zope3/branches/3.3/src/zope/app/publisher rdb -r 68988
[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/ Property changes omitted in manual merge.
Log message for revision 69000: Property changes omitted in manual merge. Changed: _U Zope/branches/2.10/lib/python/ _U Zope/branches/2.10/lib/python/Zope2/ -=- Property changes on: Zope/branches/2.10/lib/python ___ Name: svn:ignore - *so *.pyc version.txt build + *so *.pyc version.txt build zope.proxy Property changes on: Zope/branches/2.10/lib/python/Zope2 ___ Name: svn:ignore - *so *.pyc build + *so *.pyc build version.txt ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: Tres Seaver wrote: I've now done the same work on a branch for that tree: [/home/tseaver/projects/Zope-CVS/tseaver-retire_zpkg-2.10] $ head .svn/entries ?xml version=1.0 encoding=utf-8? wc-entries xmlns=svn: entry committed-rev=68857 name= committed-date=2006-06-26T21:16:14.182239Z url=svn+ssh://svn.zope.org/repos/main/Zope/branches/tseaver-retire_zpkg-2.10 last-author=tseaver kind=dir Btw, I found 'svn info' the other day. Before that I was looking at .svn/entries, too. Note that here I used the contents of 'zope.app' as installed by the 2.10b1 tarball, which has at least one of the packages in it ('wfmc') which Philipp said should be excluded for 2.9. AFAIK, both of these branches are ready for merging to their respective branches (and to the trunk, for the 2.10 version). Comments? Looks good. Let's merge :) I'm working on the merge right now, and having some problems: $ export ZSVN=svn+ssh://svn.zope.org/repos/main $ svn co $ZSVN/Zope/branches/2.9 Zope-2_9-branch ... $ cd Zope-2_9-branch $ svn merge -r 68803:HEAD $ZSVN/Zope/branches/tseaver-retire_zpkg . Dreleases/Zope2/DEPENDENCIES.cfg Dreleases/Zope2/test.py Dreleases/Zope2/PUBLICATION.cfg Dreleases/Zope2/PACKAGE.cfg Dreleases/Zope2/zopetest Dreleases/Zope2/SETUP.cfg Dreleases/Zope2 Dreleases/Zope2.map Dreleases/Zope2.cfg Dreleases Performing status on external item at 'buildsupport/zpkgsetup' Skipped 'buildsupport' Uconfigure Udoc/CHANGES.txt U lib/python/Zope2 Ulib/python/Products/Transience/Transience.py Ulib/python/Products/ZCatalog/ProgressHandler.py Ulib/python/Products/ZCatalog/ZCatalog.py Ulib/python/Products/PluginIndexes/DateIndex/DateIndex.py Ulib/python/Products/PluginIndexes/TextIndex/TextIndex.py Ulib/python/App/RefreshFuncs.py Ulib/python/App/ProductContext.py Ulib/python/OFS/Cache.py Ulib/python/OFS/ObjectManager.py Ulib/python/tempstorage/TemporaryStorage.py Ulib/python/Shared/DC/ZRDB/Connection.py svn: URL 'svn+ssh://svn.zope.org/repos/main/Zope/branches/tseaver-retire_zpkg/lib/python/zope/app' doesn't match existing URL 'svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/zope/app' in 'lib/python/zope/app' I may have to munge 'zope/app' manually and check it in to get the merge done. Anybody have another suggestion? Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEq9gh+gerLs4ltQ4RAlEKAJ49BdccSaBRoPtcbHlDGc+gLol2GwCdF6Eu IT+gW5v9CNOrLPiNa9fWjxg= =C6CD -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
--On 5. Juli 2006 18:56:25 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? I am pretty sure that the complete Zope core is still full of those optimizations. -aj pgpnm0umtEDo2.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
On 5 Jul 2006, at 19:05, Andreas Jung wrote: --On 5. Juli 2006 18:56:25 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? I am pretty sure that the complete Zope core is still full of those optimizations. Does that mean you're for or against it? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6472 Blamelist: andreasjung,efge BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
--On 5. Juli 2006 19:11:16 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: On 5 Jul 2006, at 19:05, Andreas Jung wrote: --On 5. Juli 2006 18:56:25 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? I am pretty sure that the complete Zope core is still full of those optimizations. Does that mean you're for or against it? For (of course) :-) -aj pgpQrpt9LJe13.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
Florent Guillaume wrote: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? I find these things rather confusing when looking at zope core code, and always wondered why they were there. In what sense are they optimisations? Tim ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Random SESSION variables disappearing
Tina Matter wrote at 2006-7-5 08:45 -0700: I noticed that someone else encountered this same problem back in February. However, the only response that person received was that this is not possible. Anyway, I am running into the same problem, where random session variables are disappearing. The session is still there because my error log indicates that the SESSION id and token are still set. However, many, and sometimes all of my other session variables disappear at random causing an error when trying to reference any of the objects. These are top level session variables? I.e. something you defined with SESSION.set(myvar, some_value)? And not variables inside some_value? One can easily believe that all variables disappear. That happens for example when the session times out. But it is very difficult to believe that individual session variables should disappear as all of them are treated in the same way: all or none should disappear... We might have an invalidation bug (although it is unlikely, as it should hit all storages and not only sessions) which might cause some connections to see an older state. In this case, the variable you loose should be your newest variables. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
On Wed, Jul 05, 2006 at 07:21:29PM +0200, Andreas Jung wrote: | Does that mean you're for or against it? | | | For (of course) :-) It has been demonstrated in other lists that global lookups are most of the time faster than local lookups in recent versions of python. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 signature.asc Description: Digital signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
--On 5. Juli 2006 16:45:21 -0300 Sidnei da Silva [EMAIL PROTECTED] wrote: On Wed, Jul 05, 2006 at 07:21:29PM +0200, Andreas Jung wrote: | Does that mean you're for or against it? | | | For (of course) :-) It has been demonstrated in other lists that global lookups are most of the time faster than local lookups in recent versions of python. I am *for* removing them. These culprits must go. -aj pgpeyj44eLSBa.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
Sidnei da Silva wrote at 2006-7-5 16:45 -0300: ... It has been demonstrated in other lists that global lookups are most of the time faster than local lookups in recent versions of python. That would extremely surprise me: While global lookup was significantly optimized, it is still an lookup with a string as argument. For local lookup on the other hand, the compiler has turned the name into an index and at runtime, an indexed access it made. That is still faster. An a simple test shows that I am right: i = 1 def f1(): # using global i directly ... x=0 ... for k in xrange(100): x += i ... def f2(): # using global i via local _i ... x=0; _i=i ... for k in xrange(100): x += _i ... from timeit import Timer t=Timer('__main__.f1()', 'import __main__') t.timeit() 33.647971153259277 t=Timer('__main__.f2()', 'import __main__') t.timeit() 28.818410873413086 I have seen timings which might be misinterpreted in the way you described above: def f(..., opt1=glob1): ... can be slower than directly using glob1. The reason in this case is that handling optional arguments costs something which might eat the savings due to local access. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
Florent Guillaume wrote at 2006-7-5 18:56 +0200: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? Why do you think they were stupid? They do save time -- although it probably does not dominate the total time. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
On Wed, Jul 05, 2006 at 10:29:34PM +0200, [EMAIL PROTECTED] wrote: | That would extremely surprise me: | | While global lookup was significantly optimized, | it is still an lookup with a string as argument. | | For local lookup on the other hand, the compiler has | turned the name into an index and at runtime, an | indexed access it made. That is still faster. Hum. Hum. Wonder where my brain is. I wish I could find the email with the benchmarks to make me look less silly. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
...and then I find it. Phew :) http://article.gmane.org/gmane.comp.web.zope.devel/8925 -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases
Tres Seaver wrote: svn: URL 'svn+ssh://svn.zope.org/repos/main/Zope/branches/tseaver-retire_zpkg/lib/python/zope/app' doesn't match existing URL 'svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/zope/app' in 'lib/python/zope/app' I may have to munge 'zope/app' manually and check it in to get the merge done. Anybody have another suggestion? When replacing a subversioned directory with an external, you first need to remove the directory and commit it. Then, in a next revision, you add the external. Philipp ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
Sidnei da Silva wrote at 2006-7-5 18:06 -0300: ...and then I find it. Phew :) http://article.gmane.org/gmane.comp.web.zope.devel/8925 But you see that this post does not compare local versus global access but cell reference in enclosing (!) scope versus global access. As my example proves, local access (i.e. cell reference in local scope) *IS* faster than global access. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6480 Blamelist: efge,tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6482 Blamelist: tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Serious security problem with Zope 2
We have recently discovered that there are (still) very serious security problems with the integration of reStructured Text (docutils) into Zope 2. We have prepared a hot fix for this problem: http://www.zope.org/Products/Zope/Hotfix-2006-07-05/Hotfix-20060705/ See: http://www.zope.org/Products/Zope/Hotfix-2006-07-05/Hotfix-20060705/ README.txt for installation instructions. It is important to install this hotfix as soon as possible. This fix will disable the reStructuredText 'raw' directive. Much thanks goes to Tres Seaver for analyzing the problem and developing the hotfix! Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] local namespace optimizations?
On Wed, Jul 05, 2006 at 11:30:19PM +0200, [EMAIL PROTECTED] wrote: | Sidnei da Silva wrote at 2006-7-5 18:06 -0300: | ...and then I find it. Phew :) | | http://article.gmane.org/gmane.comp.web.zope.devel/8925 | | But you see that this post does not compare local versus global | access but cell reference in enclosing (!) scope versus global access. | | As my example proves, local access (i.e. cell reference in local scope) | *IS* faster than global access. Yup Yup. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: local namespace optimizations?
[EMAIL PROTECTED] wrote: Florent Guillaume wrote at 2006-7-5 18:56 +0200: Is anyone opposed to me removing the stupid: _getattr = getattr _none = None marker = _marker local namespace optimizations that are found in unrestrictedTraverse? Why do you think they were stupid? I call them stupid because they are micro-optimizations that are drowned in the rest of the traversal code and make things harder to read. _none vs None are exactly the same speed in my tests. _marker vs a global have a 0.05 microsecond difference on my machine _getattr vs getattr too. And if we localize those, why not localize aq_base as well, and guarded_getattr and securityManager.validate and nsParse and namespaceLookup... At least the current unrestrictedTraverse() code has grown sufficiently complex that it should be rebenched and re-optimize if needed, but it's already complex enough to not keep cruft in it if it's not justified. Florent They do save time -- although it probably does not dominate the total time. -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philipp von Weitershausen wrote: Tres Seaver wrote: svn: URL 'svn+ssh://svn.zope.org/repos/main/Zope/branches/tseaver-retire_zpkg/lib/python/zope/app' doesn't match existing URL 'svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/zope/app' in 'lib/python/zope/app' I may have to munge 'zope/app' manually and check it in to get the merge done. Anybody have another suggestion? When replacing a subversioned directory with an external, you first need to remove the directory and commit it. Then, in a next revision, you add the external. I'm actually going the other direction, but I think I still need two transactions (first remove the external, then create and add tne directory) Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFErHJv+gerLs4ltQ4RAq24AKC1aNL4mSW7UO71KnwXgT8U/ZYtbACeLUGz 4cMFJMBosBpvuiuB9qFhwZ8= =3uV7 -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6486 Blamelist: efge,tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6488 Blamelist: tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6490 Blamelist: efge,tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6491 Blamelist: tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Philipp von Weitershausen wrote: Tres Seaver wrote: svn: URL 'svn+ssh://svn.zope.org/repos/main/Zope/branches/tseaver-retire_zpkg/lib/python/zope/app' doesn't match existing URL 'svn://svn.zope.org/repos/main/Zope3/tags/Zope-3.2.1/src/zope/app' in 'lib/python/zope/app' I may have to munge 'zope/app' manually and check it in to get the merge done. Anybody have another suggestion? When replacing a subversioned directory with an external, you first need to remove the directory and commit it. Then, in a next revision, you add the external. I'm actually going the other direction, but I think I still need two transactions (first remove the external, then create and add tne directory) OK, I have merged the 'tseaver-retire_zpkg_branch' to the 2.9 branch, and the 'tseaver-zpkg_retire-2.10' branch to the 2.10 branch and the trunk. Because of the surgery involved in switching 'lib/python/zope/app' from an svn:external to a real directlry, your existing sandboxen may neeed some help in completing an 'svn up' (try removing the app directory, if it barfs there). Note that I did *not* repair the test failure which showed up on the 2.10 branch / trunk while I was in the middle of the merge -- it looks as though it might be related to the traversal changes Florent made today, and the failure is the same on the 2.10 branch / trunk *without* the merge as *with* it. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFErI5h+gerLs4ltQ4RAiMeAJwMcaKkQRt7/V4kf2aoKL6wBjrTpgCYgVHd fzEB9F5epsoQ83iUE/PR3w== =UfN3 -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6490 Blamelist: efge,tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6492 Blamelist: tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 6492 Blamelist: tseaver BUILD FAILED: failed compile sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope] Re: Problems modifying a global attribute of a portal tool.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JoseLuis de la Rosa Triviño wrote: I'm working with zope 2.9.1 in debug mode. I have a tool (especifically who_online) where I have created a new class attribute and some methods to modify an read it. A python script is called with a user's click and uses those methods. My problem is that some times when a user modifies the value of the attribute (a python dicctionary) the action takes no effect or it takes effect only in the current transaction. I'm still newbie in zope. The class attribute is called members_rooms and the methods are: def joinedRoom(self, member, room): Adds the member to the room's list of members. self.members_rooms[member] = room logger.info( %s joined room %s , member, room) def leftRoom(self, member, room): Removes the member from the room where it's supposed to be joined. if self.members_rooms.has_key(member): del self.members_rooms[member] logger.info( %s left the room %s , member, room) I get log info messages correctly and if I print the value of members_rooms before and after the statement (del or assignment) printed values are correct, but when I query the value of the attribute from a python script just after the transaction has finished, the attribute's value has not changed. May some body help me? What am I doing wrong? WhoOnline is a class (and portal tool) that inherits from SimpleItem, Implicit and PropertyManager. Make your 'members_rooms' attribute a PersistentMapping, instead of a dict, e.g.: from persistent.mapping import PersistentMapping class WhoOnline(SimpleItem, Implicit, PropertyManager): members_rooms = PersistentMapping() Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEq8gq+gerLs4ltQ4RAk82AJ9kL/Sef3R9fGUFOploqK6nd4fzOACbBE7F E1ivD6tN8bZgZ+RbAeKvz3M= =QM8j -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope installation woes
Hello Zopesters, Firstly, I must say that I'm completely new to this as I usually develop front-end stuff, so excuse my ignorance. Right... that's out of the way - I have been trying to install Zope on a server I have access to via SSH. I've followed the instructions for installing it from source found here: http://plone.org/documentation/how-to/setup-from-source I've got as far as making an instance and then attempting to start Zope. First of all I got this: [EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope /usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG('ZServer', severity[type], message) /usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % ( ...and then nothing :-| I tried running it again got the following: snipped output ZConfig.ConfigurationError: There was a problem starting a server of type HTTPS erver. This may mean that your user does not have permission to bind to the por t which the server is trying to use or the port may already be in use by another application. (Address already in use) The log file reports it's running, yet I cannot seem to access the start page from http://myserverip:8080. I don't know what to do next? Can anyone please help me out? :( R. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope installation woes
It looks like it is already running. Use top and look for a process called python. Did you try the url in a browser on port 8080? Jake ___ http://www.ZopeZone.com On Wed, July 5, 2006 10:31 am, russ said: Hello Zopesters, Firstly, I must say that I'm completely new to this as I usually develop front-end stuff, so excuse my ignorance. Right... that's out of the way - I have been trying to install Zope on a server I have access to via SSH. I've followed the instructions for installing it from source found here: http://plone.org/documentation/how-to/setup-from-source I've got as far as making an instance and then attempting to start Zope. First of all I got this: [EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope /usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG('ZServer', severity[type], message) /usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % ( ...and then nothing :-| I tried running it again got the following: snipped output ZConfig.ConfigurationError: There was a problem starting a server of type HTTPS erver. This may mean that your user does not have permission to bind to the por t which the server is trying to use or the port may already be in use by another application. (Address already in use) The log file reports it's running, yet I cannot seem to access the start page from http://myserverip:8080. I don't know what to do next? Can anyone please help me out? :( R. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Help on installing ZFSPath / LocalFS
Hi. I'm pretty much a newbie when it comes to using Zope. I'd like to install ZFSPath or LocalFS (something to get hands on to local files).. So, I've unpacked the files to Products dir. I'm supposed to create a ZFSPath object somewhere. How do I excactly do that? And, ultimately, how do I use ZFSPath once it's installed??? Sorry about this, I'm an ass.. -- View this message in context: http://www.nabble.com/Help-on-installing-ZFSPath---LocalFS-tf1895239.html#a5183268 Sent from the Zope - General forum at Nabble.com. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Zope installation woes
Hi Jake, Firstly I'll just mention a little bit more about the server. We have cPanel and Apache running. There's a number of accounts setup in cPanel and I've tried to access Zope via one of these urls (www.domain.tld:8080) but to no avail. I've also tried the IP of the server with no luck. I don't know what else to try now, as I mentioned before I'm completely new to all of this stuff so it's quite a steep learning curve. I also don't know what you mean by use top :S Thanks for your reply BTW. R. -Original Message- From: Jake [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 15:56 To: russ Cc: zope@zope.org Subject: Re: [Zope] Zope installation woes It looks like it is already running. Use top and look for a process called python. Did you try the url in a browser on port 8080? Jake ___ http://www.ZopeZone.com On Wed, July 5, 2006 10:31 am, russ said: Hello Zopesters, Firstly, I must say that I'm completely new to this as I usually develop front-end stuff, so excuse my ignorance. Right... that's out of the way - I have been trying to install Zope on a server I have access to via SSH. I've followed the instructions for installing it from source found here: http://plone.org/documentation/how-to/setup-from-source I've got as far as making an instance and then attempting to start Zope. First of all I got this: [EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope /usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG('ZServer', severity[type], message) /usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % ( ...and then nothing :-| I tried running it again got the following: snipped output ZConfig.ConfigurationError: There was a problem starting a server of type HTTPS erver. This may mean that your user does not have permission to bind to the por t which the server is trying to use or the port may already be in use by another application. (Address already in use) The log file reports it's running, yet I cannot seem to access the start page from http://myserverip:8080. I don't know what to do next? Can anyone please help me out? :( R. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope installation woes
At the o/s command prompt, type: ps -eLf You should see a listing which contains some zope/python entries if zope is running. If zope is not running try starting zope with the command: ./zopectl fg this should allow you to see any errors that are generated while zope tries to start up. hth Jonathan - Original Message - From: russ [EMAIL PROTECTED] To: [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 11:05 AM Subject: RE: [Zope] Zope installation woes Hi Jake, Firstly I'll just mention a little bit more about the server. We have cPanel and Apache running. There's a number of accounts setup in cPanel and I've tried to access Zope via one of these urls (www.domain.tld:8080) but to no avail. I've also tried the IP of the server with no luck. I don't know what else to try now, as I mentioned before I'm completely new to all of this stuff so it's quite a steep learning curve. I also don't know what you mean by use top :S Thanks for your reply BTW. R. -Original Message- From: Jake [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 15:56 To: russ Cc: zope@zope.org Subject: Re: [Zope] Zope installation woes It looks like it is already running. Use top and look for a process called python. Did you try the url in a browser on port 8080? Jake ___ http://www.ZopeZone.com On Wed, July 5, 2006 10:31 am, russ said: Hello Zopesters, Firstly, I must say that I'm completely new to this as I usually develop front-end stuff, so excuse my ignorance. Right... that's out of the way - I have been trying to install Zope on a server I have access to via SSH. I've followed the instructions for installing it from source found here: http://plone.org/documentation/how-to/setup-from-source I've got as far as making an instance and then attempting to start Zope. First of all I got this: [EMAIL PROTECTED] [~]# /usr/local/zope/instance3/bin/runzope /usr/local/zope/zope2.9.3/lib/python/ZServer/utils.py:33: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG('ZServer', severity[type], message) /usr/local/zope/zope2.9.3/lib/python/Signals/SignalHandler.py:39: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. zLOG.LOG('Z2', zLOG.BLATHER, Installed sighandler for %s % ( ...and then nothing :-| I tried running it again got the following: snipped output ZConfig.ConfigurationError: There was a problem starting a server of type HTTPS erver. This may mean that your user does not have permission to bind to the por t which the server is trying to use or the port may already be in use by another application. (Address already in use) The log file reports it's running, yet I cannot seem to access the start page from http://myserverip:8080. I don't know what to do next? Can anyone please help me out? :( R. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Zope installation woes
O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ I can't see anything relating to zope specifically running the zopect1 command results in this: [EMAIL PROTECTED] [/usr/local/zope/instance3/bin]# /usr/local/zope/instance3/bin/zopect1 fg -bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 16:15 To: russ; zope@zope.org Subject: Re: [Zope] Zope installation woes At the o/s command prompt, type: ps -eLf You should see a listing which contains some zope/python entries if zope is running. If zope is not running try starting zope with the command: ./zopectl fg this should allow you to see any errors that are generated while zope tries to start up. hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope installation woes
- Original Message - From: russ [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, July 05, 2006 11:37 AM Subject: RE: [Zope] Zope installation woes O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ These are not zope entries, you are looking for something like: zope 3158 1 3158 01 07:52 ?00:00:00 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/zdaemon/zdrun.py -S /usr/local/Zope-2.9.2/l zope 3159 3158 3159 05 07:52 ?00:00:02 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/Zope2/Startup/run.py -C /apps/zope/etc/zope I can't see anything relating to zope specifically running the zopect1 command results in this: [EMAIL PROTECTED] [/usr/local/zope/instance3/bin]# /usr/local/zope/instance3/bin/zopect1 fg -bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory in your local zope/bin directory you should have some script files like: runzope, runzope.bat and zopectl (this is what I have with zope 2.9.2 installation) If you do not have these files, then something is truly pooched. Here are the steps I used to install zope 2.9.2 (linux os) 1) download zope 2.9.2 tarball into /usr/local/src (I used wget) 2) tar -xzf the zope tarball (unpack it) 3) change directory (cd) to the new zope subdirectory (created by the tar command) 4) make sure you have python 2.4.2 (this is for zope 2.9.2, check what you need for zope 2.9.3). My python 2.4.2 is installed in /usr/local/bin and this directory is contained with the PATH environment variable (type echo $PATH at the command prompt - if the directory containing your python 2.x is not in PATH you will need to modify PATH) 5) at the command line enter: ./configure 6) at the command line enter: make 7) at the command line enter: make install(This will install zope in /usr/local/zope-2.9.x) Now you need to add a 'zope' user to your system (if you do not already have one) 8) cd /etc 9) groupadd zope (unless you already have a zope group defined) 10) useradd -g zope zope (this creates a zope user) 11) passwd zope (sets a password for the new user) 12) usermod -d /apps/zope zope (sets the home directory for the new user to /apps/zope) Now you need to create a zope instance: 13) change directory to /usr/local/zope-2.9.x/bin 14) su zope (change to the zope user you created earlier) 15) at the command line enter: /usr/local/bin/python mkzopeinstance.py (note: replace /usr/local/bin/python with the location of your python 2.4.x installation) You will be prompted for a zope instance home (i use /apps/zope), a username and a password (your zope admin account) 16) change directory to the new zope instance home (eg. cd /apps/zope) and you should see several subdirectories. 17) check the ownership of the directories/files - they should all be owned by zope and belong to the zope group. To change them enter: chown zope * (changes ownership); chgrp zope * (changes group) Now you need to make a couple of small changes to the zope.conf file: 18) cd /apps/zope/etc 19) edit the zope.conf file (save a copy first!) and change debug-mode to 'on' (optional) and change effective-user to 'zope' Now you need to start the zope instance: 20) cd /apps/zope/bin 21) ./zopectl start (or ./zopectl fg in case of errors during start up) HTH! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help on installing ZFSPath / LocalFS
Please, someone -- View this message in context: http://www.nabble.com/Help-on-installing-ZFSPath---LocalFS-tf1895239.html#a5185588 Sent from the Zope - General forum at Nabble.com. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope installation woes
russ wrote: O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ I can't see anything relating to zope specifically running the zopect1 command results in this: [EMAIL PROTECTED] [/usr/local/zope/instance3/bin]# /usr/local/zope/instance3/bin/zopect1 fg -bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory Hi russ, change zopect1 to zopectl :-) David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Zope installation woes
Well I've tried to follow your steps with the exception of point 15 (mkzopeinstance.py doesn't reside in my python directory, it's in the zope/bin folder). At the last stage I hit enter and got: bash-3.00$ ./zopectl start . daemon process started, pid=15601 And now what? http://www.domain.tld:8080 still produces nothing. :( -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 17:14 To: russ; zope@zope.org Subject: Re: [Zope] Zope installation woes - Original Message - From: russ [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, July 05, 2006 11:37 AM Subject: RE: [Zope] Zope installation woes O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ These are not zope entries, you are looking for something like: zope 3158 1 3158 01 07:52 ?00:00:00 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/zdaemon/zdrun.py -S /usr/local/Zope-2.9.2/l zope 3159 3158 3159 05 07:52 ?00:00:02 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/Zope2/Startup/run.py -C /apps/zope/etc/zope I can't see anything relating to zope specifically running the zopect1 command results in this: [EMAIL PROTECTED] [/usr/local/zope/instance3/bin]# /usr/local/zope/instance3/bin/zopect1 fg -bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory in your local zope/bin directory you should have some script files like: runzope, runzope.bat and zopectl (this is what I have with zope 2.9.2 installation) If you do not have these files, then something is truly pooched. Here are the steps I used to install zope 2.9.2 (linux os) 1) download zope 2.9.2 tarball into /usr/local/src (I used wget) 2) tar -xzf the zope tarball (unpack it) 3) change directory (cd) to the new zope subdirectory (created by the tar command) 4) make sure you have python 2.4.2 (this is for zope 2.9.2, check what you need for zope 2.9.3). My python 2.4.2 is installed in /usr/local/bin and this directory is contained with the PATH environment variable (type echo $PATH at the command prompt - if the directory containing your python 2.x is not in PATH you will need to modify PATH) 5) at the command line enter: ./configure 6) at the command line enter: make 7) at the command line enter: make install(This will install zope in /usr/local/zope-2.9.x) Now you need to add a 'zope' user to your system (if you do not already have one) 8) cd /etc 9) groupadd zope (unless you already have a zope group defined) 10) useradd -g zope zope (this creates a zope user) 11) passwd zope (sets a password for the new user) 12) usermod -d /apps/zope zope (sets the home directory for the new user to /apps/zope) Now you need to create a zope instance: 13) change directory to /usr/local/zope-2.9.x/bin 14) su zope (change to the zope user you created earlier) 15) at the command line enter: /usr/local/bin/python mkzopeinstance.py (note: replace /usr/local/bin/python with the location of your python 2.4.x installation) You will be prompted for a zope instance home (i use /apps/zope), a username and a password (your zope admin account) 16) change directory to the new zope instance home (eg. cd /apps/zope) and you should see several subdirectories. 17) check the ownership of the directories/files - they should all be owned by zope and belong to the zope group. To change them enter: chown zope * (changes ownership); chgrp zope * (changes group) Now you need to make a couple of small changes to the zope.conf file: 18) cd /apps/zope/etc 19) edit the zope.conf file (save a copy first!) and change debug-mode to 'on' (optional) and change effective-user to 'zope' Now you need to start the zope instance: 20) cd /apps/zope/bin 21) ./zopectl start (or ./zopectl fg in case of errors during start up) HTH! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope installation woes
- Original Message - From: russ [EMAIL PROTECTED] To: 'Jonathan' [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 1:24 PM Subject: RE: [Zope] Zope installation woes Well I've tried to follow your steps with the exception of point 15 (mkzopeinstance.py doesn't reside in my python directory, it's in the zope/bin folder). At the last stage I hit enter and got: bash-3.00$ ./zopectl start . daemon process started, pid=15601 And now what? http://www.domain.tld:8080 still produces nothing. That sounds like a good start! try ps -eLf at the command line, do you see the zope processes running? If your browser is running on the same machine try: http://localhost:8080 To see which ports zope is working with look at the file.../etc/zope.conf and look for two things: (1) http-server and (2) port-base (the zope.conf file contains comments which will tell you what you need to know). If you have apache running as a web server in front of zope you will need to configure apache (you can find info here: http://www.zope.org/Members/regebro/Zope_and_Apache) Good luck! Jonathan :( -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 17:14 To: russ; zope@zope.org Subject: Re: [Zope] Zope installation woes - Original Message - From: russ [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, July 05, 2006 11:37 AM Subject: RE: [Zope] Zope installation woes O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ These are not zope entries, you are looking for something like: zope 3158 1 3158 01 07:52 ?00:00:00 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/zdaemon/zdrun.py -S /usr/local/Zope-2.9.2/l zope 3159 3158 3159 05 07:52 ?00:00:02 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/Zope2/Startup/run.py -C /apps/zope/etc/zope I can't see anything relating to zope specifically running the zopect1 command results in this: [EMAIL PROTECTED] [/usr/local/zope/instance3/bin]# /usr/local/zope/instance3/bin/zopect1 fg -bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory in your local zope/bin directory you should have some script files like: runzope, runzope.bat and zopectl (this is what I have with zope 2.9.2 installation) If you do not have these files, then something is truly pooched. Here are the steps I used to install zope 2.9.2 (linux os) 1) download zope 2.9.2 tarball into /usr/local/src (I used wget) 2) tar -xzf the zope tarball (unpack it) 3) change directory (cd) to the new zope subdirectory (created by the tar command) 4) make sure you have python 2.4.2 (this is for zope 2.9.2, check what you need for zope 2.9.3). My python 2.4.2 is installed in /usr/local/bin and this directory is contained with the PATH environment variable (type echo $PATH at the command prompt - if the directory containing your python 2.x is not in PATH you will need to modify PATH) 5) at the command line enter: ./configure 6) at the command line enter: make 7) at the command line enter: make install(This will install zope in /usr/local/zope-2.9.x) Now you need to add a 'zope' user to your system (if you do not already have one) 8) cd /etc 9) groupadd zope (unless you already have a zope group defined) 10) useradd -g zope zope (this creates a zope user) 11) passwd zope (sets a password for the new user) 12) usermod -d /apps/zope zope (sets the home directory for the new user to /apps/zope) Now you need to create a zope instance: 13) change directory to /usr/local/zope-2.9.x/bin 14) su zope (change to the zope user you created earlier) 15) at the command line enter: /usr/local/bin/python mkzopeinstance.py (note: replace /usr/local/bin/python with the location of your python 2.4.x installation) You will be prompted for a zope instance home (i use /apps/zope), a username and a password (your zope admin account) 16) change directory to the new zope instance home (eg. cd /apps/zope) and you should see several subdirectories. 17) check the ownership of the directories/files - they should all be owned by zope and belong to the zope group. To change them enter: chown zope * (changes ownership); chgrp zope * (changes group) Now you need to make a couple of small changes to the zope.conf file: 18) cd /apps/zope/etc 19) edit the zope.conf file (save a copy first!) and change debug-mode to 'on' (optional) and change effective-user to 'zope' Now you need to start the zope instance: 20) cd /apps/zope/bin 21) ./zopectl start (or ./zopectl fg in case of errors during start up) HTH! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!
Re: [Zope] Trying to trap ConflictError
Jonathan wrote at 2006-7-4 13:46 -0400: ... The image objects stored in TemporaryStorage are never overwritten, edited etc (which is causing me some confusion as to why the conflict errors are occurring) The error message tells your that the conflict is not caused by the modification of the image but the container holding your image. BTreeFolder already do conflict resolution -- and reduce the conflict probability by about a factor of 30 to 100 (depending on type). However, if several threads should try to add elements with the same id, then the conflict resolution cannot work. Maybe, that happens in your case? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
- Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:28 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-4 13:46 -0400: ... The image objects stored in TemporaryStorage are never overwritten, edited etc (which is causing me some confusion as to why the conflict errors are occurring) The error message tells your that the conflict is not caused by the modification of the image but the container holding your image. BTreeFolder already do conflict resolution -- and reduce the conflict probability by about a factor of 30 to 100 (depending on type). However, if several threads should try to add elements with the same id, then the conflict resolution cannot work. Maybe, that happens in your case? The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. I am still investing, and have found errors like: 2006-07-04T14:48:12 ERROR ZODB.Connection Couldn't load state for 0x1c Traceback (most recent call last): File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 732, in setstate self._setstate(obj) File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 768, in _setstate p, serial = self._storage.load(obj._p_oid, self._version) File /usr/local/Zope-2.9.2/lib/python/tempstorage/TemporaryStorage.py, line 104, in load s=self._index[oid] KeyError: '\x00\x00\x00\x00\x00\x00\x00\x1c' in the event.log. From my googling research, it appears that these type of errors may be due to insufficient memory (but I am not sure and am still investigating to see if this is the cause of the conflict errors). Thanks to all for the suggestions and assistance! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Using sendmail on FC5 with Zope 2.8.7
Hi, I'm trying to get Mailhost to work on Fedora Core 5 with Zope 2.8.7. Sendmail is up and running on FC5, Mailhost is installed and set to localhost, port 25. However, nothing seems to happen when an e-mailable event occurs. I did not configure sendmail in anyway, it was the stock one on FC 5 install. I don't know where to begin as to how to get this to work. -- IV ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version
Ofer Weisglass wrote at 2006-7-5 01:38 +0300: ... I updated the python to the last version and this is what I get after the zope installation was over with no errors (already created instance, username and password) Traceback (most recent call last): ... setImplementation(C) File /usr/software/zope/lib/python/AccessControl/Implementation.py, line 51, in setImplementation from AccessControl import ImplC as impl File /usr/software/zope/lib/python/AccessControl/ImplC.py, line 30, in ? from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy ImportError: No module named ImplPython This looks like a missing installation step (generation of the C-extensions did not happen). Recheck the installation instructions and try again. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help on installing ZFSPath / LocalFS
insinjoori wrote at 2006-7-5 08:00 -0700: So, I've unpacked the files to Products dir. I'm supposed to create a ZFSPath object somewhere. How do I excactly do that? Maybe, you start reading the Zope Book (2.7 edition, online) and learn how objects are created in general. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using sendmail on FC5 with Zope 2.8.7
--On 5. Juli 2006 13:41:32 -0500 Ignacio Valdes [EMAIL PROTECTED] wrote: Hi, I'm trying to get Mailhost to work on Fedora Core 5 with Zope 2.8.7. Sendmail is up and running on FC5, Mailhost is installed and set to localhost, port 25. However, nothing seems to happen when an e-mailable event occurs. I did not configure sendmail in anyway, it was the stock one on FC 5 install. I don't know where to begin as to how to get this to work. This basically an off-topic question. You might check the mail logfiles to figure out about potential sendmail problems. Btw. are you sure that FC5 uses sendmail? FC5 used to use Exim. -aj pgpG04CCFUk2N.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using sendmail on FC5 with Zope 2.8.7
Looking at the running daemon's, it only shows sendmail, no exim. I have an O'Reilly book on sendmail that shall remain nameless. Thoughts on the book: unhelpful, daunting and examples don't work. Egads. -- IV On Wed, 05 Jul 2006 20:50:46 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On 5. Juli 2006 13:41:32 -0500 Ignacio Valdes [EMAIL PROTECTED] wrote: Hi, I'm trying to get Mailhost to work on Fedora Core 5 with Zope 2.8.7. Sendmail is up and running on FC5, Mailhost is installed and set to localhost, port 25. However, nothing seems to happen when an e-mailable event occurs. I did not configure sendmail in anyway, it was the stock one on FC 5 install. I don't know where to begin as to how to get this to work. This basically an off-topic question. You might check the mail logfiles to figure out about potential sendmail problems. Btw. are you sure that FC5 uses sendmail? FC5 used to use Exim. -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
Jonathan wrote: - Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:28 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-4 13:46 -0400: ... The image objects stored in TemporaryStorage are never overwritten, edited etc (which is causing me some confusion as to why the conflict errors are occurring) The error message tells your that the conflict is not caused by the modification of the image but the container holding your image. BTreeFolder already do conflict resolution -- and reduce the conflict probability by about a factor of 30 to 100 (depending on type). However, if several threads should try to add elements with the same id, then the conflict resolution cannot work. Maybe, that happens in your case? The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. I am still investing, and have found errors like: Jonathan, I wouldn't feel safe with that. Why not append a few random digits just to be safe? David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
- Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 3:00 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote: - Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:28 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-4 13:46 -0400: ... The image objects stored in TemporaryStorage are never overwritten, edited etc (which is causing me some confusion as to why the conflict errors are occurring) The error message tells your that the conflict is not caused by the modification of the image but the container holding your image. BTreeFolder already do conflict resolution -- and reduce the conflict probability by about a factor of 30 to 100 (depending on type). However, if several threads should try to add elements with the same id, then the conflict resolution cannot work. Maybe, that happens in your case? The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. I am still investing, and have found errors like: Jonathan, I wouldn't feel safe with that. Why not append a few random digits just to be safe? I am relatively new to python, so if there is something problematic with my use of the time module to create unique ids, please let me know! (just adding random digits seems a bit kludgy?!) Thanks, Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using sendmail on FC5 with Zope 2.8.7
Can you run sendmail with the -D (debug option) and then check the log file to see what sendmail thinks is happening? Jonathan - Original Message - From: Ignacio Valdes [EMAIL PROTECTED] To: Andreas Jung [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:58 PM Subject: Re: [Zope] Using sendmail on FC5 with Zope 2.8.7 Looking at the running daemon's, it only shows sendmail, no exim. I have an O'Reilly book on sendmail that shall remain nameless. Thoughts on the book: unhelpful, daunting and examples don't work. Egads. -- IV On Wed, 05 Jul 2006 20:50:46 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On 5. Juli 2006 13:41:32 -0500 Ignacio Valdes [EMAIL PROTECTED] wrote: Hi, I'm trying to get Mailhost to work on Fedora Core 5 with Zope 2.8.7. Sendmail is up and running on FC5, Mailhost is installed and set to localhost, port 25. However, nothing seems to happen when an e-mailable event occurs. I did not configure sendmail in anyway, it was the stock one on FC 5 install. I don't know where to begin as to how to get this to work. This basically an off-topic question. You might check the mail logfiles to figure out about potential sendmail problems. Btw. are you sure that FC5 uses sendmail? FC5 used to use Exim. -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 3:00 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote: - Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:28 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-4 13:46 -0400: ... The image objects stored in TemporaryStorage are never overwritten, edited etc (which is causing me some confusion as to why the conflict errors are occurring) The error message tells your that the conflict is not caused by the modification of the image but the container holding your image. BTreeFolder already do conflict resolution -- and reduce the conflict probability by about a factor of 30 to 100 (depending on type). However, if several threads should try to add elements with the same id, then the conflict resolution cannot work. Maybe, that happens in your case? The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. I am still investing, and have found errors like: Jonathan, I wouldn't feel safe with that. Why not append a few random digits just to be safe? I am relatively new to python, so if there is something problematic with my use of the time module to create unique ids, please let me know! (just adding random digits seems a bit kludgy?!) Thanks, Jonathan Hi Jonathan, I figured that if conflicts occur because mutliple processes are requesting some service at the same time +- delta then simply generating a file name based on the time was suspect. David David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
Jonathan wrote at 2006-7-5 14:40 -0400: ... The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. You should verify this. I doubt that you are right, as both the scheduling as well as the clock granularity are discrete (and rather coarse). I suggest you use either the mechanism of * the BrowserIdManager::it combines a time with a random number * the ZCatalog: it chooses per thread a random number and then assignes sequentially, until a conflict happens. Then it restarts (choosing a random number...) I am still investing, and have found errors like: 2006-07-04T14:48:12 ERROR ZODB.Connection Couldn't load state for 0x1c Traceback (most recent call last): File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 732, in setstate self._setstate(obj) File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 768, in _setstate p, serial = self._storage.load(obj._p_oid, self._version) File /usr/local/Zope-2.9.2/lib/python/tempstorage/TemporaryStorage.py, line 104, in load s=self._index[oid] KeyError: '\x00\x00\x00\x00\x00\x00\x00\x1c' in the event.log. Apparently, you have more than a single type of error... Are you the person that used try: ... except: ...? The non-deterministic inconsistencies caused by such constructs can look like what you decribe above... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
- Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Wednesday, July 05, 2006 3:22 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 3:00 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote: - Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:28 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-4 13:46 -0400: ... The image objects stored in TemporaryStorage are never overwritten, edited etc (which is causing me some confusion as to why the conflict errors are occurring) The error message tells your that the conflict is not caused by the modification of the image but the container holding your image. BTreeFolder already do conflict resolution -- and reduce the conflict probability by about a factor of 30 to 100 (depending on type). However, if several threads should try to add elements with the same id, then the conflict resolution cannot work. Maybe, that happens in your case? The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. I am still investing, and have found errors like: Jonathan, I wouldn't feel safe with that. Why not append a few random digits just to be safe? I am relatively new to python, so if there is something problematic with my use of the time module to create unique ids, please let me know! (just adding random digits seems a bit kludgy?!) Thanks, Jonathan Hi Jonathan, I figured that if conflicts occur because mutliple processes are requesting some service at the same time +- delta then simply generating a file name based on the time was suspect. Good thought! I had not considered problems arising from multiple processes. I have now included a random 3 digit suffix as part of the id generation routine. On the downside, I am still getting conflict errors (back to the investigation... sigh). Thanks David, Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
- Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 3:25 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-5 14:40 -0400: ... The id for the image object is generated by the following code: def MakeId(): time.sleep(.01) ts = string.replace(str(time.time()),'.', '') # remove floating point '.' char return ts[-10:] So there should not be any collision of ids. You should verify this. I doubt that you are right, as both the scheduling as well as the clock granularity are discrete (and rather coarse). I suggest you use either the mechanism of * the BrowserIdManager::it combines a time with a random number * the ZCatalog: it chooses per thread a random number and then assignes sequentially, until a conflict happens. Then it restarts (choosing a random number...) I am still investing, and have found errors like: 2006-07-04T14:48:12 ERROR ZODB.Connection Couldn't load state for 0x1c Traceback (most recent call last): File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 732, in setstate self._setstate(obj) File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 768, in _setstate p, serial = self._storage.load(obj._p_oid, self._version) File /usr/local/Zope-2.9.2/lib/python/tempstorage/TemporaryStorage.py, line 104, in load s=self._index[oid] KeyError: '\x00\x00\x00\x00\x00\x00\x00\x1c' in the event.log. Apparently, you have more than a single type of error... Are you the person that used try: ... except: ...? The non-deterministic inconsistencies caused by such constructs can look like what you decribe above... I was originally using the try/except to trap the conflict error, but as a result of being educated as to the futility of that approach I have since removed the try/except. I have also included a random 3 digit suffix in the id generation routine to address the issue of muliple processes potentially generating the same id. However, the conflict errors remain, so I am back to investigating... Thanks for the help, Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Trying to trap ConflictError
On 7/6/06, Jonathan [EMAIL PROTECTED] wrote: I am still investing, and have found errors like: 2006-07-04T14:48:12 ERROR ZODB.Connection Couldn't load state for 0x1c Traceback (most recent call last): File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 732, in setstate self._setstate(obj) File /usr/local/Zope-2.9.2/lib/python/ZODB/Connection.py, line 768, in _setstate p, serial = self._storage.load(obj._p_oid, self._version) File /usr/local/Zope-2.9.2/lib/python/tempstorage/TemporaryStorage.py, line 104, in load s=self._index[oid] KeyError: '\x00\x00\x00\x00\x00\x00\x00\x1c' in the event.log. From my googling research, it appears that these type of errors may be due to insufficient memory (but I am not sure and am still investigating to see if this is the cause of the conflict errors). TempoaryStorage.py has a few tuning constants. The above error reads as though RECENTLY_GC_OIDS_LEN is too small for your application. It may well be that the default tuning of TempoaryStorage does not match your application very well. It would be useful to try FileStorage to help decide on where to focus attention. If FileStorage behaves a lot better then that also suggests that TempoaryStorage is miss-tuned for your application. Cheers Michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Serious security problem with Zope 2
We have recently discovered that there are (still) very serious security problems with the integration of reStructured Text (docutils) into Zope 2. We have prepared a hot fix for this problem: http://www.zope.org/Products/Zope/Hotfix-2006-07-05/Hotfix-20060705/ See: http://www.zope.org/Products/Zope/Hotfix-2006-07-05/Hotfix-20060705/ README.txt for installation instructions. It is important to install this hotfix as soon as possible. This fix will disable the reStructuredText 'raw' directive. Much thanks goes to Tres Seaver for analyzing the problem and developing the hotfix! Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope installation woes
Apache's default port is 80. Have you tried that? (i haven't kept the earlier part of this thread, and I can't remember what you have tried). Do you have a rewrite rule set up in apache? (something like: RewriteRule ^/(.*) http://localhost:8080/$1 [P]) Don't give up! Once you have zoped you'll never go back ;-) Jonathan - Original Message - From: russtik [EMAIL PROTECTED] To: 'Jonathan' [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 7:30 PM Subject: RE: [Zope] Zope installation woes ps -eLf results show this: zope 15600 1 15600 01 18:14 ?00:00:00 /usr/bin/python /usr/ zope 15601 15600 15601 01 18:14 ?00:00:05 /usr/bin/python /usr/ I don't have physical access to the machine, so I don't know how to test port 8080 on localhost. I can't find anything in netstat -p that looks like it would relate to Zope either. The zope.conf is set to use 8080. So... any more ideas guys? Even though Apache is running I should still be able to test Zope though surely? R. -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 18:45 To: russ; zope@zope.org Subject: Re: [Zope] Zope installation woes - Original Message - From: russ [EMAIL PROTECTED] To: 'Jonathan' [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 1:24 PM Subject: RE: [Zope] Zope installation woes Well I've tried to follow your steps with the exception of point 15 (mkzopeinstance.py doesn't reside in my python directory, it's in the zope/bin folder). At the last stage I hit enter and got: bash-3.00$ ./zopectl start . daemon process started, pid=15601 And now what? http://www.domain.tld:8080 still produces nothing. That sounds like a good start! try ps -eLf at the command line, do you see the zope processes running? If your browser is running on the same machine try: http://localhost:8080 To see which ports zope is working with look at the file.../etc/zope.conf and look for two things: (1) http-server and (2) port-base (the zope.conf file contains comments which will tell you what you need to know). If you have apache running as a web server in front of zope you will need to configure apache (you can find info here: http://www.zope.org/Members/regebro/Zope_and_Apache) Good luck! Jonathan :( -Original Message- From: Jonathan [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 17:14 To: russ; zope@zope.org Subject: Re: [Zope] Zope installation woes - Original Message - From: russ [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, July 05, 2006 11:37 AM Subject: RE: [Zope] Zope installation woes O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ These are not zope entries, you are looking for something like: zope 3158 1 3158 01 07:52 ?00:00:00 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/zdaemon/zdrun.py -S /usr/local/Zope-2.9.2/l zope 3159 3158 3159 05 07:52 ?00:00:02 /usr/local/bin/python /usr/local/Zope-2.9.2/lib/python/Zope2/Startup/run.py -C /apps/zope/etc/zope I can't see anything relating to zope specifically running the zopect1 command results in this: [EMAIL PROTECTED] [/usr/local/zope/instance3/bin]# /usr/local/zope/instance3/bin/zopect1 fg -bash: /usr/local/zope/instance3/bin/zopect1: No such file or directory in your local zope/bin directory you should have some script files like: runzope, runzope.bat and zopectl (this is what I have with zope 2.9.2 installation) If you do not have these files, then something is truly pooched. Here are the steps I used to install zope 2.9.2 (linux os) 1) download zope 2.9.2 tarball into /usr/local/src (I used wget) 2) tar -xzf the zope tarball (unpack it) 3) change directory (cd) to the new zope subdirectory (created by the tar command) 4) make sure you have python 2.4.2 (this is for zope 2.9.2, check what you need for zope 2.9.3). My python 2.4.2 is installed in /usr/local/bin and this directory is contained with the PATH environment variable (type echo $PATH at the command prompt - if the directory containing your python 2.x is not in PATH you will need to modify PATH) 5) at the command line enter: ./configure 6) at the command line enter: make 7) at the command line enter: make install(This will install zope in /usr/local/zope-2.9.x) Now you need to add a 'zope' user to your system (if you do not already have one) 8) cd /etc 9) groupadd zope (unless you already have a zope group defined) 10) useradd -g zope zope (this creates a zope user) 11) passwd zope (sets a password for the new user) 12) usermod -d /apps/zope zope (sets the home directory for the new user to /apps/zope) Now you need to create a zope instance: 13) change directory to
Re: [Zope-DB] regarding zope
[EMAIL PROTECTED] wrote at 2006-7-5 18:56 +0530: i am developing a project using Zope 2.7.6-final, python 2.3.5 on debian linux. Wheneever i make changes in python script or any thing regarding project. it is not get effected. Are you sure, your Zope is running in debug mode? Otherwise, a restart is necessary that Zope sees a change. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db