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
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
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
/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,
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
, 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
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 '!
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,
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
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.
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
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 -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
+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
://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
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
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
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,
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
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.
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
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.
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
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
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
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?
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
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
: 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
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
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
: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
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
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
101 - 147 of 147 matches
Mail list logo