[Zope] Re: [Zope-Annce] Technical Preview of Blob support in ZODB

2006-05-01 Thread Chris Withers
Christian Theune wrote: the ZODB team is proud to announce a technical preview of a Blob implementation for ZODB. Cool :-) Blobs are used to efficiently storage large amounts of binary data within a database. This implementation uses real files on the file system in combination with any ZODB

Re: [Zope] Missing content! Urgent

2006-05-01 Thread Chris Withers
Michael Havard wrote: We're missing 16 days worth of content. Have a read of this: http://www.catb.org/~esr/faqs/smart-questions.html#urgent Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on. You've got Plone in the mix,

Re: [Zope] LAST INSERT ID driving me crazy

2006-05-01 Thread Cliff Ford
This is how it works for MySQL: insert into table_name ( ItemID, ItemDate, etc ) values ( dtml-sqlvar ItemID type=int, dtml-sqlvar ItemDate type=string, etc ) dtml-var sql_delimiter select LAST_INSERT_ID() as BaptismID You have to have the select LAST_INSERT_ID call in the same query as the

[Zope] Re: Missing content! Urgent

2006-05-01 Thread Michael Havard
Sorry. I know better, just got in a panic. Chris Withers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Michael Havard wrote: We're missing 16 days worth of content. Have a read of this: http://www.catb.org/~esr/faqs/smart-questions.html#urgent Python 2.3.5, Zope 2.8.4, Plone

Re: [Zope] LAST INSERT ID driving me crazy

2006-05-01 Thread Infor Gates
I don't think Zope provide the said feature.1. I use ZopeTime (e.g. datetime_id.) as the last_insert_query id. You can use python date time too.2. All related database tables have a datetime_id column3. Using zsql method: insert into table_name set t_datetime_id=dtml-sqlvar datetime_id

[Zope] Re: Missing content! Urgent

2006-05-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Havard wrote: We're missing 16 days worth of content. Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on. Yesterday everything was fine. All the content was there and

[Zope] Converting from week no. to date

2006-05-01 Thread Jonas Nielsen
DateTime().strftime(%U) converts from date to week no. Is it possible to convert from (week,year,weekday) to a specific date in a python script in zope ? I could install the mx.DateTime module in python and then make a product with a method that used ISO.Week() but is there a more straight

Re: [Zope] Converting from week no. to date

2006-05-01 Thread Andreas Jung
--On 1. Mai 2006 17:16:13 +0200 Jonas Nielsen [EMAIL PROTECTED] wrote: DateTime().strftime(%U) converts from date to week no. Is it possible to convert from (week,year,weekday) to a specific date in a python script in zope ? The DateTime API does not support this. -aj -- ZOPYX Ltd. Co.

Re: [Zope] Converting from week no. to date

2006-05-01 Thread Lennart Regebro
On 5/1/06, Jonas Nielsen [EMAIL PROTECTED] wrote: DateTime().strftime(%U) converts from date to week no. Is it possible to convert from (week,year,weekday) to a specific date in a python script in zope ? I could install the mx.DateTime module in python and then make a product with a method

Re: [Zope] Re: Windows Server 2003, II6 and ASP404 vs form posts

2006-05-01 Thread Brian Sullivan
For anyone else who might search the list in the future: Microsoft has confirmed that ASP error handlers in current versions of IIS 6 do not, can not, and will not -- no matter what the security settings -- get at POST data. There's a discussion of the changes at: I think that is not 100%

[Zope] ZEO ClientDisconnected error

2006-05-01 Thread Cyrille Bonnet
Hi there, One of my clients is using Plone on Solaris 9. We have set up one ZEO client on a Solaris machine and a ZEO server on another Solaris machine (for testing purposes only at this stage). Performance is great but every morning, the first hit to the Plone site returns a

[Zope] Re: ZEO ClientDisconnected error

2006-05-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cyrille Bonnet wrote: Hi there, One of my clients is using Plone on Solaris 9. We have set up one ZEO client on a Solaris machine and a ZEO server on another Solaris machine (for testing purposes only at this stage). Performance is great but

