[Zope-dev] Slow startup times

2000-05-19 Thread Toby Dickenson
, all my machines can now restart Zope in under 3 seconds ;-) http://classic.zope.org:8080/Collector/1260/view Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Python 1.6

2000-06-26 Thread Toby Dickenson
On Fri, 23 Jun 2000 21:27:43 +0200 (CEST), Dieter Maurer [EMAIL PROTECTED] wrote: Toby Dickenson writes: I'm about to start looking at running Zope on python 1.6 (Im feeling the need for better Unicode support). Almost surely, it will work. But it probably will not use the Unicode support

Re: [Zope-dev] Product author's guide to Zope 2.2+ is ready...

2000-06-27 Thread Toby Dickenson
it, the subobjects that they manage (ie properties and folder items) now fall into the inaccessible-by-default category. What am I missing? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

Re: [Zope-dev] BTreeFolder released

2000-07-07 Thread Toby Dickenson
thousands (well, I've tested it with only 1536, but I don't know of any limit) of objects with a user interface optimized for such a large folder. I'm interested, but don't have time to install it at the moment. Could someone post a gif of it's user interface please? Toby Dickenson [EMAIL

Re: [Zope-dev] Proposed interface: Restricted creation

2000-07-10 Thread Toby Dickenson
Manager derived container, add def all_meta_types(self): return _meta_types_registry Then use register_xxx_class(context,.. in place of context.registerClass. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PR

Re: [Zope-dev] Re: Acquisition (was: [Zope-dev] Overriding a method in an instance.)

2000-07-11 Thread Toby Dickenson
On Mon, 10 Jul 2000 13:14:17 -0400, Shane Hathaway [EMAIL PROTECTED] wrote: P.S. I wouldn't mind if someone posted this as a HOWTO. :-) I think theres two, slighly different versions in already HOWTOs ;-) Any chance of getting this into the Zope distribution? Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] Re: [Zope] Optimization and speed

2000-07-17 Thread Toby Dickenson
quickly when viewed over DSL - the connection bandwidth doesnt affect how long the page takes to calculate! A modem user will receive the first few bytes equally quickly - it just takes them longer the receive the rest. Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] Wstring

2000-07-17 Thread Toby Dickenson
rd/wstring The current patch (version 0.3) is incompatible with the previous ones (but this time it 'feels right'. I plan to keep this interface stable). It needs python 2.0, and uses the new built-in unicode type. Toby Dickenson [EMAIL PROTECTED] __

Re: [Zope-dev] Python 2.0

2000-07-24 Thread Toby Dickenson
On Fri, 21 Jul 2000 16:29:23 +0100, Toby Dickenson [EMAIL PROTECTED] wrote: This problem goes away if I don't compile python with garbage collection support. I guess I shouldn't be suprised. Is anyone else using Zope with python 2.0? (on NT, fwiw) I am occasionally seeing protection faults

Re: [Zope-dev] ZODB....

2000-07-26 Thread Toby Dickenson
sage when you posted the message, or there is something strange with the object's type. Unless you are using a pre-release python 1.6 or 2.0 - If so the name of your type might not get printed if it is unicode Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] Ids starting with _

2000-07-31 Thread Toby Dickenson
use they derive from SimpleItem.Item, which has __allow_access_to_unprotected_subobjects__. 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] permissions/authorization on non ZClass/product objects

2000-08-03 Thread Toby Dickenson
in any way. Using __allow_access_to_unprotected_subobjects__ the object doesnt _need_ to have a context (although it might be useful for other things), so you can drop the __of__ Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-10 Thread Toby Dickenson
. There is support for an optional C extension, which gave me a 12x speed increase. Check out the source for xmlrpclib.py for pointers. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Cache-bug in handling of files

2000-08-14 Thread Toby Dickenson
of this header in some detail in a recent HowTo: http://www.zope.org/Members/htrd/howto/caching 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] Data.fs

