Re: [Zope-dev] How is memory shared between Zope threads?

2001-03-05 Thread Toby Dickenson
e in with a definitive >answer. The object cache only contains up-to-date objects when a transaction starts. ZODB will also raise a ConflictError when loading an object into the cache for reading, if it has been modified since the start of the transaction. Toby Dickenson [EMAIL PROTECTED]

Re: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread Toby Dickenson
On Mon, 5 Mar 2001 10:56:38 -0500, Tim McLaughlin <[EMAIL PROTECTED]> wrote: >Is there a hook for before the transaction is committed for objects which >subclass Persistent? __getstate__ ? But why would you want that? Toby Dickenson [EMA

Re: [Zope-dev] _getOb or __getattr__?

2001-03-12 Thread Toby Dickenson
On Wed, 07 Mar 2001 09:49:09 -0500, Shane Hathaway <[EMAIL PROTECTED]> wrote: > Invoking C from Python >is fast, but invoking Python from C apparently requires a lot of work. Invoking a python function from anywhere (even from another python function) requires alot of work. To

Re: [Zope-dev] Zope not start as win2000 services

2001-03-12 Thread Toby Dickenson
> >Does this means some conflict between the python2 and >the 1.52 from zope? > >Can somebody give me instructions to solve this? > Sounds like python 1.5.x binary is picking up the python 2.0 library Toby Dickenson [EMAIL PROTECTED]

Re: [Zope-dev] ZCatalog Bug?

2001-03-16 Thread Toby Dickenson
On Fri, 16 Mar 2001 08:48:09 -0500, Edmund Goppelt <[EMAIL PROTECTED]> wrote: >Could the author have meant to write 'Exception' here instead of 'Except'? > >I am running Zope 2.3.0 stable. The current cvs has this changed to 'except Attribute

Re: [Zope-dev] Python 2

2001-03-21 Thread Toby Dickenson
instead of the bundled one. That wont be quite enough on win32, not sure about other platforms. The binary release contains extensions that link with the python15.dll They need to be recompiled for 2.0, and will then link with python20.dll Toby Dickenson [EMAIL PROTECTED] _

Re: [Zope-dev] html version of zope site

2001-04-19 Thread Toby Dickenson
aking a copy of your content you will need to use VirtualHostMonster (or something similar) so that they refer to the final server. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zop

Re: [Zope-dev] forking of the mailing list

2001-04-25 Thread Toby Dickenson
today, but that doesnt mean that it is wholly irrelevant to me. This morning (for me) zope-dev had 87 new messages in 29 threads. Do people really find this to be too many? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] h

Re: [Zope-dev] ANN: Proposal ContentNegotiation

2001-05-03 Thread Toby Dickenson
fore that I would be more than happy for these to be rolled into the Zope core, and they do cover a large part of your CSN problem (plus several related problems that you havent realised yet. ;-) Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev mailli

Re: [Zope-dev] ANN: Proposal ContentNegotiation

2001-05-03 Thread Toby Dickenson
On Thu, 03 May 2001 17:14:28 +0100, Toby Dickenson <[EMAIL PROTECTED]> wrote: >On Thu, 3 May 2001 11:45:58 -0400, "Andreas Jung" ><[EMAIL PROTECTED]> wrote: >> http://dev.zope.org/Wikis/DevSite/Proposals/HTTPContentNegotiation >http://www.zope.org/Members

RE: [Zope-dev] ANN: Proposal ContentNegotiation

