Re: [Zope] Zope hangs and Python eats all memory

2007-01-15 Thread Paul Winkler
. unfortunately since the whole system is swapping like crazy, working at the shell is probably no fun either :-) P.S. How's your SU700 treating you? I sold mine years ago :) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] SSL and Apache

2007-01-11 Thread Paul Winkler
reverse proxy in front of Zope should help protect against that kind of thing. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Paul Winkler
traceback. Look in your new instance, for the event log in the logs/ dir. That should contain the error and the full traceback. From my understanding the paths for the zope instance have to be the same for Data.fs to work correctly. Is that correct? No, Data.fs should be portable. -- Paul Winkler

Re: [Zope] Isn't DTML more like what other frameworks do?

2007-01-09 Thread Paul Winkler
. For me, ZPT has nice advantages. OTOH, sometimes we're doing ZSQL so we use DTML syntax for that. ZPT would be useless for building SQL queries. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope-dev] Re: ZCML and 'zopectl test'?

2007-01-07 Thread Paul Winkler
else by layer support? -- Paul Winkler ___ 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

Re: [Zope] want to get the url in python script

2006-12-13 Thread Paul Winkler
persistent object, and you're in some other part of the folder tree where you can't acquire it from parent folders? hard to guess with so little information... sorry. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] want to get the url in python script

2006-12-13 Thread Paul Winkler
/mailman/listinfo/zope-dev ) -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope-dev] Testing in the Zope project open space at PyCon07

2006-11-30 Thread Paul Winkler
be happy to propose such an Open Space session. Things to talk about would include doctest, buildbot, coverage, etc. +1. I'd add layers to the etc list. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http

Re: [Zope] Re: My Sad Tale Of Woe

2006-11-30 Thread Paul Winkler
positional parameters, which isn't what you want: [EMAIL PROTECTED] ~ $ echo $FOO [EMAIL PROTECTED] ~ $ set FOO=bar [EMAIL PROTECTED] ~ $ echo $FOO [EMAIL PROTECTED] ~ $ echo $1 FOO=bar [EMAIL PROTECTED] ~ $ export FOO=bar [EMAIL PROTECTED] ~ $ echo $FOO bar -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: My Sad Tale Of Woe

2006-11-30 Thread Paul Winkler
On Thu, Nov 30, 2006 at 08:52:40AM -0800, Nancy Donnelly wrote: From: Paul Winkler [EMAIL PROTECTED] What shell are you using? That's not how you set an environment variable in any of the bourne-style shells (sh, bash, ksh). For those, you would use: export PYTHONPATH=/usr/local/zope

Re: [Zope] Re: error with simple python script loop

2006-11-28 Thread Paul Winkler
Not meant for production sites. I still prefer zdb, because you can actually see and step through the script code. http://www.simplistix.co.uk/software/zope/zdb -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Existence and truth

2006-11-28 Thread Paul Winkler
missing? This kind of thing is usually a mistaken type assumption. I bet your radiobutton is setting it to 0 rather than 0. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Checking in pages, scripts, and sql methods to SVN

2006-11-17 Thread Paul Winkler
these objects 2. Reference them as files FSDump will dump stuff from a folder to the filesystem. http://www.zope.org/Members/tseaver/FSDump Then, replace the folder with a FileSystemSite or one of the alternatives. http://wiki.zope.org/zope2/FileSystemSite -- Paul Winkler http://www.slinkp.com

Re: [Zope] Zope Alternative

2006-11-15 Thread Paul Winkler
a community that treats me like this when I'm only trying to help. FWIW, while I do think you have some misconceptions of where zope is going, I do think the tone got a lot harsher than necessary. I haven't posted on your wiki because I prefer mailing lists. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Emergency Meltdown! Help!

2006-11-14 Thread Paul Winkler
On Tue, Nov 14, 2006 at 04:06:39PM -0800, Nancy Donnelly wrote: HELP! First thing I'd do is find the event log and see what's in it recently... -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Zope Alternative

2006-11-12 Thread Paul Winkler
that care about things like mod time. If you want something else, CMF has examples of doing the DublinCore date stuff. IIRC Philip's book has examples of doing dublin core in the zope 3 style. Happy to prove this particular point ;-) -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: Can't Track Simple Bug

2006-11-11 Thread Paul Winkler
/zope.conf. There will be lots of comments in there explaining the various directives. Hopefully you can figure out how the various things in your old zope.conf translate to the new format. -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] Restricted Traverse

