[Zope-Checkins] SVN: Zope/trunk/doc/CHANGES.txt added BTreeFolder2
Log message for revision 30158: added BTreeFolder2 Changed: U Zope/trunk/doc/CHANGES.txt -=- Modified: Zope/trunk/doc/CHANGES.txt === --- Zope/trunk/doc/CHANGES.txt 2005-04-25 13:30:07 UTC (rev 30157) +++ Zope/trunk/doc/CHANGES.txt 2005-04-25 13:30:42 UTC (rev 30158) @@ -22,9 +22,17 @@ - Port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8 - - Including BTreeFolder2 with beta 2 + after Zope 2.8b1 +Features added + + - Included BTreeFolder2 + +Bugs fixed + + + Zope 2.8b1 (2005/04/24) Features added ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/ Move to ZODB 3.4a5, which fixes some problems in the new savepoint features.
Log message for revision 30171: Move to ZODB 3.4a5, which fixes some problems in the new savepoint features. Changed: _U Zope/trunk/lib/python/ _U Zope/trunk/utilities/ -=- Property changes on: Zope/trunk/lib/python ___ Name: svn:externals - zope svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.0-Zope-2.8-a3/src/zope BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/BTrees Persistencesvn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/Persistence persistent svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/persistent ThreadedAsync svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ThreadedAsync transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/transaction ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ZEO ZODB svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ZODB ZopeUndo svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/ZopeUndo + zope svn://svn.zope.org/repos/main/Zope3/tags/ZopeX3-3.0.0-Zope-2.8-a3/src/zope BTrees svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/BTrees Persistencesvn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/Persistence persistent svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/persistent ThreadedAsync svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/ThreadedAsync transactionsvn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/transaction ZEOsvn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/ZEO ZODB svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/ZODB ZopeUndo svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/ZopeUndo Property changes on: Zope/trunk/utilities ___ Name: svn:externals - ZODBTools svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a4/src/scripts + ZODBTools svn://svn.zope.org/repos/main/ZODB/tags/3.4.0a5/src/scripts ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-dev] Windows Binaries for 2.8b1
Hi, and again, I got to complain about building Zope on Windows. This time it's the 2.8 branch again with the 2.8b1 release. It looks like the WinBuilders aren't taken care for at all. The ZClass tests didn't got into the procedure of getting packaged so I had to copy those files manually for running the tests. Then the doctest module doesn't comply with platform independent handling of path names using 'variable.split(/)' and relatives. The now running tests fail pretty much in various places (Catalog, ZODB, ...) I'm not able to do any work on this as I'm lacking time. I took the job of building the releases as long as it's pressing the do it now button and running the tests seeing them pass. I did not take the job of cleaning up Zope for Windows. The WinBuilders are a really annoying thing, I'm glad they went away for Zope3. To notice: Zope 2.8a1 has not been available as Windows release and neither will be 2.8b1. You really want to blindly go forward for an RC not having a single external user running any 2.8 release at all? I'm pretty annoyed right now. Cheers, Christian -- gocept gmbh co. kg - schalaunische str. 6 - 06366 koethen - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 3496 30 99 112 - fax +49 3496 30 99 118 - zope and plone consulting and development signature.asc Description: This is a digitally signed message part ___ 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: Windows Binaries for 2.8b1
On Mon, 25 Apr 2005 10:54:23 +0200, Christian Theune [EMAIL PROTECTED] wrote: Hi, and again, I got to complain about building Zope on Windows. This time it's the 2.8 branch again with the 2.8b1 release. It looks like the WinBuilders aren't taken care for at all. The ZClass tests didn't got into the procedure of getting packaged so I had to copy those files manually for running the tests. Then the doctest module doesn't comply with platform independent handling of path names using 'variable.split(/)' and relatives. The now running tests fail pretty much in various places (Catalog, ZODB, ...) I'm not able to do any work on this as I'm lacking time. I took the job of building the releases as long as it's pressing the do it now button and running the tests seeing them pass. I did not take the job of cleaning up Zope for Windows. The WinBuilders are a really annoying thing, I'm glad they went away for Zope3. To notice: Zope 2.8a1 has not been available as Windows release and neither will be 2.8b1. You really want to blindly go forward for an RC not having a single external user running any 2.8 release at all? I'm pretty annoyed right now. Cheers, Christian I wanted to look a bit into this, but quickly ran into problems. I checked out WinBuilders and Zope 2.8. I was easily able to use inst/configure.py and nmake to compile and install Zope. But how do I generate the Zope.tgz needed for WinBuilders? Will WinBuilders work with InnoSetup 5.0.8? Regards, Florian Schulze ___ 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] Re: Windows Binaries for 2.8b1
Am Montag, den 25.04.2005, 12:21 +0200 schrieb Florian Schulze: I wanted to look a bit into this, but quickly ran into problems. I checked out WinBuilders and Zope 2.8. I was easily able to use inst/configure.py and nmake to compile and install Zope. But how do I generate the Zope.tgz A tar-packed source checkout is ok. needed for WinBuilders? Will WinBuilders work with InnoSetup 5.0.8? Not AFAIK. Cheers, CHristian -- gocept gmbh co. kg - schalaunische str. 6 - 06366 koethen - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 3496 30 99 112 - fax +49 3496 30 99 118 - zope and plone consulting and development signature.asc Description: This is a digitally signed message part ___ 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] ZEO, FastCGI and Shibboleth
Hey Zope-Dev, We're currently in the middle of a UK JISC funded project to evaluate the use of Shibboleth in authenticating access to electronic learning resources in a Medical Education environment... we use Zope and ZEO extensively already, in providing an online learning environment, personal diaries and progress portfolios and many other aspects of the MB BS degree scheme here at Newcastle. I've been looking at the ways in which others have 'shibbolized' their Zope systems... and most (well, the only ones I can find any technical documentation on) have used the Apache + FastCGI approach, along with the RemoteUserFolder product. I've already had test infrastructure in place and have tested with client side certificates in place of a working Shibboleth server (passing the Client cert CN as the remote user variable) and everything works rather well. The problem I'm facing is that the vast majority of the services we offer are hosted on multiple ZEO nodes, behind a load balancing front end server. This was a completely new infrastructure put in place less than a year ago - replacing a monolithic (and ageing!) Sun Enterprise system... Each node is lightweight, hosting only a ZEO instance... a physically separate Apache server is used very rarely, and mainly only for serving static content (static content URLs are caught by the load balancer and sent off to Apache)... this setup has given us excellent performance, and reducing Apache to a static content serving role has simplified things greatly... so we are reticent to change this. The only way I can see the Apache/FastCGI/ModShibboleth and Zope/RemoteUserFolder setup working, is if each ZEO instance has its own Apache server sitting in front of it which is something we have moved away from for obvious reasons. Has anyone any thoughts about how to go about shibboleth enabling a whole host of ZEO instances... without each one having an Apache server sitting in front of it? Or is there an alternative method out there that perhaps is not widely known? I know Zope4EDU is enabled, out of the box, but the licensing costs are simply not affordable for the number of hosts (6 discrete hosts), sites (at least half a dozen) and cpu's (12/14+) that we would be using... Regards -John John Snowdon - IT Support Specialist -==- School of Medical Education Development Faculty of Medical Sciences Computing University of Newcastle ___ 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: [Zope-Coders] BTreeFolder2 for Zope 2.8?
Andreas Jung [EMAIL PROTECTED] wrote: Any objections to move BTreeFolder2 into the Zope core for Zope 2.8? BTF is widely used in the Zope, CMF Plone world and it would not hurt to ship it with Zope. +1! Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, 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: [Zope-Coders] BTreeFolder2 for Zope 2.8?
--On Montag, 25. April 2005 15:13 Uhr +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Andreas Jung [EMAIL PROTECTED] wrote: Any objections to move BTreeFolder2 into the Zope core for Zope 2.8? BTF is widely used in the Zope, CMF Plone world and it would not hurt to ship it with Zope. +1! Done :) -aj pgpiTGas2bwVu.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 )
[Zope-dev] Data manager interface -- tpc_begin and other changes
This is for people who've implemented ZODB data managers. Data managers are components that manage persistent data under transaction control, We've recently tried to clean up and document the data-manager interfaces. In addition, over the weekend, I implemented savepoints and was able to simplify the interfaces quite a bit. See IDataManager and ISavePointDatamanager in: http://svn.zope.org/ZODB/trunk/src/transaction/interfaces.py?view=markup In particular, note that: - The subtransaction APIs have disappeared fro data managers, and - tpc_begin no longer takes a second subtransaction argument. I *could* try to provide support for data managers with tpc_begin taking 2 arguments, but I'm guessing that I don't need to. I'm guessing that no one has written data managers that require a second argument. If this is not true and you have a data manager that requires a second argument that I need to support, please let me know. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://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] RAMcache and container vs. context
Sorry for comming late into the fray :-) Em Qui, 2005-04-21 às 19:46 -0400, Paul Winkler escreveu: On Fri, Apr 22, 2005 at 12:27:18AM +0200, Stefan H. Holek wrote: Note that aq_parent() gives you the URL parent, not the container. I see no way around that as the return value of a script may well depend on its context. Yes, it may, agreed. Thanks much for pointing out the relevant code, at least now I understand what's happening. But I still would like to argue against this behavior: There *is* an easy alternative, and that's to put one or more of the many location-related request variables into the cache manager's configuration. This alternative won't help you when: * the pythonscript is sensitive to the context AND * it is called w/ 2 or more different contexts on the same request An artificial example I can come up w/ from the top of my head: Suppose you have a folder w/ an index_html that displays information about it's subfolders that is calculated by an expensive script and you want to cache the results of this script, you'd go: ul li tal:repeat=subfolder python: here.objectValues('Folder') Folder span tal:content=subfolder/title_or_id contains span tal:content=subfolder/expensively_calculate_shruberries shruberries. /li /ul Then you'd go and RAMCache expensively_calculate_shruberries But if we implement the change you're suggesting, then this page would list the same number of shruberries of the first subfolder for all of them. -1 from me For a related annoyance, see: http://www.zope.org/Collectors/CMF/343 This annoyance is indeed related, but the proper fix is for FSPythonScript to have a ZCacheable_manage page that takes into account the fact that it's usually part of a portal_skins setup and deal with it. Alternativelly, portal_skins should provide the functionality of expiring RAMCached subitems. -- Leonardo Rochael Almeida [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: 2.8.0b1 issues with plone 2.0.5
Tim Hicks wrote: Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site' (2.0.5). The plone site actually did get added, but here's what I got as well: For the notes: Latest versions of Plone 2.1 and CMF 1.4 are mostly working with Zope 2.8. There are some issues due some changes in the ZCatalog api. Christian ___ 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] Re: 2.8.0b1 issues with plone 2.0.5
On Apr 25, 2005, at 20:46, Christian Heimes wrote: Tim Hicks wrote: Apologies if this is already known about... I just installed 2.8.0b1 (using python 2.3.5), fired it up, then tried to add a 'plone site' (2.0.5). The plone site actually did get added, but here's what I got as well: For the notes: Latest versions of Plone 2.1 and CMF 1.4 are mostly working with Zope 2.8. There are some issues due some changes in the ZCatalog api. Christian, could you comment on this issue and let me know what the status is: http://www.zope.org/Collectors/CMF/321 Thanks! jens ___ 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] RAMcache and container vs. context
On Mon, Apr 25, 2005 at 03:19:42PM -0300, Leonardo Rochael Almeida wrote: Sorry for comming late into the fray :-) (snip) This alternative won't help you when: * the pythonscript is sensitive to the context AND * it is called w/ 2 or more different contexts on the same request An artificial example I can come up w/ from the top of my head: Suppose you have a folder w/ an index_html that displays information about it's subfolders that is calculated by an expensive script and you want to cache the results of this script, you'd go: ul li tal:repeat=subfolder python: here.objectValues('Folder') Folder span tal:content=subfolder/title_or_id contains span tal:content=subfolder/expensively_calculate_shruberries shruberries. /li /ul Then you'd go and RAMCache expensively_calculate_shruberries But if we implement the change you're suggesting, then this page would list the same number of shruberries of the first subfolder for all of them. -1 from me OK, and now that you've said all that, -1 from me as well; I think the idiom you describe is very common. That's why I like to discuss things on the list before filing collector items :-) I kinda wish the RAMCache manager allowed other things than REQUEST variables for differentiation. Arbitrary TALES expressions would be nice. Then we could get rid of this hard-coded gunk and get the same effect by having context/getPhysicalPath as one of the expressions. But of course then you'd have the opportunity to kill your cache performance by making the expressions too expensive. Ah well, TANSTAAFL and all that. I'll probably just drop the idea. For a related annoyance, see: http://www.zope.org/Collectors/CMF/343 This annoyance is indeed related, but the proper fix is for FSPythonScript to have a ZCacheable_manage page that takes into account the fact that it's usually part of a portal_skins setup and deal with it. Alternativelly, portal_skins should provide the functionality of expiring RAMCached subitems. Of those, I'd prefer the latter approach. Added this as a comment to #343. Thanks for the valuable input! -- Paul Winkler http://www.slinkp.com ___ 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] Windows Binaries for 2.8b1
[Christian Theune] and again, I got to complain about building Zope on Windows. This time it's the 2.8 branch again with the 2.8b1 release. It looks like the WinBuilders aren't taken care for at all. AFAIK, nobody looks at WinBuilders between releases. It's traditionally been the job of whoever builds the Windows installer to sort out whatever troubles WinBuilders has gotten into since the last release. Certainly most Linux contributors aren't even aware of WinBuilder's existence. The ZClass tests didn't got into the procedure of getting packaged so I had to copy those files manually for running the tests. Then the doctest module doesn't comply with platform independent handling of path names using 'variable.split(/)' and relatives. The now running tests fail pretty much in various places (Catalog, ZODB, ...) What exactly do you do to run tests? This is exactly what I do: svn up python setup.py build_ext -i python test.py -vv --all The same two tests have been failing on Windows that way since last October, but all other tests pass. BTW, I don't have a guess about what your doctest complaint is. Since, e.g., all the doctest-based tests _do_ pass from a checkout, hard to guess what you're saying there. It's documented that, e.g., relative paths passed to DocFileSuite must use '/' as the path separator, and AFAIK all the code that's checked in does do that. I don't know of any other piece of doctest that cares about path separators. I'm not able to do any work on this as I'm lacking time. I took the job of building the releases as long as it's pressing the do it now button Or in the case of WinBuilders, a few dozen buttons, shell scripts, makefiles, and tricks building on 1.6 gigabytes of Cygwin code wink. and running the tests seeing them pass. I did not take the job of cleaning up Zope for Windows. The WinBuilders are a really annoying thing, I'm glad they went away for Zope3. Came with costs too, though. For example, Zope3 on Windows doesn't include Python, doesn't include the Python Windows extensions, and comes with no support for running as a Windows service. You might think that people who value that stuff would contribute something toward making it happen, but in project after project in the Open Source world it's difficult to attract Windows contributors. To notice: Zope 2.8a1 has not been available as Windows release and neither will be 2.8b1. You really want to blindly go forward for an RC not having a single external user running any 2.8 release at all? I suspect it's worse than just that. When the two tests in collector 1728 started failing last October on Windows, I noted at the time that FYI, on WinXP, Zope 2.8 appears to use localhost no matter what ip-address is set to in zope.conf. No reason to suspect that got better, since the two failing tests that inspired that little investigation are still failing. I'm pretty annoyed right now. Cheers, I just liked the contrast in those two lines wink. ___ 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] Windows Binaries for 2.8b1
LOL -- the attempt to send my last msg to Christian from my gmail account got blocked: This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: [EMAIL PROTECTED] Technical details of permanent failure: PERM_FAILURE: SMTP Error (state 9): 553 5.3.0 Spam blocked see: http://spamcop.net/bl.shtml?64.233.184.203 - Original message - Received: by 10.54.47.20 with SMTP id u20mr2106929wru; Mon, 25 Apr 2005 13:37:01 -0700 (PDT) Received: by 10.54.46.75 with HTTP; Mon, 25 Apr 2005 13:37:01 -0700 (PDT) Message-ID: [EMAIL PROTECTED] Date: Mon, 25 Apr 2005 16:37:01 -0400 From: Tim Peters [EMAIL PROTECTED] Reply-To: Tim Peters [EMAIL PROTECTED] To: Christian Theune [EMAIL PROTECTED] Subject: Re: [Zope-dev] Windows Binaries for 2.8b1 Cc: zope-dev@zope.org - Message truncated - You should really be using SpamBayes 0.9 wink. ___ 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] Raw-input control for input widgets
I'd like to have more control over input widgets. I'd like to have a way to get, set, and clear their raw input. The main use case for this is to be able to store unprocessed raw inputs: - in wizards or multi-page forms - to allow a user to leave a task and return to it later A secondary use case is to allow inputs to be cleared so that user inputs aren't displayed after a form is redisplayed after acting on previous inputs. I believe we discussed this a couple of years ago, but nothing was ever done. Thoughts? Unfortunately, I don't think we can do anything for this before 3.2. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://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 )
[Zope-dev] Re: Raw-input control for input widgets
Sorry, wrong list, although, with Zope 2.8, including Zope 3, I suppose it applies. Hm, I suppose we should be thinking about folding Zope 3 development discussion back into zope-dev. Jim Jim Fulton wrote: I'd like to have more control over input widgets. I'd like to have a way to get, set, and clear their raw input. The main use case for this is to be able to store unprocessed raw inputs: - in wizards or multi-page forms - to allow a user to leave a task and return to it later A secondary use case is to allow inputs to be cleared so that user inputs aren't displayed after a form is redisplayed after acting on previous inputs. I believe we discussed this a couple of years ago, but nothing was ever done. Thoughts? Unfortunately, I don't think we can do anything for this before 3.2. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://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] Re: Raw-input control for input widgets
On Monday 25 April 2005 17:56, Jim Fulton wrote: Hm, I suppose we should be thinking about folding Zope 3 development discussion back into zope-dev. Please let's not do this. There is 95% mail traffic on Zope-Dev I am not interested in, but 95% on Zope3-Dev that is of value to me. I think it would be premature to merge the lists again. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ 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] Windows Binaries for 2.8b1
Tim Peters [EMAIL PROTECTED] wrote: LOL -- the attempt to send my last msg to Christian from my gmail account got blocked: This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: [EMAIL PROTECTED] Technical details of permanent failure: PERM_FAILURE: SMTP Error (state 9): 553 5.3.0 Spam blocked see: http://spamcop.net/bl.shtml?64.233.184.203 Yeah this goes to show that you have to be extremely careful in choosing your RBL sources... And that spamcop is definitely not a good one. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, 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 )
Re: [Zope] How to convert Zope instance charset?
Monday, April 25, 2005, 5:34:04 AM, Andreas Jung wrote: One last note from myside. I have experiences with unicode since over 7 years while working with multilingual documents in the e-publishing business. It is good practice to perform *any* unicode related work *only* on unicode datatypes (Python unicode strings!!!) and *not* some byte-encoded unicode strings as utf8 or whatever. These encodings should only be used on the output level when presenting unicode data to the user - either through-the-web, as export format etc. This is a strong advice you should follow. As someone who works often with Java I absolutely agree with it. Just I don't know how to do it with Zope/Plone/other 3rd party products (not written by me), since they use not unicode strings. I don't know, maybe it can be specified for Python that it uses unicode for plain strings as well, but anybody has successfully done that with Zope? Like, what about the C parts of Zope then? -aj -- Best regards, Daniel Dekany ___ 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] How to convert Zope instance charset?
--On Montag, 25. April 2005 10:42 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: As someone who works often with Java I absolutely agree with it. Just I don't know how to do it with Zope/Plone/other 3rd party products (not written by me), since they use not unicode strings. I don't know, maybe it can be specified for Python that it uses unicode for plain strings as well, but anybody has successfully done that with Zope? Like, what about the C parts of Zope then? Well back in the history of Zope there was only ascii and Python had no unicode support. Unicode support moved into Zope over time. Some parts are still having problems and these problems will never be solved completely. The sources are just too old. But there is usually a good way to get around a particular problem. Zope 3 in contrast uses Unicode everywhere...so it is clean by design. Unfortunately there is no magic treat-all-my-strings-as-unicode-strings in Python. So if you still have a specific problem ask again and we might help. In your case it should be easy to convert your utf8 data to unicode strings and sort then using the existing methods. Andreas pgpWZs3SlrRkC.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 )
[Zope] Wanted Support For Communication Server Works with/on Zope
Hello dear zope community, I am Birol from Istanbul Technical University (ITU) in Istanbul-Turkey. I am a new Zope user and don't know so much about Zope and its products. I work with Zope on Linux and also use Python. I need a communication server that works with/on Zope like Flash Communication Server. I have been searched the internet since last week but couldn't get enough information about this. I want an Open Source communication server program like that what Flash Communication Server does. If you help me about this subject, I would be very happy, I wait your answers. Thank you for your interests. Birol BIÇAKLI ___ 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] manage_edit for Page Templates
hi. there is a manage_edit() to modify the contents of a DTML document. is there anything similar for page templates? i tried manage_edit() on a page template and i get an attribute error for manage_edit... the document_src() method works though thanks rushabh ___ 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] manage_edit for Page Templates
--On Montag, 25. April 2005 16:23 Uhr +0530 Rushabh Mehta [EMAIL PROTECTED] wrote: hi. there is a manage_edit() to modify the contents of a DTML document. is there anything similar for page templates? i tried manage_edit() on a page template and i get an attribute error for manage_edit... the document_src() method works though Sometimes it helps when you look at the sources - pt_edit() :-) -aj pgpqqnaPgq6MV.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] manage_edit for Page Templates
On 25/04/05, Rushabh Mehta [EMAIL PROTECTED] wrote: hi. there is a manage_edit() to modify the contents of a DTML document. is there anything similar for page templates? i tried manage_edit() on a page template and i get an attribute error for manage_edit... the document_src() method works though thanks rushabh A quick look at zope-2.7.4/lib/python/Products/PageTemplates/PageTemplate.py gives me this: def pt_edit(self, text, content_type): Where text is the new content, and content_type is self explanatory. -- Phillip Hutchings http://www.sitharus.com/ [EMAIL PROTECTED] / [EMAIL PROTECTED] ___ 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] manage_edit for Page Templates
thanks a lot, that works well... ill make it a point to hunt the sources, now that i know where to look :-)On 4/25/05, Phillip Hutchings [EMAIL PROTECTED] wrote:On 25/04/05, Rushabh Mehta [EMAIL PROTECTED] wrote: hi. there is a manage_edit()to modify the contents of a DTML document. is there anything similar for page templates? i tried manage_edit() on a page template and i get an attribute error for manage_edit... the document_src() method works thoughthanksrushabhA quick look atzope-2.7.4/lib/python/Products/PageTemplates/PageTemplate.py gives methis:def pt_edit(self, text, content_type): Where text is the new content, and content_type is self explanatory.--Phillip Hutchingshttp://www.sitharus.com/[EMAIL PROTECTED] / [EMAIL PROTECTED]___ 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] How can I do audio/video streaming between users?
I want to do communication between users who want to do voice and video conferencing. Is there any program that can do this? ___ 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] How can I do audio/video streaming between users?
--On Montag, 25. April 2005 12:49 Uhr + Birol BI«AKLI [EMAIL PROTECTED] wrote: I want to do communication between users who want to do voice and video conferencing. Is there any program that can do this? That's unlikely a task for Zope :-) -aj pgpD6DvtzpqXs.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] The Zope Book
On Fri, Apr 08, 2005 at 06:58:31PM +0200, Dieter Maurer wrote: Lennart Regebro wrote at 2005-4-8 10:59 +0200: ... On Apr 8, 2005 8:48 AM, Chris Withers [EMAIL PROTECTED] wrote: ... Which The Zope Book are you referring to? The 2.6 one on Zope.org? The 2.7 one on Plope.com? The 3.whatever one somewhere-I-don't-know? I would expect it to be featured, that is mentioned as a recommended practice, in a Zope2.9 book, should one appear. I also thonk that with 2.8 a 2.8 book should be released, which main feature could be to move the ZClass part to an appendix. Indead, something along this line... Considering that we still have not finished the 2.7 edition of the book, I find it very unlikely that we will manage to get something out in sync with the first zope 2.8 release. Anyone who wishes to help us edit the book is encouraged to visit http://plope.com/Books/zb_signup -- Paul Winkler http://www.slinkp.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 )
[Zope] high loads, more threads, spinning wheels
I've been doing some simple load tests on a zope application, and I've found when i increase the zserver-threads in zope.conf very much the zope server goes into some sort of cycle where it eats 100% cpu and refuses to any future requests until restarted. The load test is simply a small threaded python script that flings up to 50 simultaneous random queries at the zope app. (The app is basically a search engine, using tsearch2 on postgresql... the tester flings random words at it as arguments; everything is dynamic for this test, no ram-cache objects, etc -- the database queries themselves seem to maintain very quick responses, the server seems to bog down more in the template rendering, or whatever else, after the data is returned). The zserver is behind apache (using mod_rewrite proxy). The single zserver is using a ZEO server (via localhost) for storage. The test seems to run okay with up to around 7 or 8 threads; the more threads are added the sooner the server seems to gum up. 10 is a bit flaky. Sometimes the tests fail, some complete (around 5000 requests). 12 more consistently, and sooner, gets stuck. And so on. I've twiddled with various config file settings such as the various cache settings and whatnot; not really knowing what they are, i tend to just increase them and see what happens. I'm wondering if someone who knows the internals more might have some idea what's going on here. Or any tips on how to debug what zope is doing when it gets into this state. This is Zope 2.7.5 (on FreeBSD, Python 2.3.4). -- Tim Middleton | Vex.Net| I have lived through whole tragedies [EMAIL PROTECTED] | VexTech.ca | without speaking a word. --Dost. (GC) ___ 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] high loads, more threads, spinning wheels
Tim Middleton zope@zope.org wrote: I'm wondering if someone who knows the internals more might have some idea what's going on here. Or any tips on how to debug what zope is doing when it gets into this state. You can use DeadlockDebugger. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ 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] high loads, more threads, spinning wheels
On Apr 25, 2005, at 17:46, Tim Middleton wrote: I've been doing some simple load tests on a zope application, and I've found when i increase the zserver-threads in zope.conf very much the zope server goes into some sort of cycle where it eats 100% cpu and refuses to any future requests until restarted. To put it in a very simple way, you should not tweak the threads setting unless you really know what you are doing. If your goal is performance the usual way of going about that is to run ZEO and add ZEO clients as needed. You're bumping into the very simple fact that there are two items interacting badly: Threads and the connections in the Zope database connection pool. A thread, under normal circumstances, can only do work if it has a connection to work with, and wwill only release the connection when the request is finished. There are 7 connections in the pool by default. jens ___ 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] high loads, more threads, spinning wheels
Which, BTW, is one of the coolest things ever! Still trying to figure out what it all means but it has really helped us to find things that were slowing us down. THANKS THANKS THANKS to Florent!! Allen Florent Guillaume wrote: Tim Middleton zope@zope.org wrote: I'm wondering if someone who knows the internals more might have some idea what's going on here. Or any tips on how to debug what zope is doing when it gets into this state. You can use DeadlockDebugger. Florent ___ 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 Starting Error
Jonathan Goldberg wrote: Can someone please help me resolve the following error: Error: The object named by DBTab.ClassFactories.autoClassFactory could not be imported (line 903 in file:///home/jgoldberg/my_zope/etc/zope.conf) For help, use /opt/Zope-2.7/lib/python/Zope/Startup/zopectl.py -h Thank you, Jonathan Goldberg ___ 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 ) you probably are not using the same python you have been using to install Zope Robert ___ 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] Wanted Support For Communication Server Works with/on Zope
Birol BIÇAKLI wrote: Hello dear zope community, I am Birol from Istanbul Technical University (ITU) in Istanbul-Turkey. I am a new Zope user and don't know so much about Zope and its products. I work with Zope on Linux and also use Python. I need a communication server that works with/on Zope like Flash Communication Server. I have been searched the internet since last week but couldn't get enough information about this. I want an Open Source communication server program like that what Flash Communication Server does. If you help me about this subject, I would be very happy, I wait your answers. Thank you for your interests. Birol BIÇAKLI ___ 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 ) Birol, if you tell us what Flash Communication Server is, we can help you much better. Robert ___ 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] Wanted Support For Communication Server Works with/on Zope
Why use XMLRPC with Flash http://www.zope.org/Members/logik/WhyUseXMLRPC CMF FlashMovie content type http://www.zope.org/Members/sergeyv/CMFFlashMovie Zopemag - Building Web Applications with Flash and Zope (subsrciption) http://www.zopemag.com/Issue009/Section_Articles/article_ZopeAndFlash.html AMF::Perl - Flash Remoting in Perl and Python http://www.simonf.com/flap/ On 4/26/05, robert [EMAIL PROTECTED] wrote: Birol BIÇAKLI wrote: Hello dear zope community, I am Birol from Istanbul Technical University (ITU) in Istanbul-Turkey. I am a new Zope user and don't know so much about Zope and its products. I work with Zope on Linux and also use Python. I need a communication server that works with/on Zope like Flash Communication Server. I have been searched the internet since last week but couldn't get enough information about this. I want an Open Source communication server program like that what Flash Communication Server does. If you help me about this subject, I would be very happy, I wait your answers. Thank you for your interests. Birol BIÇAKLI ___ 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 ) Birol, if you tell us what Flash Communication Server is, we can help you much better. Robert ___ 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] How can I make class variables store in the zodb??
Title: How can I make class variables store in the zodb?? One thing we have noticed in our development of a plone archetype product is that archetype fields get stored in the zodb, whereas class variables do not (which is fine). Plone portal tools have their properties stored in the zodb. How do you get variables to store their data in the zodb?? If I wanted to store an archetype class variable to the zodb how could I do it besides making it an archetype field?? Peter Millar Technical Project Manager Parasyn Controls Pty Ltd [EMAIL PROTECTED] T: 61 7 3396 6388 F: 61 7 3396 6299 45 Millenium Place, Tingalpa QLD 4173 PO Box 400 Cannon Hill QLD 4170 Australia www.parasyn.com.au ___ 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] Looking for a Python / Zope Programmer in Peru
Sorry if it is not the right list for this but we are looking for two Python / Zope programmers for a one year contract in Lima. If you know anyone interested please send your resumes off-list. Thanks Remy Pinsonnault ___ 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 )