2001-05-04 Thread Toby Dickenson
> -Original Message- > From: Andreas Jung [mailto:[EMAIL PROTECTED]] > Sent: 03 May 2001 20:23 > To: Toby Dickenson > Cc: zope-dev > Subject: Re: [Zope-dev] ANN: Proposal ContentNegotiation > > > > From: "Toby Dickenson" <[EMAIL PROTECTED

Re: [Zope-dev] Conflict Errors

2001-01-03 Thread Toby Dickenson
27;t, >'cos they're python builtins, which I'm pretty certain was the problem >in my case... That is exactly correct. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailm

Re: [Zope-dev] manage_workspace => index_html

2001-05-15 Thread Toby Dickenson
ionally in IE, but very very rarely and control-F5 (to refresh the page) always makes it go away. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encodin

Re: [Zope-dev] convert zope objects to unicode

2001-05-17 Thread Toby Dickenson
standard unicode support, when it arrives, will be based on these patches. (ps, Ill be releasing an updated patch for Zope 2.3.2 in the next few days) Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/m

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Toby Dickenson
iable, and efficient (given that conflict/retries are rare) then I dont understand the motivation > But I want it to be more reliable, especially so that >ZCatalog can be used in ZODB applications outside Zope. Is it because other non-Zope applications might not be so proficient at perfo

Re: [Zope-dev] memory eating Zope..

2001-06-05 Thread Toby Dickenson
s that Zope's xml-formatted export doesnt handle unicode objects. If you find anything that doesnt work, it will have to be fixed for Zope 2.4, and it shouldnt be too hard to back-port that fix into 2.3.x. Having said that, Python's garbage collector *needs* support from container o

Re: [Zope-dev] context bindings in python products

2001-06-06 Thread Toby Dickenson
tice >> in zope? Context-based programming is usually wrong, but not always. If you explain what you are trying to achieve then we may be able to point out a better alternative. (some early drafts of the Zope book encouraged context-based programing in scenarious where it was quite dangerous; Im

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Toby Dickenson
On Thu, 31 May 2001 10:36:55 -0400 (EDT), Shane Hathaway <[EMAIL PROTECTED]> wrote: >On Thu, 31 May 2001, Toby Dickenson wrote: > >> On Thu, 31 May 2001 10:03:31 -0400 (EDT), Shane Hathaway >> <[EMAIL PROTECTED]> wrote: >> >Right now ZCatalog randomly gen

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Toby Dickenson
onflict on the root catalog object, but not on the index BTrees. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - ht

[Zope-dev] Re: [Zope] 60GB Data.fs?

2001-06-06 Thread Toby Dickenson
tor) StandardCacheManager's HTTP implementation is easy to use, but a little simplistic. You can achieve more (with only a little effort) by handling the caching headers yourself. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PR

Re: [Zope-dev] Zope Apache and Streaming

2001-06-13 Thread Toby Dickenson
e to stream data to the client. > >Can anyone help to solve this problem ?? How are you gluing apache to zope? if apache is proxying http (as with mod_proxy, or mod_rewrite) then it works fine. Im not sure about pcgi... Toby Dickenson [EMAIL PROTECTED]

[Zope-dev] replicating storages

2001-06-18 Thread Toby Dickenson
ttp://www.zope.org/Wikis/DevSite/Projects/ZEOReplicatedStorage/SurviveTotalLossOfStorage> Until then, http://www.it.uc3m.es/~ptb/nbd/ looks promising. Has anyone tried FileStorage over a network block device? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev ma

Re: [Zope-dev] Proposed proposals: password encryption, ZODB RAM

2001-06-19 Thread Toby Dickenson
p of cvlass instances. This must have a significant memory footprint. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - h

Re: [Zope-dev] Zope 2.4: Unicode, Berkeley Storage?

2001-06-21 Thread Toby Dickenson
linked below. I have commercial products that use this Unicode support, so you can be sure it will be maintained for some time. Further, DC have committed to providing similar in Zope 2.4.x and there is a good chance that it will be based on these patches. http://www.zope.org/Members/htrd/wstring

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Toby Dickenson
ibe this type of license clause, however I wonder whether you (personally, or as an organisation) really find it to be 'obnoxious'? Personally, I am *happy* to respect clause 4. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PR

RE: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Toby Dickenson
> > >and the 'obnoxious advertising clause' > > >seemingly puts a stop to it.. > > > > I understand that 'obnoxious advertising clause' is the > phrase used by > > the FSF to describe this type of license clause, however I wonder > > whether you (personally, or as an organisation) really find it

Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-26 Thread Toby Dickenson
t ZCatalog. A recent release (im not surwe which, 2.3.2?) has a new BTree implementation that reduces bloat by modifying fewer buckets (it also doesnt have the column showing index size) Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROT

Re: [Zope-dev] Hey Chris, question for you

2001-06-27 Thread Toby Dickenson
gn goal. I thought I observed that characteristic had changed in a recent Zope release... hmmm, Ill take a look. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross p

[Zope-dev] CatalogAware

2001-06-26 Thread Toby Dickenson
re some deeper problems I am not aware of? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/

RE: [Zope-dev] Hey Chris, question for you

2001-06-28 Thread Toby Dickenson
> I think it has changed for FieldIndexes. Yes, from UnKeywordIndex.py newKeywords = getattr(obj, self.id, ()) > You can now make > the distinction > between "doesnt have that attribute" and "attribute is one of > [None, '', [], > ()]" within a Field Index. Reviewing UnKeywordIndex.

[Zope-dev] Re: [Zope] Re: Zcatalog bloat problem (berkeleydb is a solution?)

2001-06-26 Thread Toby Dickenson
>> OID: 37ab8 len 39336 [BTrees.IOBTree.IOBTree] >> OID: 3c610 len 33864 [BTrees.IOBTree.IOBucket] Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross post

[Zope-dev] Re: [Zope] CatalogAware

2001-06-26 Thread Toby Dickenson
cared off by the problem reports in the list archives. IMO fixing this may be worth a little breakage. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] [Problem] Zope/Python2.x incompatibility