2006-11-11 Thread Paul Winkler
don't even need to do that. Try: tal:define=root python:here.restrictedTraverse('index_frame.pt') which can be spelled a bit more simply as: tal:define=root nocall:here/index_frame.pt -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] How To Convert Files To Page Templates?

2006-11-07 Thread Paul Winkler
to hunt around, but no script pointing to some PTDocument like there is with DTML. I think you want ZopePageTemplate from lib/python/Products/PageTemplates/ -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope-DB] POSKeyError with a fresh Zeo Install

2006-10-20 Thread Paul Winkler
and 1 zeo instance, start the zeo and then start the zope instance I see this in my logs. Note this is the first start of the fresh installs. Does anyone have any suggestions as to the cause? (snip) -- Paul Winkler http://www.slinkp.com ___ Zope-DB

Re: [Zope] Upgrading Zope

2006-10-18 Thread Paul Winkler
On Wed, Oct 18, 2006 at 02:55:33PM +0200, Nightflyer wrote: Hi All, I've been asked to migrate an ancient Zope server from 2.1.x to the latest 2.x or 3.x version. http://zopewiki.org/Upgrading -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] Zeo Client hanging

2006-10-18 Thread Paul Winkler
this thread: http://aspn.activestate.com/ASPN/Mail/Message/zope-list/2916870 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] external method strangeness

2006-10-18 Thread Paul Winkler
(source_data) but again, this doesn't address your immediate problem :) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Tab completion in zopectl debug

2006-10-17 Thread Paul Winkler
On Tue, Oct 17, 2006 at 11:43:50PM +, Maurits van Rees wrote: This would just be for convenience. Would this be enough of a convenience to put into the Zope source code? Yes please! -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] Sending XML straight down to a zope

2006-10-13 Thread Paul Winkler
for the required methodCall element. If missing, it can't be XML-RPC. It would be more reliable if some configuration was required to specify when XMLRPC is expected, and when not. But that would break Zope's longstanding promise that XMLRPC is supported for free, always, automatically. -- Paul

Re: [Zope] Zope Crashes When Product Breaks

2006-10-11 Thread Paul Winkler
holds that port. Try something like: ps -wax | grep py -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] manage_beforeDelete

2006-10-09 Thread Paul Winkler
) But if your actual code looks like your example, you should have gotten errors due to missing arguments. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Help! Zope Crashed! Production Server!

2006-10-04 Thread Paul Winkler
/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 ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: [z3-five] A Quick Event-based Cataloging How-to for Zope 2

2006-10-01 Thread Paul Winkler
On Fri, Sep 29, 2006 at 11:23:47PM +0100, Chris Withers wrote: whit wrote: thanks Chris! -w I just wish there was a good and more permenant place to put this... maybe zopewiki.org? thanks for the writeup, very useful and readable! -- Paul Winkler http://www.slinkp.com

Re: [Zope] zope gets killed on startup

2006-10-01 Thread Paul Winkler
. -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope] Path expression in Python based script

2006-09-29 Thread Paul Winkler
it, or some such. -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope] POST from Zope to external server and receive RESPONSE

2006-09-28 Thread Paul Winkler
calls look just like local calls: remote = xmlrpclib.ServerProxy('http://somewhere/something') result = remote.someMethod('param1', 'param2') -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] PYTHONPATH

2006-09-27 Thread Paul Winkler
a bug, but then, I don't recall ever stumbling on it in practice. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-DB] Getting a cursor?

2006-09-27 Thread Paul Winkler
proc. is not an option, this is a third-party database. Any suggestions? p.s. I'll be asking egenix too, we'll see if they reply to help requests without a purchased license... but then, if I can't get this to work there's no point in purchasing one :-] -- Paul Winkler http://www.slinkp.com

Re: [Zope-DB] Getting a cursor?

2006-09-27 Thread Paul Winkler
On Wed, Sep 27, 2006 at 11:51:40PM +0200, Charlie Clark wrote: Am 27.09.2006, 23:44 Uhr, schrieb Paul Winkler [EMAIL PROTECTED]: Any suggestions? p.s. I'll be asking egenix too, we'll see if they reply to help requests without a purchased license... but then, if I can't get this to work

Re: [Zope] Jython port of Zope

2006-09-14 Thread Paul Winkler
. ... and that is very unlikely to change, since zope ships with a number of C extensions. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Remove/Ignore P and other HTML tags