2000-08-21 Thread Toby Dickenson
of the file gets updated? An incomplete transaction at the end of Data.fs gets ignored and is subsequently overwritten by the next new transaction. Data is always appended to the file. .except during an 'Undo', when one byte is rewritten in the middle of the file. Toby Dickenson [EMAIL

Re: [Zope-dev] Methods with no __roles__ defined no always protected?

2000-08-21 Thread Toby Dickenson
OFS.Item.SimpleItem (that is, almost all high level objects) have the __allow_access_to_unprotected_subobjects__ flag set. Your method would be callable from through-the-web dtml too. The basic rules of Zope security are fairly easy; its the exceptions that cause the problems. Toby Dickenson [EMAIL

Re: [Zope-dev] New version of BTreeFolder

2000-08-31 Thread Toby Dickenson
without causing a conflict, however your creation test has no concurrency. 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

Re: [Zope-dev] Call for a creation_datetime property!

2000-09-06 Thread Toby Dickenson
ed for PTK documents? 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/listinfo/zope-anno

Re: [Zope-dev] Python 1.6, Expected node type 12, got 312

2000-09-06 Thread Toby Dickenson
nt CVS of python 2.0. This (and other) bugs have been fixed relative to 1.6 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] Wiki Pain

2000-09-14 Thread Toby Dickenson
the structured text quoting of python source right first time. 10. There are too many empty pages, because someone has clicked on a ? next to word that happened to be a WikiName. Useful pages lie hidden behind a sea of links to empty pages. rant ends. Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-14 Thread Toby Dickenson
good idea... What's wrong with a mailing list? Is this just a case of NIH? This thread has already been more productive than anything Ive done on a Zope Wiki over the last year, and taken a fraction of the effort. Toby Dickenson [EMAIL PROTECTED] __

RE: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-15 Thread Toby Dickenson
| 1. No threading. On several occasions I have made comments in a Wiki | that were subsequently ignored - I guess because they got lost in the and from the WikiNG proposal: For more elaborate editorial and commentary annotations, i can see layered documents, using mixin

Re: [Zope-dev] DISCUSS: XHTML Templates proposal

2000-09-15 Thread Toby Dickenson
. Rather, the tier is usually refered to as the presentation. When a choice has to be made, such as the Architecture section, Template is used as the temporary choice. so-obvious-you-might-not-have-thought-of-it.. 'Presenter' Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Toby Dickenson
would affect WikiNG until you suggested the issue. The inclusive nature of a mailing list is what makes it a useful community resource. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Toby Dickenson
reached. My preference is that the discussion leading up to that concensus takes place on zope-dev. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] Quixote PTL

2000-09-20 Thread Toby Dickenson
Is anyone using Quixote's PTL? http://www.mems-exchange.org/exchange/software/python/quixote/ It looks like it might be useful in the niche that involves too much logic for DTML, and too much joining-strings-together to make python (or PythonMethods) cumbersome. Toby Dickenson [EMAIL

[Zope-dev] RE: [Zope-ZEO] Advice

2000-09-25 Thread Toby Dickenson
But there are really two ways to do this, either of which is viable. 1. the right way ;-) 2. Code all of your logic using TTW stuff and Zope components. Use the Publisher.Test.test method to call methods of your Zope components in unit tests. Do you really

Re: [Zope-dev] Testing Zope applications

2000-09-26 Thread Toby Dickenson
On Tue, 26 Sep 2000 07:42:29 -0400, Jim Fulton [EMAIL PROTECTED] wrote: Toby Dickenson wrote: I'm not sure exactly what problem you are refering to. It sound's like an issue of depending on a specific acquired name and having the name overridden with something bogus

Re: [Zope-dev] more __call__ ...

2000-09-26 Thread Toby Dickenson
-trivial dtml can be.(and how ugly error-free dtml is) hth, 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

Re: [Zope-dev] Soft links again

2000-09-27 Thread Toby Dickenson
s is a bug in Acquisition. Full report and patch at http://classic.zope.org:8080/Collector/1066/view 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] mailing list 'noise'

2000-09-30 Thread Toby Dickenson
support the mode of discussion that we are advocating *better* than *Todays* Wikis 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] Re: CoreSessionTracking proposal

2000-10-03 Thread Toby Dickenson
i.e. it is secure if the key *is* the data, rather than a key to the data. Can you explain? I do not see what you're getting at. Consider how the tree-tag stores its 'session' data. Its impossible to hijack a tree-tag session because the 'session' state is stored by the client (in the