[Zope] Re: ZEO ClientDisconnected error

2006-05-01 Thread Cyrille Bonnet
Hi Tres, thanks for your response: it is very helpful. The posting you refer to is particularly helpful. Thanks for digging it up for me! Cheers, Cyrille Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cyrille Bonnet wrote: Hi there, One of my clients is using Plone on

[Zope] strange behaviour:can not access source-view.gif but a copy of it

2006-05-01 Thread robert rottermann
Hi there, in a plone site (but I see nothing plone related with my problem) I can not access an image with the id view-source.gif (it is used by kupu). when I copied it to the plone root the copy was named copy_of_view-source.gif all tough no prior object of that name existed. After renaming

[Zope-Checkins] SVN: Zope/trunk/ - Collector #2061: Fix problems where windows line endings are passed to restricted code compilers.

2006-05-01 Thread Chris Withers
Log message for revision 67783: - Collector #2061: Fix problems where windows line endings are passed to restricted code compilers. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/RestrictedPython/RCompile.py U

[Zope-Checkins] SVN: Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py Temporarily getting rid of an annoying error.

2006-05-01 Thread Lennart Regebro
Log message for revision 67784: Temporarily getting rid of an annoying error. Changed: U Zope/branches/regebro-wsgi_support2/lib/python/Products/PythonScripts/tests/testPythonScript.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/regebro-wsgi_support2/lib/python/ Neater shutdown with twisted.

2006-05-01 Thread Lennart Regebro
Log message for revision 67785: Neater shutdown with twisted. Changed: U Zope/branches/regebro-wsgi_support2/lib/python/Lifetime/__init__.py U Zope/branches/regebro-wsgi_support2/lib/python/ZServer/HTTPResponse.py U

[Zope-Checkins] SVN: Zope/trunk/skel/bin/runzope.bat.in changes so it's easier to move a Zope instance between zope versions.

2006-05-01 Thread Chris Withers
Log message for revision 67786: changes so it's easier to move a Zope instance between zope versions. Changed: U Zope/trunk/skel/bin/runzope.bat.in -=- Modified: Zope/trunk/skel/bin/runzope.bat.in === ---

[Zope-Checkins] SVN: Zope/trunk/skel/bin/runzope.bat.in further changes so it's easier to move an instance between zope versions.

2006-05-01 Thread Chris Withers
Log message for revision 67788: further changes so it's easier to move an instance between zope versions. Changed: U Zope/trunk/skel/bin/runzope.bat.in -=- Modified: Zope/trunk/skel/bin/runzope.bat.in === ---

[Zope-Checkins] SVN: Zope/branches/2.9/skel/bin/runzope.bat.in further changes so it's easier to move an instance between zope versions.

2006-05-01 Thread Chris Withers
Log message for revision 67789: further changes so it's easier to move an instance between zope versions. Changed: U Zope/branches/2.9/skel/bin/runzope.bat.in -=- Modified: Zope/branches/2.9/skel/bin/runzope.bat.in === ---

[Zope-Checkins] SVN: Zope/branches/regebro-wsgi_support2/lib/python/Zope2/Startup/__init__.py Added an error message for misconfiguration.

2006-05-01 Thread Lennart Regebro
Log message for revision 67790: Added an error message for misconfiguration. Changed: U Zope/branches/regebro-wsgi_support2/lib/python/Zope2/Startup/__init__.py -=- Modified: Zope/branches/regebro-wsgi_support2/lib/python/Zope2/Startup/__init__.py

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/OFS/tests/test_XMLExportImport.py Fix test failures on Windows.

2006-05-01 Thread Chris Withers
Log message for revision 67791: Fix test failures on Windows. Changed: U Zope/branches/2.9/lib/python/OFS/tests/test_XMLExportImport.py -=- Modified: Zope/branches/2.9/lib/python/OFS/tests/test_XMLExportImport.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/tests/test_XMLExportImport.py Fix test failures on Windows.

