[Zope-Annce] Silva 2.0 Released
23 may 2007 – Infrae has released version 2.0 of the Silva content management system. This architectural release targets Zope 2.10 and higher and takes advantage of much of the new technology. Infrae has striven to keep Silva 2.0 almost feature identical to Silva 1.6, while refactoring and rebuilding large parts of the system ‘under the hood’, using advances in Zope and Five infrastructure. This major reworking should especially help extension developers by expanding the set of tools available to them. Changes in Silva 2.0 * Major refactoring of Silva to work with Zope 2.10 and up. * The Silva Find extension has been included in the Silva core. Many thanks to all who contributed. See HISTORY.txt in the Silva core package for detailed information about changes in Silva 2.0. For developer changes, see doc/developer_changes. Also see the changes in components such as Silva Metadata, External Sources, etc. What is Silva? Silva is an enterprise-class CMS designed for large organizations that manage multiple or complex websites. Content is stored in clean and future-proof XML, independent of layout and presentation. Features include a multi-version workflow system, XSLT rendering support, content reuse in multiple publications, sophisticated access management, extensive import/export facilities, fine-grained templating, and hi-res image storage and manipulation. Silva and its extensions are open source software. For more complete information, see the Silva Product Pages at http://www.infrae.com/products/silva. Download The package can be downloaded from http://www.infrae.com/download/Silva. Links to developer mailing lists, the bug tracker, and info about SVN access can be found on the Silva product page. Contact FMI contact Eric Casteleijn, eric at infrae com, +31 10 243 7051. ___ 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-dev] Zope Tests: 5 OK
Summary of messages to the zope-tests list. Period Tue May 22 12:00:00 2007 UTC to Wed May 23 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Tue May 22 20:50:02 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007769.html Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Unit Tests Date: Tue May 22 20:51:33 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007770.html Subject: OK : Zope-2.9 Python-2.4.4 : Linux From: Zope Unit Tests Date: Tue May 22 20:53:05 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007771.html Subject: OK : Zope-2.10 Python-2.4.4 : Linux From: Zope Unit Tests Date: Tue May 22 20:54:36 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007772.html Subject: OK : Zope-trunk Python-2.4.4 : Linux From: Zope Unit Tests Date: Tue May 22 20:56:12 EDT 2007 URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007773.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 )
[Zope-dev] many conflict errors
Hi, in our Studentregistration portal we experience many conflict errors under heavy load many of them unresolved. the configuration ZEO-server running on one machine 4 Zope-Clients with CPS-3.4.2 with 4 threads each running on a second box, we are using the faster session product all running Zope 2.9.3, python 2.4.3 on Ubuntu 4.0.3 a typical case looks like this: about 5 or 6 messages in the log file with the oid 0x2b 2007-05-23T17:32:38 INFO ZPublisher.Conflict ConflictError at /VirtualHostBase/http/uniben.waeup.org:80/uniben/VirtualHostRoot/campus/students/S882364/study_course/create_level: database conflict error (oid 0x2b, class Products.faster.sessiondata.SessionDataContainer, serial this txn started with 0x036dd29c28404f33 2007-05-23 16:28:09.433877, serial currently committed 0x036dd29ed2491566 2007-05-23 16:30:49.285660) (780 conflicts (73 unresolved) since startup at Wed May 23 05:56:52 2007) and finally -- 2007-05-23T17:32:38 ERROR Zope.SiteErrorLog http://uniben.waeup.org/campus/students/S882364/study_course/create_level Traceback (innermost last): Module Zope2.App.startup, line 173, in zpublisher_exception_hook Module ZPublisher.Publish, line 121, in publish Module Zope2.App.startup, line 240, in commit Module transaction._manager, line 96, in commit Module Products.CPSCompat.PatchZODBTransaction, line 175, in commit Module transaction._transaction, line 433, in _commitResources Module ZODB.Connection, line 484, in commit Module ZODB.Connection, line 526, in _commit Module ZODB.Connection, line 554, in _store_objects Module tempstorage.TemporaryStorage, line 200, in store ConflictError: database conflict error (oid 0x2b, class Products.faster.sessiondata.SessionDataContainer, serial this txn started with 0x036dd29c28404f33 2007-05-23 16:28:09.433877, serial currently committed 0x036dd29ed2491566 2007-05-23 16:30:49.285660) Even though we have many write operations the write operations can't actually conflict, since each student only works on his own documents. Any hints howto to get further insight into this problem is welcome. -- Gruß Joachim ___ 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] unicode, zmi, utf-8, management_page_charset and default-zpublisher-encoding
Hi *, I spent hours now reading documentation, blogs and mails, and still did not get my head around the whole unicode issue. This is what I would like to do: 1. Have content and forms displayed using zpts, encoded in utf-8. 2. Get the data back into zope as unicode. 3. Store unicode in properties of objects, e.g. folders. 4. Edit those properties in the ZMI. 5. Search them in the catalog. My findings so far I have documented in http://www.baach.de/content/unicode basically using 1. setHeader('Content-Type','text/html;; charset=utf-8') 2. marking form fields (firstname:ustring:utf8) 2. using ustrings as properties. Works fine, but - what do I do about the title property of objects, e.g. folder? Its seems that I can't change them to anything, because once deleted I can't replace them by ustrings. I found that there is default-zpublisher-encoding and management_page_charset, but these make ustring etc. vanish from the zmi. So, should I use the management_page_charset and default-zpublisher-encoding instead of ustrings for storing data? I can't find anything that explains those six components (setHeader, form-field-ustring:utf8, ustrings, management_page_charset, default-zpublisher-encoding, title property) together, but would really like to understand how its working, preferably accross Zope versions. I am very willing to write a tutorial on it, so I am happy about any pointers. I am currently testing with Zope 2.8.5-final + python 2.4.4, and im the process of testing with the newest 2.10.x Cheers, Joerg ___ 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] unicode, zmi, utf-8, management_page_charset and default-zpublisher-encoding
Joerg Baach wrote at 2007-5-23 16:13 +0100: ... 1. Have content and forms displayed using zpts, encoded in utf-8. That's easy: you store content in utf-8 and have your ZPTs encoded in utf-8 and tell the HTTP clients that you deliver utf-8 by a 'RESPONSE.setHeader(Content-Type, text/html; charset=utf-8)'. 2. Get the data back into zope as unicode. That does not work. At system boundaries (e.g. between the browser and Zope), you always get some encoding. Usually, the browser uses the same encoding as the one it found on the page delivering a from. 3. Store unicode in properties of objects, e.g. folders. You use the u* form for the properties. The u stands for unicode. There is ustring, utext, ulines, utokens, 4. Edit those properties in the ZMI. You set the management_page_charset to utf-8 and you will be able to edit your u* properties through the ZMI. Almost surely, other textual properties should be encoded in utf-8. 5. Search them in the catalog. No problem, as long as you take care that you do not mix unicode and non unicode (with non ASCII characters) in the same index. -- 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 )
[Zope] Zope 2, local python script security
Hi Zope list, I have a (zope 2.8.8-final) folder that gives users with the role Authenticated the following Permissions: --- . access contents . view - note: no webDav or FTP access is allowed --- Playing around with wget and curl I find I can (with proper authentication) download the published but not raw source of zpt and python files available in the folder. So, for example, the script \folder\pyDate returns '2007/05/23' not its source, e.g. # module: pyDate from DateTime import DateTime return DateTime().Date() This is the behavior I want - as we have a requirement to keep source secure. I realize that source in Zope-Instance/Extensions is the most secure but I'm interested in local script security. Thanks, 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-DB] FileMaker with Zope
--On 23. Mai 2007 10:50:40 +0100 David Daniel Estévez Durey [EMAIL PROTECTED] wrote: Hello Andreas! First of all, thank you very much for answering. Yes! of course I took all advices into account, and then someone told me that I could make an ODBC connection. Have you tried SQLAlchemy? Have you tried z3c.sqlalchemy together with SQLAlchemy? Have you tried SQLAlchemyDA together with SQLAlchemy? If yes, why did it work? We would like to hear feedback and informations about errors *in order* to improve our software. So please be a bit more helpful... From what I heard: SQLAlchemy is working on several systems over ODBC. So if your DB speaks ODBC then there is a good chance to make it work. If it does not work then please explain what the problems are. -aj pgppcWGcfrSGB.pgp Description: PGP signature ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] FileMaker with Zope
David Daniel Estévez Durey wrote at 2007-5-23 10:52 +0100: ... There used to be a ZODBCDA database adapter as Zope product. However, maintenance by zope.com stopped and some interested people took it over. Maybe, you try to search for it. Or you pay the XXX Euro and buy the eGenix mxZODBDA, as suggested by Andreas. Thank you very much for answering, Dieter, but the same I explained to Andreas, money is a very big problem in my case. Then, you need to read very carefully! I sketched an option that does not cost money: Maybe, you try to search for it (ZODBCDA). I do not know how good the new maintenance is or in what state ZODBCDA currently is. You need to invest time (as you cannot invest money) to find this out. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db