2006-09-14 Thread Paul Winkler
text html_quote=1? If so, remove the html_quote attribute. See http://www.plope.com/Books/2_7Edition/AppendixA.stx#1-20 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] POST sucks.

2006-09-14 Thread Paul Winkler
the data fly by, already decoded and ready to be copypasted into SOAPUI? :) ?: http://www.circlemud.org/~jelson/software/tcpflow/ ?: http://www.soapui.org/ Nice! tcpflow is simple and handy. Anybody know of something like soapui that supports xml-rpc? Bonus points for json-rpc. -- Paul

Re: [Zope] Problem with upgrade from Zope 2.6.1 to Zope 2.9.4

2006-09-13 Thread Paul Winkler
. Was it always that way? I don't know and don't have time to check. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] POST sucks.

2006-09-12 Thread Paul Winkler
me he gets occasional hangs, I have no idea what kind of request triggers the hang. I may end up sprinkling my code with a lot more logging calls than I'm used to. Any other suggestions? -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote: +---[ Paul Winkler ]-- | Been doing web services (XML-RPC) stuff lately. | What suggestions do people have for troubleshooting a zope-based | XML-RPC application? When debugging; o Raise an exception

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
. Thanks! Found it at http://www.wireshark.org/faq.html Unlike tcpdump, it doesn't require pointing clients to a different port (or running on the server and restarting the server on a different port). -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
On Wed, Sep 13, 2006 at 03:04:48AM +1000, Andrew Milton wrote: +---[ Paul Winkler ]-- | On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote: | +---[ Paul Winkler ]-- | | Been doing web services (XML-RPC) stuff lately. | | What

Re: [Zope] POST sucks.

2006-09-12 Thread Paul Winkler
give this a try. FWIW, I've been toying with adding a @log decorator to my methods, along the lines of the logger example at http://soiland.no/software/decorator but i'm having some pain - will report back if i get it working. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Need help tracing my application errors.

2006-09-07 Thread Paul Winkler
will do that: ./bin/zopectl fg or ./bin/runzope Now when the script runs, you'll get a pdb prompt in the terminal where you ran zope. It'll take a little practice to learn to find your way around. At first you'll likely spend some time blindly stepping through the deep guts of Zope... -- Paul

Re: [Zope] custom_zodb.py

2006-09-06 Thread Paul Winkler
encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] custom_zodb.py

2006-09-06 Thread Paul Winkler
. I've never needed to tweak the number of connections, but AFAICT googling for pool-size and either zodb or zope.conf may be helpful. -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] accelerating Zope restart

2006-08-31 Thread Paul Winkler
number of tiny files. - Packing is VERY slow (21 GB could easily take all night). - Somewhat slower than Filestorage in general. - Requires more disk space (+30%). This page is old but maybe still useful: http://cvs.zope.org/ZODB3/Doc/storages.html?rev=1 -- Paul Winkler http://www.slinkp.com

Re: POUND/VHM AND ZOPE HELL!!! was: Re: [Zope] Can't Find This Bug!

2006-08-16 Thread Paul Winkler
web.vi is my personal site? This is not a message that a default zope installation creates. So where does it come from? I've no idea. Is it possible that you've configured something other than zope to generate such a message? e.g. pound? -- Paul Winkler http://www.slinkp.com

Re: [Zope] MySQL queries in Python

2006-08-01 Thread Paul Winkler
('person_id') Never ever pass raw user input to a sql query! If you're not familiar with the phrase sql injection... google it :) The zope book relational databases chapter explains how to use dtml-sqlvar which is one way to avoid the danger. -- Paul Winkler http://www.slinkp.com

Re: [Zope] FTP and Firewall

2006-07-30 Thread Paul Winkler
fine. -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope] DB in Zope

2006-07-25 Thread Paul Winkler
that, it's a dead end IMO. Sooner or later you will run up against feature or syntax differences.) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Check Zope status

2006-07-11 Thread Paul Winkler
diagnose apparent hangs is the trace log, formerly known as the big M log. http://zopewiki.org/TraceLog -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-dev] Re: [Zope3-dev] Re: Stable / Development branches?

2006-06-18 Thread Paul Winkler
On Sun, Jun 18, 2006 at 08:30:58PM +0200, Lennart Regebro wrote: On 6/18/06, Paul Winkler [EMAIL PROTECTED] wrote: +1, I'd like some way to easily know when a release is no longer maintained. i.e., what's the X in the above formula. Well, it's 2 versions, so far. I.e, current release