RE: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Toby Dickenson
Are you suggesting that the session token should actually store session data? As an alternative SessionManager, it appears to have some advatanges that others do not. It is the only option (AFAIK) that avoids the session hijacking problem without relying on security-through-obscurity (the

[Zope-dev] Re: Python 2.0; Garbage Collection

2000-10-06 Thread Toby Dickenson
elif o=='-S': sys.ZMANAGED=1 elif o=='-X': 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

[Zope-dev] SessionManager, BerkeleyDB, and license compatability

2000-10-12 Thread Toby Dickenson
that is 'freely available and redistributable by others'. We are currently using Zope to develop an application that does not fall into this category. It would be a serious problem for us if Zope's core had a dependency on code with this type of license. Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] Xron fragility

2000-10-13 Thread Toby Dickenson
is negligible, and all the plausible alternatives need many more lines of code. Another advantage is that it promotes testability of the scheduled events since it is easy (trivial) to reproduce the environment in which they run when scheduled. Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Toby Dickenson
rg/Members/htrd/howto/FunctionTemplate you would use def a_method(self,md): do_stuff_with(md['param1'],md['param2']) a_method = FunctionTemplate(a_method) Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTE

RE: [Zope-dev] More almost __call__ ;-)

2000-10-13 Thread Toby Dickenson
That looks like it'll do the trick... I wonder if there's any way you can role it up into a Product so that I don't need to have FunctionTemplate.py in each folder of a product that needs to use it? Im working on a set of tools to aid my transition to a dtml-free Zope. Eventually I will

RE: [Zope-dev] Michel's Reply

2000-10-23 Thread Toby Dickenson
I'm not sure I grok what rightness has to do about it. I think this is right, to me wrong == broken. This is not broken. Let me persuade you. * someone adds an property named feed to an object at an intermediate location in the containment heirarchy. This breaks the cron job that

Re: [Zope-dev] Python 2.0 and Zope Status?

2000-10-23 Thread Toby Dickenson
is great. Ive been using it extensively for several months now without problem. 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] Security Confusion :-S

2000-10-23 Thread Toby Dickenson
_permissions__=( ('View',('get_name',),('Anonymous',)), ) 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 -

[Zope-dev] RE: Security requires Acquisition?!

2000-10-24 Thread Toby Dickenson
Okay, this did the trick, but I'm not very happy with the result :-( I don't want the DisplayClass to be acquiring and I don't really see (from a moral standpoint ;-) why I should need to mix in an Acquisiton class to make security work :-S I suspect that was a rhetorical question, but ill

Re: [Zope-dev] Unique and Contant object IDs

2000-10-24 Thread Toby Dickenson
ly wrapped) object. Pathnames are not useful, because they don't last for the object's lifetime. How come? because you want the identity to remain unchanged even after the object is moved? or duplicated? Toby Dickenson [EMAIL PROTECTED] ___ Zope-De

[Zope-dev] RE: Security and Acquisition?!

2000-10-25 Thread Toby Dickenson
Anyone know what those attributes are? Heres a good trick: add this method to your class to see which attributes it is asked for, but doesnt implement. def __getattr__(self,id,reg={}): if not reg.has_key(id): print `id` reg[id]=id raise

Re: [Zope-dev] Large file support

2000-10-25 Thread Toby Dickenson
if the data is larger than the in-memory buffer *and* doesn't already look like a producer with 'more' as a method. Wahay! thats been on my todo list for ages. Ill take a look when I get some time. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev

RE: [Zope-dev] Large file support

2000-10-25 Thread Toby Dickenson
I should also note that if you create a producer, you will have to override the __len__ method to return the entire length of the data. This is because RESPONSE.write doesn't allow you to set the length of a write and there code during output that checks the size of the written object.

RE: [Zope-dev] Bindings and Votings

2000-10-26 Thread Toby Dickenson
...but can you bind self to the context or, more perversely, context to the container? As the first line in your PythonMethod: self,context = context,self But why would you want to? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Toby Dickenson
e, looking at the server console, notice the panel, and click the (only) OK button. Yes, thats a PITA. Have a look at Microsoft's Knowledge Base article Q188296 Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://

Re: [Zope-dev] cPickle.c