2001-07-02 Thread Toby Dickenson
beyone what it is good for; that is trivial document templating. dtml-in is a particularly bad at polluting the dtml namespace (which is particularly serious because you have only got one of them) Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillis

Re: [Zope-dev] [Problem] Zope/Python2.x incompatibility

2001-07-03 Thread Toby Dickenson
>It makes the presentation of database queries really easy Mmmm, too easy. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding!

Re: [Zope-dev] segfaults in cPersistence under 2.6

2003-07-25 Thread Toby Dickenson
tence C API? -- Toby Dickenson - http://www.geminidataloggers.com/people/tdickenson Want a job like mine? http://www.geminidataloggers.com/jobs for Software Engineering jobs at Gemini Data Loggers in Chichester, West Sussex, England ___ Zope-D

Re: [Zope-dev] UndoSearch Timeout

2003-08-07 Thread Toby Dickenson
Is it worth adding it as a new parameter to these functions? -- Toby Dickenson - http://www.geminidataloggers.com/people/tdickenson Want a job like mine? http://www.geminidataloggers.com/jobs for Software Engineering jobs at Gemini Data Loggers in Chichester, West Sussex, England

Re: [Zope-dev] Cache growing during single REQUEST

2003-09-05 Thread Toby Dickenson
stand a chance of beind processed > normally. I havent seen a mention of ulimit or autolance earlier in this thread They are mostly adequate protection against the work problems. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Cache growing during single REQUEST

2003-09-05 Thread Toby Dickenson
e as many zopes, each with half as many publisher threads. (assuming you already have zeo, of course) > I'm also keen for users to nto > get MemoryErrors, but to just have their request take much longer ( cache > thrashing and the like...) use squid, and it will retry the request.

Re: [Zope-dev] Re: Catalog performance

2003-09-11 Thread Toby Dickenson
On Thursday 11 September 2003 03:03, John Barratt wrote: > I think ghosts > are only 'removed' after a restart, fyi, ghosts are removed from memory using reference counting. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-09-25 Thread Toby Dickenson
On Thursday 25 September 2003 11:51, Chris Withers wrote: > Hmmm, does _p_deactivate() clear the contents of the object's _v_ > variables? Yes -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/li

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-09-26 Thread Toby Dickenson
On Friday 26 September 2003 09:32, Chris Withers wrote: > Toby Dickenson wrote: > > On Thursday 25 September 2003 11:51, Chris Withers wrote: > >>Hmmm, does _p_deactivate() clear the contents of the object's _v_ > >>variables? > > > > Yes > > Then

[Zope-dev] Re: [ZODB-Dev] ZODB 3.2 feedback