2006-05-01 Thread Chris Withers
Log message for revision 67792: Fix test failures on Windows. Changed: U Zope/trunk/lib/python/OFS/tests/test_XMLExportImport.py -=- Modified: Zope/trunk/lib/python/OFS/tests/test_XMLExportImport.py === ---

[Zope-Checkins] SVN: Zope/branches/regebro-wsgi_support2/ Added CHANGES changes, and the new stuff into skel.

2006-05-01 Thread Lennart Regebro
Log message for revision 67793: Added CHANGES changes, and the new stuff into skel. Changed: U Zope/branches/regebro-wsgi_support2/doc/CHANGES.txt U Zope/branches/regebro-wsgi_support2/skel/etc/zope.conf.in -=- Modified: Zope/branches/regebro-wsgi_support2/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/ Experimental WSGI + Twisted support.

2006-05-01 Thread Lennart Regebro
Log message for revision 67794: Experimental WSGI + Twisted support. Merge from svn+ssh://[EMAIL PROTECTED]/repos/main/Zope/branches/regebro-wsgi_support2 Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Lifetime/__init__.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/subscribers.py simplify ; -)

2006-05-01 Thread Chris Withers
Log message for revision 67797: simplify ;-) Changed: U Zope/trunk/lib/python/OFS/subscribers.py -=- Modified: Zope/trunk/lib/python/OFS/subscribers.py === --- Zope/trunk/lib/python/OFS/subscribers.py2006-05-01 13:55:44

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/OFS/subscribers.py remove zLOG use.

2006-05-01 Thread Chris Withers
Log message for revision 67798: remove zLOG use. Changed: U Zope/branches/2.9/lib/python/OFS/subscribers.py -=- Modified: Zope/branches/2.9/lib/python/OFS/subscribers.py === --- Zope/branches/2.9/lib/python/OFS/subscribers.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/tests/test shush log output from tests.

2006-05-01 Thread Chris Withers
Log message for revision 67800: shush log output from tests. Changed: U Zope/trunk/lib/python/OFS/tests/testAppInitializer.py U Zope/trunk/lib/python/OFS/tests/testObjectManager.py U Zope/trunk/lib/python/OFS/tests/testProductInit.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/OFS/tests/test shush log output from tests.

2006-05-01 Thread Chris Withers
Log message for revision 67801: shush log output from tests. Changed: U Zope/branches/2.9/lib/python/OFS/tests/testAppInitializer.py U Zope/branches/2.9/lib/python/OFS/tests/testObjectManager.py U Zope/branches/2.9/lib/python/OFS/tests/testProductInit.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/ - Collector #2062: Fix manage_historyCopy, which was broken, and write tests for it.

2006-05-01 Thread Chris Withers
Log message for revision 67804: - Collector #2062: Fix manage_historyCopy, which was broken, and write tests for it. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/OFS/History.py A Zope/branches/2.9/lib/python/OFS/tests/testHistory.py -=-

[Zope-Checkins] SVN: Products.Five/trunk/ Merging alecm-viewlet-support -r67779:67780 to add supports for viewlets on trunk.

2006-05-01 Thread Alec Mitchell
Log message for revision 67811: Merging alecm-viewlet-support -r67779:67780 to add supports for viewlets on trunk. Changed: U Products.Five/trunk/README.txt A Products.Five/trunk/browser/ProviderExpression.py U Products.Five/trunk/browser/TrustedExpression.py U

[Zope-Checkins] SVN: Products.Five/trunk/CHANGES.txt Updated CHANGES

2006-05-01 Thread Alec Mitchell
Log message for revision 67812: Updated CHANGES Changed: U Products.Five/trunk/CHANGES.txt -=- Modified: Products.Five/trunk/CHANGES.txt === --- Products.Five/trunk/CHANGES.txt 2006-05-01 22:05:06 UTC (rev 67811) +++

[Zope-Checkins] SVN: Products.Five/branches/alecm-viewlet-support/ Removing merged branch

2006-05-01 Thread Alec Mitchell
Log message for revision 67813: Removing merged branch Changed: D Products.Five/branches/alecm-viewlet-support/ -=- ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins

Re: [Zope-dev] Windows Test Failures and XMLExportImport

2006-05-01 Thread Chris Withers
Benji York wrote: 2000--Zope---branches---2.9--2.4\build\lib\python\OFS\tests\test_XMLExportImport.py, I suspect the following pattern needs to be changed: ostream = tempfile.NamedTemporaryFile(suffix='.xml') try: data = exportXML(connection, oid, ostream)

[Zope-dev] Re: Help with two strange errors.

2006-05-01 Thread Lennart Regebro
On 4/30/06, Lennart Regebro [EMAIL PROTECTED] wrote: Also, the ZServer test seems to leave cruft behind. Possibly a thread, that the gets detected by the zope.server tests, because it will complain that a thread is left behind by those test, while if I skip the ZServer tests with -t '!ZServer'

Re: [Zope-dev] Windows Test Failures and XMLExportImport

2006-05-01 Thread Benji York
Chris Withers wrote: I suspect the following pattern needs to be changed: ostream = tempfile.NamedTemporaryFile(suffix='.xml') try: data = exportXML(connection, oid, ostream) ostream.flush() sub._importObjectFromFile(ostream.name, 0, 0)

Re: [Zope-dev] Windows Test Failures and XMLExportImport

2006-05-01 Thread Chris Withers
Benji York wrote: Yep, that looks like it. Either I'll make my first commit to Zope 2 ever :) or if you want to, you can change it to something like this: import tempfile import os fname = 'import_export.xml' tempdir = tempfile.mkdtemp() try: ostream = open(fname, 'wb') try:

[Zope-dev] buildbot svn failures?

2006-05-01 Thread Chris Withers
Hi All, Any idea what's causing the svn failrues on the buildbot. This only seems to be affecting the Windows builds, with the Zope 2 3 trunk not currently building... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope-dev] i18n for 'structure' in TAL

2006-05-01 Thread Martijn Faassen
Hi there, i18n doesn't actually work for things marked as 'structure' in a page template in both Zope 2 and Zope 3. Zope 2 does do this with PlacelessTranslationService (through some tortuous route I won't go into). I think in practice large systems such as Plone, Silva and CPS are all

Re: [Zope-dev] Zope 2.10: Remaining tasks

2006-05-01 Thread Martijn Faassen
Philipp von Weitershausen wrote: The feature freeze date for the June release is only days away. It was planned to be May 1st, but due to lots of pending branches, we might let it slip for a *couple* of days (not more!). I've compiled a rough list of outstanding tasks for Zope 2.10:

Re: [Zope-dev] Zope 2.10: Remaining tasks

2006-05-01 Thread Andreas Jung
--On 1. Mai 2006 18:46:07 +0200 Martijn Faassen [EMAIL PROTECTED] wrote: Philipp von Weitershausen wrote: The feature freeze date for the June release is only days away. It was planned to be May 1st, but due to lots of pending branches, we might let it slip for a *couple* of days (not

Re: [Zope-dev] Re: Zope 2.10: Remaining tasks

2006-05-01 Thread Lennart Regebro
On 4/29/06, Florent Guillaume [EMAIL PROTECTED] wrote: It is up to the release managers (Stephan, Andreas) and the Pope to decide the exact feature freeze date, but I would suggest that we start merging those branches real soon. Some crucial branches, namely the 3.3 integration is scheduled

Re: [Zope-dev] Zope 2.10: Remaining tasks

2006-05-01 Thread Jim Fulton
Martijn Faassen wrote: Philipp von Weitershausen wrote: The feature freeze date for the June release is only days away. It was planned to be May 1st, but due to lots of pending branches, we might let it slip for a *couple* of days (not more!). I've compiled a rough list of outstanding tasks

[Zope-DB] Zope, DCOracle2, concurrent transactions, etc.

2006-05-01 Thread Michael Mauws
I've built a rather complex OLTP application using Apache, Zope, and Oracle (with DCOracle2 linking the latter two). I occasionally perform lengthy database updates in the background and, during that time, someone inevitably requests a page that updates a record that has been locked by the