2000-11-03 Thread Toby Dickenson
On Fri, 3 Nov 2000 13:03:50 +, Robin Becker [EMAIL PROTECTED] wrote: I see a reference to mymath.h in in cPickle.c is that intentional? With python 2.0 you dont need (and shouldnt use) the cPickle or cStringIO that comes with Zope Toby Dickenson [EMAIL PROTECTED

RE: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Toby Dickenson
That sounds like a bug in an extension module The installed packages on the site are (all the Zope 2.2.2 released with and): ZODBCDA (Installed product ZODBCDA) we use 2 ODBC connection on 2 MSAccess MDB and no python extension. I do not know where and when the problem

Re: [Zope-dev] Adding properties in __init__

2000-11-07 Thread Toby Dickenson
might usually expect. Your object must have a factory method somewhere I suggest adding an extra method to your object (I always name it '_after_create') and arrange for it to be called by your factory once the new object is installed in its container. Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] Cache parameters

2000-11-09 Thread Toby Dickenson
rger cache - with an overall gain in performance. 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.o

Re: [Zope-dev] Re: New Name for Python Methods

2000-11-09 Thread Toby Dickenson
ot adverse to using bytecodehacks in my straight python projects too. Perhaps Im just working with a broader definition of 'method') Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [zope-dev] Splitter

2000-11-09 Thread Toby Dickenson
feel free to contribute some. 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/listinfo/zope-anno

Re: [Zope-dev] Two glaring omissions

2000-11-16 Thread Toby Dickenson
a relational database, there is indeed a way to do that. Hmmm... Or if your ZClass has a python base class, then a __setstate__ method could be added to do the same thing incrementally. Like all changes to a Python base class, this requires restarting the server. Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] Two glaring omissions

2000-11-20 Thread Toby Dickenson
On Thu, 16 Nov 2000 19:51:24 -0500, Tres Seaver [EMAIL PROTECTED] wrote: Toby Dickenson [EMAIL PROTECTED] wrote: On Tue, 14 Nov 2000 15:39:59 -0500, Shane Hathaway [EMAIL PROTECTED] wrote: 2. The ability to rename properties after instances of the classes have been created (and have

Re: [Zope-dev] Conflict Errors

2000-11-22 Thread Toby Dickenson
advantage, for the same reason, only neater) 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.o

Re: [Zope-dev] debugging authentication problems

2000-12-05 Thread Toby Dickenson
On Mon, 04 Dec 2000 09:38:10 +, Chris Withers [EMAIL PROTECTED] wrote: Toby Dickenson wrote: Im have trouble tracking down why one specific method is needing authentication. Can anyone suggest any tips or tools? Toby Dickenson [EMAIL PROTECTED] Shane's ZDebug tool can help

Re: [Zope-dev] case insensitive sorts

2000-12-07 Thread Toby Dickenson
(Status: pending. and has been for 8 months :-( In reality, I think it is only a theoretical problem. The current implementation takes much more care than it is required to by the language reference. Indeed, extra effort was taken in Python 2.0's implementation of Unicode. Toby Dickenson [EMAIL

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2000-12-20 Thread Toby Dickenson
sense as the default configuration) 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/li

RE: [Zope-dev] RE: objectIds accessiblilty and a proposal

2000-12-21 Thread Toby Dickenson
-Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Toby Dickenson writes: ... protocol specific access rights ... Please No. Zope security is complex enough without having to worry about different security settings depending on how a method is accessed

Re: [Zope-dev] Frozen Zope?

2001-01-03 Thread Toby Dickenson
ecutable). On win32 there are several other options, depending on your users. You could hide the source directory, or use Explorer's Web View to give it a less intimidating appearance. I hope this helps, Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev

Re: [Zope-dev] Zope from CVS for Windows

2001-01-08 Thread Toby Dickenson
you can get hold of Microsoft Visual Studio 6.0 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

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Toby Dickenson
pretty new to Python (but learning fast!), so any snippets of sample code would be much obliged. Search on www.zope.org for SiteAccess. Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope-dev] Hard set port number in 2.3?

2001-02-09 Thread Toby Dickenson
http://classic.zope.org:8080/Collector/1892/view 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

Re: [Zope-dev] Virtual Host Monster Paranoia

