Re: [Zope] Finding stylesheet

2006-03-20 Thread Paul Winkler
/reference/css/units.html#urls -- 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] newbie zopectl

2006-03-20 Thread Paul Winkler
/apache/zope2.8.6/plone2.1.2 i have looked at virutalhostmonster but is it more efficient to use apache mod_rewrite rules? You typically use both. http://zopewiki.org/ZopeAndApache -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] error while importing

2006-03-21 Thread Paul Winkler
://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/zope ** No cross posts or HTML encoding

Re: [Zope] error while importing

2006-03-21 Thread Paul Winkler
installed at all. Judging by the immediately previous warning, it may be a plone installation problem? In which case you might get better responses on the Plone list. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http

Re: [Zope] single sign-on

2006-04-01 Thread Paul Winkler
those apache flags; but you might have a look in zope's REQUEST.environ mapping ... maybe it Just Works? *shrug* -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

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

[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

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

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] 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] 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] 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] 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] 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] 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

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] 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] 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] 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] 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] 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] 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: 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] 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: [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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] debugging a wayward zope process

2007-01-24 Thread Paul Winkler
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 ) -- Paul Winkler http://www.slinkp.com

Re: [Zope] python script syntax

2007-02-14 Thread Paul Winkler
getattr() in Python's documentation. -- 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

Re: [Zope] Re: Zope 2 and Zope 3

2007-02-15 Thread Paul Winkler
filesystem-based DTML (using Globals.DTMLFile). Right. But that's a bit of a pain when you have dozens or hundreds of DTML methods and your first priority is just to get stuff out of the ZODB and into source control without breaking anything. -- Paul Winkler http://www.slinkp.com

Re: [Zope] How to get REST friendly urls from sql database

2007-02-20 Thread Paul Winkler
/ZPublisher -- 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] How to get REST friendly urls from sql database

2007-02-21 Thread Paul Winkler
On Wed, Feb 21, 2007 at 12:32:30PM +0100, Gaute Amundsen wrote: On Tuesday 20 February 2007 17:39, Paul Winkler wrote: snip Another option is that the object at /articles could be an instance of a class that looks something like: class MyArticleContainer(): def

Re: [Zope] How to create a global variable?

2007-02-22 Thread Paul Winkler
for a space like REQUEST.SESSION that is the same for each user of my website (other solutions are welcome). Do you know how to do that? RAM Cache Manager. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Problem On Rebuild

2007-03-05 Thread Paul Winkler
rewritten in Zope's Web server! Where would that be, for 2.7.8? Most likely you have a Virtual Host Monster instance, with some configuration on the Mappings tab. See http://www.plope.com/Books/2_7Edition/VirtualHosting.stx -- Paul Winkler http://www.slinkp.com

Re: [Zope] Two mysql / timestamp related fixes

2007-03-08 Thread Paul Winkler
[FIELD_TYPE.TIMESTAMP] = DateTime_or_None I have found no mention of this anywhere? Have anyone else had this problem Yes, I've observed the same thing, and worked around it with a similar patch. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] dtml Z SQL doubt

2007-03-22 Thread Paul Winkler
will be inserted. This is what I use with MySQL. Or, depending on what you want, the INSERT...ON DUPLICATE KEY UPDATE syntax can be used. http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html Note that both of these idioms are specific to MySQL and not portable to other databases. -PW -- Paul

Re: [Zope] Attribute error

2007-03-23 Thread Paul Winkler
on the /error_log link, and find your error listed there. Click on it to get a more complete traceback. Reply here with that information and you're more likely to get a useful response. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope

Re: [Zope] VirtualHostBase VHM keyword doesn't work.

2007-04-10 Thread Paul Winkler
work? It does. My first guess would be that you don't have a folder named goodbyeken.com. -- 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] manipulating zodb from independent database connection

2007-04-10 Thread Paul Winkler
would get the root application automatically set up for you and bound as app. But you still need to use ZEO. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Problem with using versions.

2007-04-11 Thread Paul Winkler
a whole lot of sense to me. We can't guess which parts don't make sense to you :) Maybe come back with more specific questions here or on IRC? The #zope channel on irc.freenode.net is often quiet, but there's a lot of knowledgable zope people in #plone and that channel is more active. -- Paul Winkler

Re: [Zope] xmlrpc error handling

2007-04-11 Thread Paul Winkler
any error an ZPublisher.xmlrpc will marshall it into fault/fault? The latter. Try it and see :) AFAICT any uncaught exception will be published as an xmlrpc fault. But then I think you don't have control of the fault code, if you care about that. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Problem with using versions.

2007-04-11 Thread Paul Winkler
On Wed, Apr 11, 2007 at 01:53:42PM -0500, Catherine E. Reinehr wrote: I had no idea versions were so buggy; I wouldn't have used them in the first place if I had. :/ Not your fault, all the old documentation encourages people to use them :( -- Paul Winkler http://www.slinkp.com

Re: [Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread Paul Winkler
. Without this information, you will be unable to load the .zexp. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Zope 2 Development Best Practices

2007-04-13 Thread Paul Winkler
ways. You might start here: http://wiki.zope.org/zope2/DiskBasedProduct http://wiki.zope.org/zope2/Testing http://wiki.zope.org/zope2/BestPractices -- Paul Winkler http://www.slinkp.com ___ Zope maillist - [EMAIL PROTECTED] http://mail.zope.org

Re: [Zope] Scaling problems, or something else?

2007-05-09 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] Scaling problems, or something else?

2007-05-15 Thread Paul Winkler
chain of small persistent objects. So whereas a Plone Document or a Page Template needs only one entry in the cache, an Image might need hundreds. -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Paul Winkler
time, I don't think it makes sense to keep deploying more and more badly tuned instances. That's what I consider blind shotgun scaling :) You need to scale, but you also need to tune - and you need to be pragmatic about which is the appropriate approach at any given point in time. -- Paul Winkler

Re: [Zope] Scaling problems, or something else?

2007-05-16 Thread Paul Winkler
affinity without any special configuration. At some point Varnish url rewriting wil be good enough, and then we can cut apache out of it too.. I highly doubt Apache will become your bottleneck anytime soon :) But of course it's one more thing to admin. -- Paul Winkler http://www.slinkp.com

Re: [Zope] Re: MemoryError exception when importing a zexp file

2007-05-31 Thread Paul Winkler
this yet. Summary: Go and ask the plone people, if you can't import anyway, the whole exercise is in vain. +1 -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread Paul Winkler
recommended ways. The Zope Developper Guide, although quite old, still contains valuable information about Zope product writing. Here are some other useful links: http://wiki.zope.org/zope2/DiskBasedProduct -- Paul Winkler http://www.slinkp.com

Re: [Zope] a couple of basic questions

2007-06-20 Thread Paul Winkler
, and baz is in (or can be acquired by) bar. Finally, restrictedTraverse() is your friend: foo.restrictedTraverse('bar/baz') works like foo.bar.baz -PW -- Paul Winkler http://www.slinkp.com ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Re: comments toggling not working for Zope Book etc

2007-06-21 Thread Paul Winkler
/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 ) -- Paul Winkler http://www.slinkp.com ___ Zope maillist

Re: [Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Paul Winkler
restarted zope after... should i?) . Yes. Changes to filesystem code require a restart. -- 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] Unit Testing DTML and ZPT

2007-07-26 Thread Paul Winkler
. Then your templates simply present this data. -- 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] missing images

2007-08-07 Thread Paul Winkler
** 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

<    1   2   3   4   5   6   7   >