[Zope-dev] Main repository on svn.zope.org now with fsfs backend
Hi all, Just got finished migrating the main repository on svn.zope.org away from the old BDB backend to a FSFS backend. Some quick tests show me that everything seems to be in order, including sending of commit messages. This means the repository is open for business again. 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 )
[Zope-dev] Zope tests: 7 OK, 1 Failed
Summary of messages to the zope-tests list. Period Sat Dec 24 12:01:01 2005 UTC to Sun Dec 25 12:01:01 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Test failures - Subject: FAILED : Zope-trunk Python-2.4.2 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:15:00 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003849.html Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:04:30 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003842.html Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:06:00 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003843.html Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:07:30 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003844.html Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:09:00 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003845.html Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:10:30 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003846.html Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:12:00 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003847.html Subject: OK : Zope-2_9-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Sat Dec 24 21:13:30 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003848.html ___ 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] Main repository on svn.zope.org now with fsfs backend
--On 25. Dezember 2005 12:48:38 +0100 Jens Vagelpohl [EMAIL PROTECTED] wrote: Hi all, Just got finished migrating the main repository on svn.zope.org away from the old BDB backend to a FSFS backend. Some quick tests show me that everything seems to be in order, including sending of commit messages. This means the repository is open for business again. All hail Jens, thanks! -aj pgpkFFMUtgovZ.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] Re: Directory structure on svn.zope.org
Andreas Jung wrote: The top-level directory structure on svn.zope.org appears a bit messy to me. There we have the folders for the large projects CMF, Zope, Zope3 and lots modules that possibly don't belong there. Wouldn't it make sense to move them into a dedicated Zope3-modules folder (or choose another name)? -1 Let's keep the SVN repo structure as flat as possible. Note that I think a project's name should be the dotted name of the Python package (if one such package exists), so it should be Products.CompositePage/ Products.PluginRegistry/ Products.PluggableAuthService/ Products.Zelenium/ instead of CompositePage/ PluginRegistry/ PluggableAuthService/ Zelenium/ Why? Because it's a pattern we're following with other package projects already: zope.file zope.formlib ... zope.testing Also, what is Zope-Products? Seems like it's a bag for historical baggage. In that case it can go because that baggage is still in revision history on older release branches... 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] [ZPublisher] specifiying 'charset' for the content-type header
Andreas Jung wrote: How will Zope know when _not_ to add the content-type header? Makes no sense to me. Either the application set the content-type header or Zope does it for you. Check HTTPResponse.py. OK. How will Zope tell if the charset is undefined and what does undefined mean in this context? The HTTP spec says that a http server *can* set the charset to make the encoding of the payload clear. That's what we are doing now. Not specifying the charset means for the browser: *guessing* the encoding which means the browser defaults to some unspecified default encoding. Yes, but we're essentially guessing too, right? :-S Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] [ZPublisher] specifiying 'charset' for the content-type header
--On 23. Dezember 2005 19:28:52 + Chris Withers [EMAIL PROTECTED] wrote: The HTTP spec says that a http server *can* set the charset to make the encoding of the payload clear. That's what we are doing now. Not specifying the charset means for the browser: *guessing* the encoding which means the browser defaults to some unspecified default encoding. Yes, but we're essentially guessing too, right? :-S No. Imagine a PythonScript that returns a unicode string. The ZPublisher converts the unicode string to latin1 (zpublisher_default_encoding). Most browsers will default Latin1 when they can't find the charset in the content-type header. When you configure the ZPublisher to convert output to utf-8 then browsers will still default to Latin1 although the output it utf-8. So we tell the browser which encoding the ZPubisher was using to produce the output. -aj pgpN5H2Xhl3my.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] Re: Leave the ivory tower now!
Bakhtiar A Hamid wrote: On 12/24/05, *Michael Haubenwallner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The batch limit is set to '300', limiting the display of a sorted result set. Here are numbers from the database: old style howtos : 1986 (created until 2003) new style howtos :251 (created after the transition to plone) new published howtos : 90 The 'closed group' dissolved a while ago. that's sad(?) anything came out of the group? i think we need to do to zope.org http://zope.org what we did to zope2. ignore and build. leave it as old.zope.org http://old.zope.org and link from the new site. happy holidays Hth, Michael Ignore and build , I agree too :-) Merry Christmas from Greece ! ___ 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 3.2.0 beta 2 released!
The Zope 3 development team is proud to announce Zope 3.2.0 beta 2. Zope 3 is the next major Zope release and has been written from scratch based on the latest software design patterns and the experiences of Zope 2. It is our opinion that Zope 3 is more than ready for production use, which is why we decided to drop the 'X' for experimental from the name. We will also continue to work on making the transition between Zope 2 and Zope 3 as smooth as possible. As a first step, Zope 2.8 includes Zope 3 features in the form of Five. This is a long term effort. We're not there yet. **You can't run Zope 2 applications in Zope 3.** Downloads http://zope.org/Products/Zope3 Installation instructions for both Windows and Un*x/Linux are now available in the top level 'README.txt' file of the distribution. The binary installer is recommended for Windows. Zope 3.2 requires Python 2.4.2 to run. You must also have zlib installed on your system. Most Important Changes Since 3.2b1 New features - Added an option to mkzopeinstance to create instances that use ZServer, rather than Twisted. - Changed the way returning large results is handled. Applications can now simply return files to the publisher. Bug Fixes - Added input buffering to the twisted integration - Fixed the plumbing in ZServer so that attempts to return large output efficiently using iterators can actually succeed. For a complete list of changes see the 'CHANGES.txt' file. Resources - Zope 3 Development Web Site:http://dev.zope.org/Zope3 - Zope 3 Dev Mailing List:http://mail.zope.org/mailman/listinfo/zope3-dev - Zope 3 Users Mailing List:http://mail.zope.org/mailman/listinfo/zope3-users - IRC Channel: #zope3-dev at irc.freenode.net Acknowledgments Thanks goes to everyone that contributed. Enjoy! The Zope 3 Development Team ___ 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] ZDaemon for wsgi server
David Pratt wrote: Hi I am looking at light wsgi servers to serve an app but want it to be started from command line and have the thread spun off so it stays running (instead of tying up a terminal until a interrupt is given). What's wrong with Zope 2 or 3? light is relative, I find Zope 2 light to work with 'cos so much is already there out of the box... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] List within a list - how to use in a page template
Cameron Beattie wrote: Thanks. I'm using a web service which returns the list. What do the calls to this web service look like? I resolved the problem by iterating through the returned list and populating a new list. I'm sure there's a better way, I just couldn't figure it out. Indeed :-S Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] More on understanding conflicts
Dennis Allison wrote: The issue here has had to do with session variables and their iteraction with the persistence mechanism and conflicts and multiple threads for the same session. Chris McDonough has pointed out that session variables can cause writes and write conflicts even if the only Zope level access is a read. Indeed, they have to track expirey and the like. This is why sessions are evil (tm) I thought MVCC works out of the box for Zope 2.8.4 which uses ZODB 2.3.4. Am I wrong? Nope, it works fine, we've seen all our read conflicts go away :-) Sorry, I wasn't all that clear when I had my epiphany about REQUEST and transactions. You said it much more clearly and precisely. Since conflict errors are discovered and managed when the publisher commits, there is not a whole lot one can do, in terms of code organization, to minimize the potential for conflicts. Oh, there's plenty, I can assure you ;-) Ditching your frames is the 1st place I'd start... any scenario where several frames/iframes/whatever try to manipulate the same session variable (ie: per user) is doomed to failure ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] FTP rights problem
Martin Koekenberg wrote: When a user connects with FTP to a Zope folder with only rights on that subfolder he can't create a folder or delete files. He has the Manager role and all the rights. If you can get a small, reproducible test case, it's a bug. Stick it in the collector... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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 )