Re: [Zope-dev] Unittests with different zope configuration?

2006-06-07 Thread Stefan H. Holek
I use this to set debug-mode off: # Switch off debug mode import App.config config = App.config.getConfiguration() config.debug_mode = 0 App.config.setConfiguration(config) Stefan On 5. Jun 2006, at 11:50, Andreas Jung wrote: Does anyone know how to write unittests that

Re: [Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

2006-07-22 Thread Stefan H. Holek
zope.pagetemplate.pagetemplatefile.PageTemplateFile reads an eventual meta http-equiv=Content-Type ... header, or defaults to UTF-8. Stefan On 21. Jul 2006, at 16:53, Chris Withers wrote: I wonder how Zope 3's filesystem-based ZPT's deal with this? -- Anything that, in happening, causes

Re: [Zope-dev] buildbot failure in Zope branches 2.9 2.4 Windows 2000 zc-bbwin2

2006-08-22 Thread Stefan H. Holek
The Windows bot is borked, don't blame me ;-) http://buildbot.zope.org/Zope%20branches%202.9%202.4%20Windows% 202000%20zc-bbwin2/builds/160/compile/0 Stefan On 22. Aug 2006, at 12:47, [EMAIL PROTECTED] wrote: The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000

Re: [Zope-dev] Re: buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2006-09-08 Thread Stefan H. Holek
/me scratches head. I only see the error when I use the bot's command line, a normal test run works fine. $ python2.4 test.py -q --all Running unit tests: The following test left new threads behind: testABOR (zope.server.ftp.tests.test_ftpserver.Tests) New thread(s): [_DummyThread(Dummy-36,

[Zope-dev] PUT_factory broken in 2.10+

2006-09-10 Thread Stefan H. Holek
Hi Lennart, Philipp tells me you are responsible for the traversal integration. Any ideas re http://www.zope.org/Collectors/Zope/2187? Thanks, Stefan -- Anything that, in happening, causes something else to happen, causes something else to happen. --Douglas Adams

Re: [Zope-dev] Re: buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2006-09-10 Thread Stefan H. Holek
, at 22:44, Stefan H. Holek wrote: /me scratches head. I only see the error when I use the bot's command line, a normal test run works fine. $ python2.4 test.py -q --all Running unit tests: The following test left new threads behind: testABOR (zope.server.ftp.tests.test_ftpserver.Tests) New

[Zope-dev] ZODB.tests.testZODB.checkResetCachesAPI definitely bad

2006-09-12 Thread Stefan H. Holek
These errors are *also* due to ZODB.tests.testZODB.checkResetCachesAPI. The cache reset appears to leave the Application object and/or transactions in a borked state. All is well when I suppress checkResetCachesAPI: $ python2.4 test.py -q -m '!^(ZEO|zope[.]app[.])' -t '!

Re: [Zope-dev] Re: WebDAV PUT factory tests failing on 2.10 branch

2006-09-18 Thread Stefan H. Holek
Yes, this is a blocker IMO as it breaks FTP for a whole class of virtual hosting scenarios. No, I don't know how to fix, maybe Lennart? Stefan On 17. Sep 2006, at 12:52, Andreas Jung wrote: --On 17. September 2006 12:38:11 +0200 Philipp von Weitershausen [EMAIL PROTECTED] wrote: AFAIK,

Re: [Zope-dev] Serving large files

2006-09-18 Thread Stefan H. Holek
FileCacheManager does the copy-to-file-and-serve-as-iterator dance for you. http://www.dataflake.org/software/filecachemanager Stefan On 17. Sep 2006, at 21:09, Sidnei da Silva wrote: One thing that is problematic today is serving large files from the ZODB (ignoring the upcoming blob

Re: [Zope-dev] Cannot access Zope Management Interface through lighttpd proxy

2006-10-12 Thread Stefan H. Holek
I haven't used lighttpd but the below rewrite rules doesn't specify the port, it should. Stefan On 12. Okt 2006, at 19:33, yegor wrote: url.rewrite-once = ( ^/plone/(.*)$ = /VirtualHostBase/http/rio.sci.ccny.cuny.edu/VirtualHostRoot/ _vh_plone/$1 ) -- Anything that happens, happens.

Re: [Zope-dev] [ZPT/Zope 2.10] Unicode fixes backported

2006-12-29 Thread Stefan H. Holek
Andreas, The changes are not backward compatible, apparently. http://mail.zope.org/pipermail/cmf-tests/2006-December/003656.html http://mail.zope.org/pipermail/cmf-tests/2006-December/003657.html Stefan On 28. Dez 2006, at 14:58, Andreas Jung wrote: I know that this migration is a big hammer

Re: [Zope-dev] [ZPT/Zope 2.10] Unicode fixes backported

2006-12-29 Thread Stefan H. Holek
In fact, the Zope trunk is a bit of a mess as well. http://mail.zope.org/pipermail/cmf-tests/2006-December/003658.html Stefan -- Anything that, in happening, causes itself to happen again, happens again. --Douglas Adams ___ Zope-Dev maillist -

Re: [Zope-dev] Early processing of request body (was: Proposal for optimized Blob handling)

2007-03-08 Thread Stefan H. Holek
This use-case is already covered by implementing ZPublisher.Iterators.IStreamIterator. You can return a stream iterator to Medusa and free the worker thread immediately. Stefan On 8. Mär 2007, at 05:40, Sidnei da Silva wrote: Hopefully something similar could be done for files being sent

Re: [Zope-dev] Zope Tests: 7 OK

2007-03-08 Thread Stefan H. Holek
Care to share a test result? FWIW, the nightlies basically do svn co svn://svn.zope.org/repos/main/Zope/trunk Zope cd Zope ./configure make inplace python2.4 test.py -q --all Which leaves little room for errors, IMO ;-) Stefan On 8. Mär 2007, at 01:27, Christian Theune wrote: I'm

[Zope-dev] Re: [Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-21 Thread Stefan H. Holek
Python 2.3 does not support the @decorator syntax. Cheers, Stefan On 20. Mär 2007, at 10:05, Martijn Pieters wrote: Log message for revision 73390: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this

Re: [Zope-dev] buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2007-03-24 Thread Stefan H. Holek
The buildbot for Zope 2 won't ever complete successfully unless ZODB.tests.testZODB.checkResetCachesAPI is excluded from the test run. The bot's command line should look something like: python2.4 test.py -vv -m '!^(ZEO|zope[.]app[.])' -t '! checkResetCachesAPI' --all Also see

[Zope-dev] What's the deal with sublocations?

2007-04-10 Thread Stefan H. Holek
Most ObjectEvents are dispatched to sublocations. I was wondering whether it is ok for me to expect a certain dispatch order, i.e. top- down (container before sublocation) or bottom-up (sublocation before container)? What I find is that this order depends on things like the exact

[Zope-dev] Re: What's the deal with sublocations?

2007-04-10 Thread Stefan H. Holek
Thanks! On 10. Apr 2007, at 18:34, Philipp von Weitershausen wrote: No. The dispatch to sublocations is an event handler itself. One should not depend on the execution order of event handlers, therefore you should not depend on this dispatch happening before or after your own event

[Zope-dev] Re: SVN: Zope/branches/2.10/ Collector #2307: ObjectCopiedEvent not dispatched to sublocations.

2007-06-20 Thread Stefan H. Holek
for IObjectManager that directly calls # dispatchToSublocations. Cheers, Stefan On 20. Jun 2007, at 12:25, Philipp von Weitershausen wrote: Stefan H. Holek wrote: Log message for revision 76597: Collector #2307: ObjectCopiedEvent not dispatched to sublocations. ... @@ -130,7 +131,15

Re: [Zope-dev] Re: SVN: Zope/branches/2.10/ Collector #2307: ObjectCopiedEvent not dispatched to sublocations.

2007-06-20 Thread Stefan H. Holek
This should of course have read: I took my cues from how *ObjectMovedEvent* is handled. On 20. Jun 2007, at 13:16, Stefan H. Holek wrote: I took my cues from how ObjectModifiedEvent is handled. I figured copied and moved should be treated the same. Also, there is this comment in OFS

Re: [Zope-dev] problem with the last commit of Five branches 1.4 for Collector #2307

2007-06-21 Thread Stefan H. Holek
FWIW, I have parked the fix on a branch [1][2] and will wait for Zope 2.9.8 [3]. Stefan [1] http://svn.zope.org/Products.Five/?rev=76908view=rev [2] http://svn.zope.org/Products.Five/?rev=76909view=rev [3] http://mail.zope.org/pipermail/zope-dev/2007-June/029454.html On 21. Jun 2007, at

Re: [Zope-dev] [SVN] Zope trunk - merged stuff for Zope 2.11 released

2007-06-27 Thread Stefan H. Holek
I plan to land the ZopeLite* layer work for 2.11. It's already running fine in my sandbox but has some implications for existing tests in both Zope and CMF, which I at least need to document. Do you have a target date for 2.11? Stefan (*) ZopeTestCase magic deferred to layer setup time

Re: [Zope-dev] Fix for request must be post at Take Ownership

2007-07-05 Thread Stefan H. Holek
I may be missing something here, but the fact that you have to use POST is fully intentional and not a bug. Stefan On 5. Jul 2007, at 11:27, Jonas Meurer wrote: When do you plan to add the fix for request must be post at Take Ownership to a stable zope 2.10 release? It seems like this bug

[Zope-dev] [ANN] ZopeTestCase now on a layer

2007-10-13 Thread Stefan H. Holek
I have put all of ZopeTestCase on a test layer, making it possible to mix ZTC and non-ZTC tests more freely. The layer is currently available on the Zope 2 trunk (2.11) only. You can read more here: http://www.zope.org/Members/shh/ZopeTestCaseWiki/ZopeLiteLayer Stefan -- Anything that

Re: [Zope-dev] Re: Zope without Zope

2007-11-17 Thread Stefan H. Holek
On 17. Nov 2007, at 02:15, Martin Aspeli wrote: I understand the historical reasons behind these dependencies, but I genuinely think we should pick a few libraries that are useful to the outside world (zope.interface, zope.component, zope.configuration, zope.annotation, zope.event come to

Re: [Zope-dev] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Stefan H. Holek
On 17.04.2008, at 12:27, Hanno Schlichting wrote: Opinions, votes? +1 -- Stefan H. Holek [EMAIL PROTECTED] ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Zope2 interfaces delenda est!

2008-04-25 Thread Stefan H. Holek
+1 for trunk -1 for 2.11 branch Stefan On 25. Apr 2008, at 20:49, Tres Seaver wrote: I'd like to rip out the old Interface module from the 2.11 branch and the trunk, along with all the useless decoys which import it. -- Anything that happens, happens. --Douglas Adams

Re: [Zope-dev] Zope Tests: 4 OK, 1 Failed

2008-05-28 Thread Stefan H. Holek
://mail.zope.org/pipermail/zope-tests/2008-May/009619.html -- Stefan H. Holek [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

[Zope-dev] fast_listen - fast-listen for 2.11

2008-06-05 Thread Stefan H. Holek
I'd like to sneak the following patch into 2.11 before final. The idea is that zope.conf option names should use dashes and not underscores. The downside is that it will break all zope.conf files that already use this option. Objections? Stefan +Bugs Fixed + + - Fixed

[Zope-dev] Re: [Checkins] SVN: zc.buildout/branches/plus-minus-option-syntax-for-review/src/zc/buildout/buildout. A patch contributed by Mustapha Benali that provide - and + prefix operators for build

2008-06-09 Thread Stefan H. Holek
configuration. -- Stefan H. Holek [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

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-21 Thread Stefan H. Holek
It is a hand-compiled Python 2.3, not the one coming with the distro. I'll have to look into it, maybe ./configure missed something... Stefan On 20. Aug 2008, at 19:57, Tres Seaver wrote: Tests are blowing up on that box becaues the 'encodings' module has no attribute 'aliases': AFAICT,

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Stefan H. Holek
The Python 2.3 on that box hasn't changed in a while, and the encodings module works, at least interactively. $ /usr/local/python2.3/bin/python Python 2.3.6 (#1, Nov 11 2006, 11:08:56) [GCC 4.0.2 (Debian 4.0.2-2)] on linux2 Type help, copyright, credits or license for more information. import

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Stefan H. Holek
What I have found out now is that in my Python 2.3.6 encodings/ __init__.py does not contain 'import aliases' at module level, whereas the Python 2.4 lib has this import. The patch does this: import encodings encodings._aliases = encoding.aliases.aliases which does therefore not work in 2.3.

Re: [Zope-dev] svn.zope.org up again?

2008-11-11 Thread Stefan H. Holek
Up it may be, working it is not. E.g.: Fetching external item into 'python24-zope210/lib/python/zope/testing' svn: Reference to non-existent node 'd2u.9gw.r70272/0' in filesystem '/svn/repos/main/db' Fetching external item into 'python24-zope211/lib/python/zope/decorator' A

Re: [Zope-dev] Zope Tests: 7 OK, 1 Unknown

2009-01-17 Thread Stefan H . Holek
That test seems to be timing out both yesterday and today trying to download docutils: do you think having the buildout use a download_cache would help? Tres. It certainly would. I am however reluctant to enable the download cache because it may mask incomplete buildout configurations.

Re: [Zope-dev] [Zope-tests] UNKNOWN : Zope[2.buildout]-trunk Python-2.5.2 : Linux

2009-01-19 Thread Stefan H. Holek
Enough! I have put a copy of docutils-0.4.tar.gz on the test server and point buildout at it via ~/.buildout/default.cfg. Stefan On 19.01.2009, at 02:55, Zope Tests wrote: Zope Tests : UNKNOWN Zope[2.buildout]-trunk Python-2.5.2 : Linux Running /usr/local/python2.5/bin/python ./bin/test

Re: [Zope-dev] Plans for Zope 2.12

2009-01-22 Thread Stefan H. Holek
While we are at it... The biggest offender is the zodbcode package, which does not appear to pass its tests at all under Python 2.6. Not having investigated this further I can imagine three courses of action: 1) Fix zodbcode (me shrugs) 2) Exclude zodbcode tests from the test suite

Re: [Zope-dev] Retiring the Zope SVN trunk? was: Re: Zope Tests: 6 OK, 2 Failed

2009-02-03 Thread Stefan H. Holek
I don't think you faired that badly. ;-) One obvious problem is the removal of the 'defaultSkin' directive, which is still in use by CMFDefault. The rest looks harmless. I am not opposed to ditching the trunk, but I don't think keeping it in sync (if only for a transition period) is

Re: [Zope-dev] Zope 2 from buildout?

2009-02-13 Thread Stefan H. Holek
For the time being Zope2 must be used as a develop egg. Like e.g. so: http://svn.zope.org/CMF.buildout/trunk/ Stefan On 13.02.2009, at 13:49, Chris Withers wrote: I guess this equates to what does a Zope 2 instance look like now that we're buildout-based?

[Zope-dev] Python 2.4 + Zope 2.12 [Was: Zope Tests: 7 OK, 1 Failed]

2009-04-20 Thread Stefan H. Holek
Do we still care about Python 2.4 + Zope 2.12? Do we go Python 2.6 only? Thanks, Stefan On 20.04.2009, at 14:00, Zope Tests Summarizer wrote: Summary of messages to the zope-tests list. Period Sun Apr 19 12:00:00 2009 UTC to Mon Apr 20 12:00:00 2009 UTC. There were 8 messages: 8 from Zope

Re: [Zope-dev] [cmf-tests] UNKNOWN : CMF-trunk Zope-trunk Python-2.6.1 : Linux

2009-04-27 Thread Stefan H. Holek
What's the reason zope.component.interfaces has no BBB for this import? The Zope Toolkit is full of 'deprecated()', so why not in this case? Stefan On 27.04.2009, at 03:28, CMF Tests wrote: CMF Tests : UNKNOWN CMF-trunk Zope-trunk Python-2.6.1 : Linux Running

[Zope-dev] Linux x86_64 [Was: Zope Tests: 3 OK, 5 Failed]

2009-07-18 Thread Stefan H. Holek
: FAILED (failures=7) : Zope-trunk-alltests Python-2.6.2 : Linux From: Zope Tests Date: Fri Jul 17 20:58:01 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-July/012086.html -- Stefan H. Holek ste...@epy.co.at ___ Zope-Dev maillist

Re: [Zope-dev] Zope Tests: 6 OK, 2 Failed

2009-11-03 Thread Stefan H. Holek
are borken in python 2.4, because it doesn't have Py_ssize_t. -- Stefan H. Holek ste...@epy.co.at ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https

[Zope-dev] Automated Acceptance Test

2009-11-11 Thread Stefan H. Holek
Solis -- Stefan H. Holek ste...@epy.co.at ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope-dev] Zope Tests: No messages

2010-03-28 Thread Stefan H. Holek
:00 2010 UTC. There were no messages. Eeek. Something broken? -- Stefan H. Holek ste...@epy.co.at ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] [Checkins] SVN: Zope/trunk/ `setHeader('Set-Cookie', ...)` special-casing can die

2011-10-17 Thread Stefan H. Holek
to an HTTP return header. ___ checkins mailing list check...@zope.org https://mail.zope.org/mailman/listinfo/checkins -- Stefan H. Holek ste...@epy.co.at ___ Zope-Dev maillist - Zope-Dev@zope.org https

Re: [Zope-dev] zope-tests - FAILED: 21, OK: 19

2012-09-06 Thread Stefan H. Holek
On 06.09.2012, at 10:58, Marius Gedminas wrote: How do you redirect the stderr of a process spawned with suprocess.Popen(shell=False) to /dev/null in a cross-platform manner? os.devnull perhaps? Or rather, what about subprocess.Popen(cmd, stderr=subprocess.PIPE)? Stefan -- Stefan H. Holek

<    1   2