2001-02-13 Thread Toby Dickenson
to my sites? I didnt realize V-H-M was coming in 2.3.0, and developed an alternative that fills a similar niche: http://www.zope.org/Members/htrd/howto/host-server This option has fewer 'moving parts' than anything based on SiteAccess (which I still feel uncomfortable with, sorry evan) Toby

Re: [Zope-dev] Virtual Host Monster Paranoia

2001-02-13 Thread Toby Dickenson
the complexity threshold for a paranoid admin to be comfortable. 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

RE: [Zope-dev] Virtual Host Monster Paranoia

2001-02-13 Thread Toby Dickenson
Then again, there's the advantage of having something included as a standard part of Zope. Yes, thats true. I would like to see this being rolled into the standard zope (and there is a Collector entry saying that), although I think its unlikely given the 'competition' from VHM. Having said

Re: [Zope-dev] More ZCatalog Stuff.

2001-02-26 Thread Toby Dickenson
On Mon, 26 Feb 2001 19:00:58 -0800, "Michael R. Bernstein" [EMAIL PROTECTED] wrote: Toby Dickenson wrote: If you are interested in a short-term hack, it is possible implement your own type of index and add it to an existing catalog, without having to modify any of the ZCatalog pr

RE: [Zope-dev] More ZCatalog Stuff.

2001-02-27 Thread Toby Dickenson
I am assuming that the code you provided goes into a manage_addCustomIndex method that is part of a CustomIndex Python Product. hehehehe, nothing so general-purpose as that ;-) You will need to implement a subclass derived from one of the standard indexes to provide your custom

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

2001-03-05 Thread Toby Dickenson
ontains 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] ___ Zope-Dev maillist

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 [EMAIL PROTECTED

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. Toby Dickenson [EMAIL

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

2001-03-12 Thread Toby Dickenson
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] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

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 AttributeError' Toby Dickenson [EMAIL PROTECTED

Re: [Zope-dev] Python 2

2001-03-21 Thread Toby Dickenson
h 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] ___ Zope-Dev maillist - [EMAIL

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

2001-04-19 Thread Toby Dickenson
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/zope-dev ** No cross

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

2001-04-25 Thread Toby Dickenson
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] http://lists.zope.org/mailman/listinfo

Re: [Zope-dev] ANN: Proposal ContentNegotiation

2001-05-03 Thread Toby Dickenson
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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

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/htrd/wstring Ive expressed before that I would

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] To: 'Andreas Jung' [EMAIL PROTECTED] Sent: Thursday

Re: [Zope-dev] Conflict Errors

2001-01-03 Thread Toby Dickenson
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/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] manage_workspace = index_html

2001-05-15 Thread Toby Dickenson
) 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 encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

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

2001-05-17 Thread Toby Dickenson
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/mailman/listinfo/zope-dev

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-05-31 Thread Toby Dickenson
, 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 performing retries? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

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

2001-06-05 Thread Toby Dickenson
. Having said that, Python's garbage collector *needs* support from container objects. Acquisition wrappers dont implement this support (yet), and therefore I suspect a Python upgrade will not help you with this memory leak problem. Toby Dickenson [EMAIL PROTECTED

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

2001-06-06 Thread Toby Dickenson
, 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 not sure if this is currently true) Toby Dickenson [EMAIL PROTECTED

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 generates ConflictErrors even if there are no conflicts

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread Toby Dickenson
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 - http://lists.zope.org

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

2001-06-06 Thread Toby Dickenson
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 PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Zope Apache and Streaming

2001-06-13 Thread Toby Dickenson
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 maillist - [EMAIL PROTECTED] http

[Zope-dev] replicating storages

2001-06-18 Thread Toby Dickenson
://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 maillist

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

2001-06-21 Thread Toby Dickenson
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 Toby

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

2001-06-21 Thread Toby Dickenson
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 PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

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

2001-06-26 Thread Toby Dickenson
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 PROTECTED] http://lists.zope.org

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

2001-06-27 Thread Toby Dickenson
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 posts or HTML encoding

[Zope-dev] CatalogAware

2001-06-26 Thread Toby Dickenson
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/listinfo/zope-announce http

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.py, I

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

2001-06-26 Thread Toby Dickenson
] 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/listinfo/zope-announce http

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

2001-07-02 Thread Toby Dickenson
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 maillist - [EMAIL

  1   2   3   4   >