Re: [Zope-dev] How do I get involved in volunteering?

2006-06-13 Thread Paul Winkler
the Zope Pope. Who approves cvs submissions? Nobody / everybody. i.e. there's no formal process, but people often complain about checkins they disagree with. It's generally resolved informally and amicably. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Modification time problem

2006-06-08 Thread Paul Winkler
. Unfortunately I have no suggestions short of exporting everything and importing it into a fresh instance. How painful this will be is directly proportional to the size of your database :-\ -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: RE : RE : [Zope] Export format documentation

2006-06-08 Thread Paul Winkler
be to write a reasonable migration on the application level based on your current data... actually the XML format can sometimes be quite usable. maybe not for images :) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org

Re: [Zope] dtml forwarding request

2006-06-08 Thread Paul Winkler
much all of these will require you to write some trusted code, i.e. on the filesystem (in a Product or External Method). -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Isolating changes that can only be done globally

2006-05-30 Thread Paul Winkler
/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Isolating changes that can only be done globally

2006-05-30 Thread Paul Winkler
annoyed to fix it myself :) -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope] Preventing Zope Spinning?

2006-05-25 Thread Paul Winkler
, and then remove everyone's permission to add OFS.File instances. Then write zopectl scripts to migrate existing Files. As for people writing bad code - that will always be a problem :) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org

Re: [Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done

2006-05-22 Thread Paul Winkler
: p tal:define=blah nocall:python:int tal:content=python:blah('1')+2 /p -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Re: Can't import ExtZSQLFactory

2006-05-11 Thread Paul Winkler
it for purposes of registering products. Normally in zope 2, product Foo would import stuff from product Bar like so: from Product.Bar import blah -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

[Zope-Checkins] SVN: Zope/branches/slinkp-1447-httpcache-fix-branch/ making a branch to fix collector 1447,

2006-05-04 Thread Paul Winkler
Log message for revision 67975: making a branch to fix collector 1447, AcceleratedHTTPCacheManager doesn't PURGE correctly for virtual hosts Changed: A Zope/branches/slinkp-1447-httpcache-fix-branch/ -=- Copied: Zope/branches/slinkp-1447-httpcache-fix-branch (from rev 67974,

[Zope-Checkins] SVN: Zope/branches/slinkp-1447-httpcache-fix-branch/lib/python/Products/StandardCacheManagers/ Fixes and unit tests for http://www.zope.org/Collectors/Zope/1447:

2006-05-04 Thread Paul Winkler
Log message for revision 67976: Fixes and unit tests for http://www.zope.org/Collectors/Zope/1447: when editing content on a virtual-hosted zope, changes will purge correctly. Also simplified the test framework (no more need to launch an HTTP server). Changed: U

[Zope-Checkins] SVN: Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt Noted fix for 1447 in CHANGES.txt.

2006-05-04 Thread Paul Winkler
Log message for revision 67977: Noted fix for 1447 in CHANGES.txt. Changed: U Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt -=- Modified: Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt ===

[Zope-Checkins] SVN: Zope/trunk/ Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977.

2006-05-04 Thread Paul Winkler
Log message for revision 67978: Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977. Fixes issue with AcceleratedHTTPCacheManager sending PURGE from a virtual-hosted zope, and adds a bunch of related tests and comments. Changed: U Zope/trunk/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/branches/2.9/ Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977.

2006-05-04 Thread Paul Winkler
Log message for revision 67979: Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977. Fixes issue with AcceleratedHTTPCacheManager sending PURGE from a virtual-hosted zope, and adds a bunch of related tests and comments. Changed: U Zope/branches/2.9/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/branches/slinkp-httpcache-improvements-branch/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py added some TODO notes.

2006-05-04 Thread Paul Winkler
Log message for revision 67984: added some TODO notes. Changed: U Zope/branches/slinkp-httpcache-improvements-branch/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py -=- Modified:

Re: [Zope] how to decode base64 in DTML?

2006-05-04 Thread Paul Winkler
Product code *so that* you can import other stuff into Python Scripts. You can't use allow_module *inside* a Python Script, that would defeat the whole purpose :) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope-dev] Better ZDOM examples?

2006-05-02 Thread Paul Winkler
of traversing the zope object tree. Possibly convenient at times but I don't see anything there that can't be done with the normal zope APIs. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-02 Thread Paul Winkler
/mailarchive/forum.php?thread_id=4906719forum_id=9987 some talk about cold failover: http://sourceforge.net/mailarchive/forum.php?thread_id=7828511forum_id=9987 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Permissions, files and folders

2006-04-21 Thread Paul Winkler
source file. And no built-in browsing of documentation afaict. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] zope 2.8.5 becomes unresponsive.