2003-09-29 Thread Toby Dickenson
tried to the beta release. If you've got a current CVS checkout of Zope > > I'm unable to test because of the Python 2.2 requirement :-( Im in the same position, also :-( -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope] Re: [Zope-dev] Using 2.3.2 for Zope 2.7

2003-10-03 Thread Toby Dickenson
On Friday 03 October 2003 15:33, Chris McDonough wrote: > Jim is keen to get an audit going quickly before a 2.7 > final release, and the audit would be performed against Python 2.3.2. Does anyone else have an interest in blessing Zope 2.6.x with Python 2.2/2.3 ? -- Toby Dic

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-09 Thread Toby Dickenson
omething similar that guarantees it will _not_ be cleared until the end of the transaction? -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Relate

Re: [Zope-CMF] Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-12 Thread Toby Dickenson
On Friday 10 October 2003 18:34, Dieter Maurer wrote: > Toby Dickenson wrote at 2003-10-10 07:54 +0100: > > ... > > A while ago there was a discussion on zodb-dev about _v_-like attributes > > that would be automatically cleared at the end of a transaction. Do we >

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-15 Thread Toby Dickenson
t just at transaction > > boundaries. > > Agreed. Are there any situations, apart from the already discussed CMF > skindata, where this currently isn't the case? every database adapter? (I guess, but havent checked) -- Toby Dickenson ___

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-15 Thread Toby Dickenson
at transaction boundaries. This is desirable from a cache management point of view. Apart from the most trivial cases, it would allow _v_ attributes to disappear at random. Its a similar problem to the one that makes it hard to write an optimiser for py

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-15 Thread Toby Dickenson
immediately thereafter. If you are seening that then I think you need a bigger cache. And possibly fewer publisher threads. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross p

Re: [Zope-dev] Making Zope accept international characters in Id's

2003-10-20 Thread Toby Dickenson
gt; I'm gonna go with that last one if nobody complains. consider this a complaint. character encodings should be applied at zopes boundary, not in the middle of its processing. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http:/

Re: [Zope-dev] _p_deactivate() and _v_ variables?

2003-10-23 Thread Toby Dickenson
On Thursday 23 October 2003 08:07, Chris Withers wrote: > Toby Dickenson wrote: > > Apart from the most trivial cases, it would allow _v_ attributes to > > disappear at random. Its a similar problem to the one that makes it hard > > to write an optimiser for python code, and

Re: [Zope-dev] cvs.zope.org down

2003-10-23 Thread Toby Dickenson
On Tuesday 21 October 2003 18:08, Jens Vagelpohl wrote: > Just a quick heads-up: > Then we will start restoring the data > from the old drives. That makes me nervous. How will you know that the sources in cvs havent been compromised? -- Toby

[Zope-dev] Re: _v_ variables and cache garbage collection

2003-10-23 Thread Toby Dickenson
On Thursday 23 October 2003 18:52, Chris Withers wrote: > What in the ZODB cache or other ZODB code could be causing _v_ variables to > stick around after they've been set to None in their containing objects? reference cycles -- Tob

Re: [Zope-dev] Unicode id's and utf8 url encoding

2003-11-11 Thread Toby Dickenson
+1 on starting a prototype now, but I cant see this landing before 2.8. This is going to break every use equivalent to getattr(some_object, id). Its not obvious to me how this can be cleanly resolved in zope 2. -- Toby Dickenson ___ Zope-Dev maillist

Re: [Zope-dev] Re: Zope 2.7.0 b3 regressions

2003-12-08 Thread Toby Dickenson
nagement) so we hit all these problems early enough to fix the damage cheaply. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - h

Re: [Zope-dev] Re: Zope 2.7.0 b3 regressions

2003-12-09 Thread Toby Dickenson
Why doesn't absolute_url(1) include a leading slash? > I don't think I've ever seen a use of absolute_url(1) > that didn't have to add the slash. What was the rationale > originally? Because / looks nicer than without the slash ? -- Toby Dickenson _

Re: [Zope-dev] Re: Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-09 Thread Toby Dickenson
On Tuesday 09 December 2003 16:24, Evan Simpson wrote: > Summary: absolute_url(1) Looks good. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encod