2006-04-20 Thread Paul Winkler
not want to move into the v2.9.x builds. Any guidance appreciated. google for two things: zope deadlock debugger debug spinning zope -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Documentation and Books

2006-04-19 Thread Paul Winkler
concepts still apply. -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope] Install 2.9.2 fails with error: must supply either home or prefix/exec-prefix -- not both

2006-04-17 Thread Paul Winkler
is a perfectly fine place to put non-system software. http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
the rest of the server some time to catch up. Note that this doesn't buy you any improved responsiveness if you're running behind e.g. apache, because apache has to read the entire response from Zope before it starts sending it back to the client. -- Paul Winkler http://www.slinkp.com

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote: Paul Winkler wrote: On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: One solution I've found is to buffer the writes to REQUEST.RESPONSE by using a python script which the calls granular page templates rather than a single

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
One more correction for the archives: On Thu, Apr 13, 2006 at 11:45:41AM -0400, Paul Winkler wrote: On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote: Paul Winkler wrote: Note that this doesn't buy you any improved responsiveness if you're running behind e.g. apache, because apache

[Zope] Strategies for testing generated sql?

2006-04-12 Thread Paul Winkler
as expected against a sample data set. How do people test this sort of thing? Do you go whole-hog and fire up MySQL or whatever? Or use gadfly? sqlite? or what? Are there other tools I should know about? -- Paul Winkler http://www.slinkp.com ___ Zope

Re: [Zope] Strategies for testing generated sql?

2006-04-12 Thread Paul Winkler
be interested in. I have never written tests of generated SQL before. I will try to post a sample for Zope2, just to give an idea of what could be done. That would be very helpful, thank you. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Testing/tests/test_makerequest.py Belatedly removed test for the reverted 2057 bugfix. Whoops.

2006-04-11 Thread Paul Winkler
Log message for revision 66856: Belatedly removed test for the reverted 2057 bugfix. Whoops. Changed: U Zope/branches/2.9/lib/python/Testing/tests/test_makerequest.py -=- Modified: Zope/branches/2.9/lib/python/Testing/tests/test_makerequest.py

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Paul Winkler
? -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope] calling a product with xmlrpc

2006-04-11 Thread Paul Winkler
NotFound, I haven't seen that. Maybe I'm just so used to running in debug mode that I've fixed all these before they ever got to a production server ;-) -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope-dev] Is there a function to get the object type?

2006-04-10 Thread Paul Winkler
site to see if it is a 'Folder'. This is really a CMF question and belongs on the zope-cmf mailing list; invokeFactory() is a method of CMFCore.PortalFolder. But to answer your question: someobject.portal_type -PW -- Paul Winkler http://www.slinkp.com

[Zope-Checkins] SVN: Zope/trunk/lib/python/Testing/makerequest.py Fixed makerequest to not use os.environ by default.

2006-04-07 Thread Paul Winkler
Log message for revision 66651: Fixed makerequest to not use os.environ by default. Changed: U Zope/trunk/lib/python/Testing/makerequest.py -=- Modified: Zope/trunk/lib/python/Testing/makerequest.py === ---

[Zope-Checkins] SVN: Zope/trunk/ - Backed out workaround for 2057; on second thought,

2006-04-07 Thread Paul Winkler
Log message for revision 66656: - Backed out workaround for 2057; on second thought, adding a getPhysicalPath() on a request just smells bad, and it's not that hard to roll your own root object. - Fixed thinko with mutable default arg, duh. - Improved docstrings.

[Zope-dev] Re: Zope Test Summaries 2006-04-05

2006-04-07 Thread Paul Winkler
and see what else breaks... -- Paul Winkler http://www.slinkp.com ___ 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

Re: [Zope-dev] Re: Zope Test Summaries 2006-04-05