Re: [Zope-dev] ZServer HTTP 1.1 support

2003-12-11 Thread Toby Dickenson
t headers - I forget the details. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announ

Re: [Zope-dev] 2.7 management_page_charset cannot be callable anymore

2004-01-16 Thread Toby Dickenson
x27;ll skip it > and live with my Formulator hack solution. Can you point me to a desicription of this hack please. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] cPickleCache endless loop...

2004-01-26 Thread Toby Dickenson
ted, put your __del__ on a non-persistent sub object. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/

Re: [Zope-dev] ZODB load state error

2004-01-26 Thread Toby Dickenson
On Monday 26 January 2004 12:08, Thyb wrote: > What could be the problem? That indicates that you are out of memory. If that doesnt seem right, maybe your storage is corrupt in a manner that the unpickler interprets as something with a huge memory footprint. -- Toby Dicken

Re: [Zope-dev] cPickleCache endless loop...

2004-01-26 Thread Toby Dickenson
On Monday 26 January 2004 17:22, Tim Peters wrote: > It's actually that the number of __del__-resurrecting objects *plus* the > number of non-ghostifiable objects in cache is larger than the cache target > size, right? Yes, Right. That is more achievable than I thought. --

Re: [Zope-dev] cPickleCache endless loop...

2004-01-27 Thread Toby Dickenson
On Tuesday 27 January 2004 19:08, Tim Peters wrote: > Maybe Toby remembers which release(s) of ZODB the > current cache implementation first appeared in Zope 2.6 -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zo

Re: [Zope-dev] cPickleCache endless loop...

2004-01-27 Thread Toby Dickenson
unchanged. Any of these troublesome objects that move themselves to the top of the LRU list *during* the scan will end up *after* the scan terminator node, and therefore do not get rescanned. This works for me on 2.6, which is the only branch Im set up to use at the moment. -- Toby Dickenson

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-11 Thread Toby Dickenson
Before creating a session, check the size of the ZRendezvous backlog. might work. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - ht

Re: [Zope-dev] How to make Zope fail nicely under high load?

2004-02-12 Thread Toby Dickenson
your cache between publisher threads on different Zope instances. (my apologies if this is obvious) -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encodin

Re: [Zope-dev] Zope, forking and cpu-affinity

2004-02-12 Thread Toby Dickenson
es for a single instance... one of them is the supervisor process that restarts the main zope process if it crashes. the others are all threads of one process. one main medusa thread, and 4 publisher threads. -- Toby Dickenson ___ Zope-Dev mail

Re: [Zope-dev] Proposal (was How to make Zope fail nicely under high load?)

2004-02-19 Thread Toby Dickenson
cussed on the list > before; basically do away with the Medusa request queue altogether and > use listen()'s backlog instead. Last week you were keen that medusa keep processing requests so that it can return a 503 error quickly. I guess your view on that requirement has

Re: [ZODB-Dev] Re: BTrees strangeness (was [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

2004-03-11 Thread Toby Dickenson
orted now. I have applications that send emails in error handlers. MailHost isnt transactional today, but Ive always wanted it to be. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No c

Re: [Zope-dev] Display Files from directory

2004-03-16 Thread Toby Dickenson
On Monday 15 March 2004 12:59, Darshan Preet Singh Manku wrote: > file = 'C:\tmp' try 'C:/tmp' or 'C:\\tmp'. unless your file name really does contain a tab character ;-) -- Toby Dickenson ___ Zope-Dev ma

Re: [Zope-dev] performance tuning of ZODB

2004-04-22 Thread Toby Dickenson
ber of threads. Reducing the number of worker threads lets you increase the per-thread cache size. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] performance tuning of ZODB

2004-04-22 Thread Toby Dickenson
that parameter now ;-) -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] 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-dev] Unicode in Zope 2 (ZMI, Archetypes, Plone, Formulator)

2004-04-26 Thread Toby Dickenson
good advice. > None of the above components handles Unicode in this way, but it seems to > be how the Unicode support in Zope 2 was meant to be used. That is correct. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.z