2006-04-07 Thread Paul Winkler
On Fri, Apr 07, 2006 at 10:04:36AM -0400, Paul Winkler wrote: I may try eradicating os.environ usage from Testing on my trunk sandbox and see what else breaks... Answer: nothing. Committed on the trunk. I did a bit of grepping around too. There are a few tests that twiddle os.environ

Re: [Zope-dev] Re: Zope Test Summaries 2006-04-05

2006-04-07 Thread Paul Winkler
On Fri, Apr 07, 2006 at 12:52:29PM -0400, Paul Winkler wrote: On Fri, Apr 07, 2006 at 10:04:36AM -0400, Paul Winkler wrote: I may try eradicating os.environ usage from Testing on my trunk sandbox and see what else breaks... Answer: nothing. Committed on the trunk. To clarify, I just

[Zope-dev] Re: [Checkins] SVN: Zope/trunk/ Fixed collector 2057: Testing.makequest broke getPhysicalPath()

2006-04-07 Thread Paul Winkler
On Fri, Apr 07, 2006 at 02:35:57PM +0200, Florent Guillaume wrote: Paul Winkler wrote: Using an Item or Folder as your root object for tests works fine except for this one issue, so why not allow that? My feeling is that setting up an app is unnecessary work when you don't need one; for one

[Zope-dev] Re: [Checkins] SVN: Zope/trunk/ Fixed collector 2057: Testing.makequest broke getPhysicalPath()

2006-04-07 Thread Paul Winkler
On Thu, Apr 06, 2006 at 06:01:30PM -0400, Tres Seaver wrote: Paul Winkler wrote: I know who originally added those tests, That would be me. I was hoping you'd pop in :-) I don't see anything wrong with using a non-Zope2-app object for unit testing: in fact, I think it is *superior

[Zope-dev] bug in trunk ZopePageTemplate.py?

2006-04-07 Thread Paul Winkler
) have changed. It used to be that if text was None, the contents of www/default.html would be used. That no longer happends, and pt_edit can't accept None for the text. Was this intentional or is it a bug? -- Paul Winkler http://www.slinkp.com ___ Zope-Dev

Re: [Zope-dev] bug in trunk ZopePageTemplate.py?

2006-04-07 Thread Paul Winkler
On Fri, Apr 07, 2006 at 09:50:06PM +0200, Andreas Jung wrote: --On 7. April 2006 15:37:38 -0400 Paul Winkler [EMAIL PROTECTED] wrote: This is because the semantics of ZopePageTemplate(id, text=None) have changed. It used to be that if text was None, the contents of www/default.html would

[Zope-Checkins] SVN: Zope/branches/2.9/configure Fixed acceptable versions, it wouldn't accept 2.4.2 properly.

2006-04-06 Thread Paul Winkler
Log message for revision 66597: Fixed acceptable versions, it wouldn't accept 2.4.2 properly. Changed: U Zope/branches/2.9/configure -=- Modified: Zope/branches/2.9/configure === --- Zope/branches/2.9/configure 2006-04-06

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py Tests should not pollute os.environ when a dict will do just fine;

2006-04-06 Thread Paul Winkler
Log message for revision 66605: Tests should not pollute os.environ when a dict will do just fine; this caused failures in testVirtualHostMonster when Testing/makerequest was modified. Changed: U Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py -=-

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py Merged environment pollution fix from 2.9 branch.

2006-04-06 Thread Paul Winkler
Log message for revision 66609: Merged environment pollution fix from 2.9 branch. Changed: U Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py -=- Modified: Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Testing/ Reverting refactoring of ZopeTestCase.utils.makerequest,

2006-04-06 Thread Paul Winkler
Log message for revision 66621: Reverting refactoring of ZopeTestCase.utils.makerequest, and the related addition of an environ argument to Testing.makerequest. This was not a bugfix, thus inappropriate for the stable branch. Apologies. Changed: U

Re: [Zope-dev] Zope Test Summaries 2006-04-05

2006-04-06 Thread Paul Winkler
-q -all before checking in so I'm not sure how that happened. Investigating. -- Paul Winkler http://www.slinkp.com ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] Re: What from zope.app are you using

2006-04-06 Thread Paul Winkler
On Wed, Apr 05, 2006 at 10:30:05PM +0200, Philipp von Weitershausen wrote: Paul Winkler wrote: Aside from stuff mentioned on your proposal, we are using macros from zope.app.rotterdam.standardmacros. Aha. Why? Are you actually using parts of the Rotterdam skin? Heh. Actually, a closer

<    1   2   3   4   5   6   7   >