[Zope-dev] Re: [ZODB-Dev] RFC: Multi-Databases

2004-05-05 Thread Toby Dickenson
ce (either in a filesystem or zodb database). Can you give some examples? -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] any limits on object number?

2004-07-14 Thread Toby Dickenson
any of that is a benefit to you, and Folders arent the only kind of ZODB container. I suspect you would be better off directly using a BTree of some kind. -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinf

Re: [Zope-dev] Reporting X-FORWARDED-FOR into the log ( REMOTE_ADDR )

2004-07-23 Thread Toby Dickenson
sted-proxies" in the zope configuation file. and you mean X-FORWARDED-FOR, not -FROM, right? -- Toby Dickenson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! *

[Zope-dev] Documentation

2004-10-05 Thread Toby Dickenson
change suggestions. In particular, my notes on using squid with zope, and the changes I originally drafted for the Zope Developers Guide on using unicode in Zope. Is there now a more approporiate place to hold this documentation where it can be maintained? Thanks in advance, -- Toby

Re: [Zope-dev] Problems with CatalogAware?

2001-09-11 Thread Toby Dickenson
s... .good. > self._setObject(id, ad) You add the new object to the folder. The folder calls ad.manage_afterAdd (or whatever its called), which in the case of CatalogAware calls index_object. Everything looks right to me. The catalog should contain the real values. Toby Dickenson [EMAIL PR

[Zope-dev] Medusa Patch Lost

2001-09-20 Thread Toby Dickenson
return '' ! REQUEST = re.compile('([^ ]+) (?:[^ :?#]+://[^ ?#/]*)?([^ ]+)(( HTTP/([0-9.]+))$|$)') def crack_request (r): m = REQUEST.match (r) Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.z

[Zope-dev] zLog and stderr

2001-09-26 Thread Toby Dickenson
been closed. I think it makes sense that Zope should replace sys.stderr with an object that sends messages to zLog, however zLog itself sometimes wites to sys.stderr. Any thoughts on the right way to fix this? Toby Dickenson [EMAIL PROTECTED] ___ Zope

Re: [Zope-dev] HTMLFile vs DTMLFile

2001-09-27 Thread Toby Dickenson
caller. This makes it very easy to open a security hole. HTMLFile should be avoided unless you have a very good reason to need it. (there was a full description of the potential security hole in the Collector) Toby Dickenson [EMAIL PROTECTED] ___ Zope-

[Zope-dev] syslog

2001-10-01 Thread Toby Dickenson
is possible to separate the two using syslog rules. Am I missing something? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-10-01 Thread Toby Dickenson
ahead and get the >bootstrap group (under ten, selected by us) going? I'd like to avoid >making them sign and mail an agreement, then do it again if there's >substantive changes. Yes, I think it is close enough to get started. Toby Dickenson [EMAIL PROTECTED] ___

RE: [Zope-dev] syslog

2001-10-01 Thread Toby Dickenson
> I'll admit that I don't know. The ZLogger module makes some > noise about > syslog, but I dont even know if and when that module is used > (as opposed > to the zLOG module). It is actually always used unless Zope is started read-only. Its not easy to follow *how* this happens - and I am st

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-10-01 Thread Toby Dickenson
y clause. If one half-owner were to make the source available under a different license without such a clause, would the other half-owner be liable too? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/

Re: [Zope-dev] syslog

2001-10-03 Thread Toby Dickenson
On Mon, 1 Oct 2001 20:53:00 +0200, Jerome Alet <[EMAIL PROTECTED]> wrote: >On Mon, Oct 01, 2001 at 04:14:47PM +0100, Toby Dickenson wrote: >> >> A question for all syslog users; is it ever useful to send access logs to >> syslog? (I can't think of good reaso

Re: [Zope-dev] Searching/Indexing/ZODB/SQL/BerkleyDB

2001-11-28 Thread Toby Dickenson
as is? Did you measure ratios (between the two storages) of time per indexing operation, or ratios of disk blocks transferred per indexing operation? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mai

Re: [Zope-dev] ZSQL methods lookup vars in REQUEST only (why?)

2001-10-11 Thread Toby Dickenson
current behaves the same as DTML calling PythonScript, pure python functions, extension class functions, or an external method. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zo

Re: [Zope-dev] Open Letter to zope-dev

2001-11-30 Thread Toby Dickenson
proposals that are not aligned with current zope.com project. I thinks thats true of fishbowl projects, and the second of true of smaller collector-hosted issues too. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists

Re: [Zope-dev] Open Letter to zope-dev

2001-12-03 Thread Toby Dickenson
. >The opening of the CVS >is a good starting point but I would like to see more people contributing. So far it really does appear that nothing will happen about this particular issue until it is needed by a zope.com consulting project. If there is anything more that I can do then s

Re: [Zope-dev] Zope server speed

2001-12-06 Thread Toby Dickenson
it after that time (call SQL and print >> data via TAG). Yes, the SQL driver abstraction layer is slower than it could be. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-

Re: [Zope-dev] New Security Rules ... are very frustrating

2001-12-07 Thread Toby Dickenson
it. > And setting >__allow_access_to_unprotected_subobjects__ does not help much either You set this on the Y? in what way does it not work? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Toby Dickenson
ink this is a bug As I understand it, that package is designed to leave cyclic garbage around under the assumption that python's garbage collector will break the cycles. Early versions of bytecodehacks broke the cycles manually, at a great performance cost. Toby Dick

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-18 Thread Toby Dickenson
s sense for the simple virtual-hosting scenario of one-folder-per-virtual-hosts, however what you suggest cant be achieved in the general case. Given an arbitrarily complicated set of rewrite rules, the concept of 'Site Root' is not well defined. Its called VirtualHost*Monster* for a reason ;

Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-19 Thread Toby Dickenson
On Wed, 19 Dec 2001 06:07:00 +1100, Anthony Baxter <[EMAIL PROTECTED]> wrote: >For me, I run the ZEO server without GC (because that stops the stomped >stack bug killing the ZEO server) Do you have reason to believe that this bug can affect the ZEO server? that would be very

Re: [Zope-dev] File/stream like Pdata class in Zope?

2002-01-07 Thread Toby Dickenson
ng? I thought I needed something similar at one time too, but the non-blocking options are probabnly better. If you want non-blocking, File objects use RESPONSE.write which is a good start for rolling your own implementation. Toby Dickenson [EMAIL PROTECTED] _

Re: [Zope-dev] Defining Interfaces

2002-01-30 Thread Toby Dickenson
uld you include self? But what if you were defining an interface as a Python class, with the target language being . Would you include self? I think my conclusion here is that using python classes to define interfaces may be counterproductive. Toby Dickenson [

Re: [Zope-dev] Defining Interfaces

2002-01-30 Thread Toby Dickenson
python classes to define >> interfaces may be counterproductive. > >It may be the best we have (it's best understood by the target development >audience) As a product author I thought I *was* the target audience. >..[1] http://python.sourceforge.net/peps/pep-0245.html A good r

Re: [Zope-dev] Adding gzip compression to HTTPResponse.py

2002-02-06 Thread Toby Dickenson
can do this (and has done for ages). Support in squid has stalled (http://devel.squid-cache.org/projects.html#te). Although I still think this is the way of the future, I suspect the short-term advantage of content-encoding the way you implemented it may be an advanatge for longer than I origi

Re: [Zope-dev] Adding gzip compression to HTTPResponse.py

2002-02-07 Thread Toby Dickenson
oding support to Zope is a good thing only if your front-end proxy does not support on-the-fly Transfer-Encoding. I think apache does, but squid does not. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope-dev] Re: [Zope-Coders] Zope 2.6 planning - call for contributors!

2002-03-01 Thread Toby Dickenson
On Thursday 28 February 2002 3:00 pm, Brian Lloyd wrote: >Paul sent a note to zope-coders some time back fishing for >some feedback regarding planning for a Zope 2.6 (excepted): >> I propose that planning for a 2.6 focus on the following thoughts: >I wholeheartedly agree that 2.6 needs to be sig

<    1   2   3   4   >