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] CMS/publishing system

2000-11-03 Thread Toby Dickenson
"run alongside". is it enough to run Zope and CF behind the same Apache? Apache integrates the two in a single URL namespace, but keeping the application logic separate? Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTE

Re: [Zope] How small a box can zope run on?

2000-11-02 Thread Toby Dickenson
ing levels of performance. Yes Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zop

Re: [Zope] Zope python 2

2000-11-02 Thread Toby Dickenson
underneath. I'm sure you've noticed there is a lot more to Zope than just DTML and Python methods. Like what? Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Zope and Python 2.0

2000-11-02 Thread Toby Dickenson
definition of 'everything' ;-) Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope

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] Zope python 2

2000-10-26 Thread Toby Dickenson
for PythonMethods has not yet been investigated watching closely, Not closely enough ;-) Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] How small a box can zope run on?

2000-10-26 Thread Toby Dickenson
ODB, which is an unnecessary memory hog for the expected load. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.o

[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] problem(100) ZServer Computing local hostname on windows install

2000-10-25 Thread Toby Dickenson
8099 http://localhost:8099/manage So that url should http://localhost:8080/manage Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related list

[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

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 -

Re: [Zope] bobobase_modification_time and .zexp

2000-10-18 Thread Toby Dickenson
timestamp of the transaction containing the most recent copy of the object. timestamping is fundamental to ZODB. For this alone to work you will need to keep the objects in separate data.fs files forever. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL

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

[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] Re: Upload just file headers?

2000-10-12 Thread Toby Dickenson
(hence StringIO). File uploads are spooled into a temporary file, and the request is only dispatched into Zope once the whole request has arrived. Anything smarter than that will require some ZServer hacking. Toby Dickenson [EMAIL PROTECTED] ___ Zope

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-11 Thread Toby Dickenson
-revalidate Caches will cache the content, but always revalidate it before using the cached reply. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Still need help about Product namespace

2000-10-10 Thread Toby Dickenson
On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel [EMAIL PROTECTED] wrote: I still need help about my product needing to know its namespace... You also need to read the answers already provided. http://www.zope.org/Members/htrd/howto/FunctionTemplate Toby Dickenson [EMAIL PROTECTED

Re: [Zope] status of SOAP for Zope?

2000-10-09 Thread Toby Dickenson
have recently voiced their (legitimate) concern that by default *practically everything* on their site is xml-rpc enabled Those people were concerned that too many things were exposed via ZPublisher also My interpretation was that the issue is one of access control, not publishing protocol. Toby Dicken

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-09 Thread Toby Dickenson
On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" [EMAIL PROTECTED] wrote: Definitely, yea! I would really be interested in its correct results. We have been stress testing our Zope application on NT and Linux. Our conclusion is that OS is not a factor in Zope performa

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-09 Thread Toby Dickenson
the timings were all within a 15% band after a little tweaking. Personally I don't think this result is at all suprising: In a loaded Zope system the processor spends all its time executing the python VM, not OS code. Toby Dickenson [EMAIL PROTECTED

RE: [Zope] Access Control vs Publishing Protocol

2000-10-09 Thread Toby Dickenson
It seems like this can be handled rather well by simply adding a 'XML-RPC access', a 'SOAP access' and a 'WebDAV access' set of permissions. we already have a 'FTP access' permission which works fine. Not quite. That permission controls several methods that are particularly useful for

[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

Re: [Zope] _ in a product

2000-10-05 Thread Toby Dickenson
stuff goes in here to invoke it from dtml use dtml-var my_method Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://li

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

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] 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] Bug or feature? :-)

2000-09-27 Thread Toby Dickenson
been some discussion on this class of bug on zope-dev this week. http://www.zope.org/Members/htrd/names is a list of other ids that will change Zopes behaviour if used. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http

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

[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] Massive FTP troubles

2000-09-21 Thread Toby Dickenson
e conflict occurred. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-anno

Re: [Zope] Folderish DTML Document

2000-09-21 Thread Toby Dickenson
g function objects (using malloc, no less) and assigning them as variables in the class object. Double Urgh! ;-) Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

Re: [Zope] Catalog Searching

2000-09-21 Thread Toby Dickenson
ient to sort matches. This is probably the case for an index of bobobase_modification_time Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Re

[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

Re: [Zope] Folderish DTML Document

2000-09-20 Thread Toby Dickenson
inks every object is a folderish one, but Im talking about using PropertyManager, ObjectManager and DTMLMethod all on one object. The main problem being absolute_url on the object seems to be broken. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist

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

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] Python 1.6 makes Zope not work?!

2000-09-15 Thread Toby Dickenson
Though I am a newbie Zope developer, it was very kindly explained to me that a bug in Python 1.6 was being ticked by Zope 2.2.1 FYI, all previous version too. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http

[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] zope 2.2.1 and python 1.6

2000-09-14 Thread Toby Dickenson
% agree with Brians caution here, however For example in 1.6 strings have methods, which may or may not have an impact on DTML safety. This is also the case for Python 2.0. string methods are safely inaccessible as of the new security implementation in 2.2 (hurrah for private-by-default) Toby

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Toby Dickenson
by not using the GPL. My contributions to Zope (both personal and on company time) are fairly significant in total, and would not have happened if Zope was under a GPL license. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Toby Dickenson
On Wed, 13 Sep 2000 13:33:05 +0200, "Dario Lopez-Kästen" [EMAIL PROTECTED] wrote: From: "Toby Dickenson" [EMAIL PROTECTED] If that is your motivation then you may find that you get *more* back by not using the GPL. My contributions to Zope (both personal and on comp

Re: [Zope] Input for Chinese Characters

2000-09-11 Thread Toby Dickenson
rg/mailman/listinfo/zope-dev ) Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zop

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

Re: [Zope] Underscore Caracter

2000-09-06 Thread Toby Dickenson
On Tue, 5 Sep 2000 20:23:47 -0600, "T.J. Mannos" [EMAIL PROTECTED] wrote: Now, who do I have to beat up to get the 're' module added to the namespace variable??? :) Not a good idea its too easy for a buggy regex to eat up lots of memory and processor time. Toby Dickenson [EMAIL

Re: [Zope] Re: ZOPE Python edit debug cycle

2000-09-01 Thread Toby Dickenson
ing a long time restart? Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-anno

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] compiling on windows

2000-08-23 Thread Toby Dickenson
e of the c modules get compiled, but these seem to change rather rarely ... I cant think of a better way if you don't have the compiler to hand. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/lis

Re: [Zope] compiling on windows

2000-08-23 Thread Toby Dickenson
n src dist Zope builds happily on a stock python 1.5.2 and the cvs versions of 2.0 too. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Rel

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] Total newbie with NTUserFolder 1.3 issues

2000-08-18 Thread Toby Dickenson
in your Zope database, using the /manage interface. You may have to delete any existing acl_users object first. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] NTUserFolder-1.3-Comments

2000-08-18 Thread Toby Dickenson
how you get on. I will ## only include a user interface for these parameters once I ## have independant verification that there are no problems. Have you had any feedback? Does this work at all? No feedback on this from anyone yet. Im not sure what that means Toby Dickenson [EMAIL PROTECTED

Re: [Zope] NTUserFolder-1.3-Comments

2000-08-18 Thread Toby Dickenson
On Fri, 18 Aug 2000 13:00:41 +0200, Jean Jordaan [EMAIL PROTECTED] wrote: Hi Toby No feedback on this from anyone yet. Well, that doesn't really sound encouraging... Or maybe everyone is quietly happy Toby Dickenson [EMAIL PROTECTED

Re: [Zope] Python function within a ZClass...

2000-08-17 Thread Toby Dickenson
the methods, and use that as a base class for your ZClass pro: easy to add more methods con: need to restart server after changes need to do this before you create the ZClass Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED

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

[Zope-dev] Re: Zope security alert and hotfix product...

2000-08-14 Thread Toby Dickenson
Dont Have') But, why isnt the append method covered by the new inaccessible-by-default 2.2 security rules? Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread Toby Dickenson
o resource for search results. If you really do have a 67 page document, it would be better to store each page in its own ZODB object, and index each page individually. With that scheme your search results page only has to load a few pages, rather than a few documents. Toby Dickenson [EMAIL

Re: [Zope] Using Zope as App Server for non http-Protocols

2000-08-14 Thread Toby Dickenson
pplication, but there are strong reasons for sticking with http if possible: you can benefit from the existing tools and infrastructure, plus Zope already talks http. SOAP looks like it will be popular for similar reasons. What do you need to do that makes http unsuitable? Toby Dickenson [EMAIL

Re: [Zope] Zope culture (Was: [Zope] Simple DTML date-stamp)

2000-08-14 Thread Toby Dickenson
: PWindows is EMnot/EM a supported platform. I currently function in two worlds, Win98 and Linux. Would I be right to say that 90% of Zopers live in world number two? Most of Zope (and python in general) is shockingly platform-neutral. It sounds like the same might not be true of MySQL. Toby

Re: [Zope] Python + COM (from external method)

2000-08-11 Thread Toby Dickenson
:Phil Harris [SMTP:[EMAIL PROTECTED]] Sent:Freitag, 11. August 2000 14:06 To: Steinar Rune Eriksen; [EMAIL PROTECTED] Subject: Re: [Zope] Python + COM (from external method) Steinar, Did you call pythoncom.CoInitialize()? If not you need to. Toby Dickenson [EMAIL

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] Feedback requested on SkinnableAndLocalizableObjects

2000-08-09 Thread Toby Dickenson
more, and the implementation I'll have will be much harder to fit your ideas. This is the pain of Wikis. Overlook one tiny email and you never know its there :-( Toby Dickenson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope] How can you get Zope console messages running as NT service?

2000-08-08 Thread Toby Dickenson
L encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/lis

Re: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-07 Thread Toby Dickenson
purge your browsers cache after fixing a caching bug, to eliminate all traces of the bug. what you did, but ie keeps showing old data. this with a no-cache header,must-revalidate. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTE

Re: [Zope] XMLRPC returns error sometimes

2000-08-07 Thread Toby Dickenson
d info is to complex ? Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

Re: [Zope] Caching How-To (was Cache concerns (was zope/proxy_pass configuration problem) configuration problem)

2000-08-04 Thread Toby Dickenson
://www.zope.org/Members/rbeer/caching Hey really? Me too. http://www.zope.org/Members/htrd/howto/caching Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

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] 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] 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] Meta Type Registry

2000-07-25 Thread Toby Dickenson
Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org

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] ZEO and a front end...

2000-07-21 Thread Toby Dickenson
On Wed, 19 Jul 2000 10:07:30 -0600, Bill Anderson [EMAIL PROTECTED] wrote: Toby Dickenson wrote: On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson [EMAIL PROTECTED] wrote: I might be reading more into his words than was intended, but I think this demonstrates the problem. Distributing

Re: [Zope] ZEO and a front end...

2000-07-19 Thread Toby Dickenson
(which I was assuming, and I think Curtis was too). If this isn't a problem, then your solution is great. EddieWare does do 'intellgient' caching eddieware is on my list of option to try out next month... Ill keep you posted Toby Dickenson [EMAIL PROTECTED

Re: [Zope] ZEO and a front end...

2000-07-18 Thread Toby Dickenson
(although it seems to have everything else ;-) and theres no obvious place to hang squid. In my example above, I really want to be able to cache the rendered pdf files. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http

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] suggestions for what to run in front of ZEO'ed zopes for failover?

2000-07-17 Thread Toby Dickenson
is that solution is that each Zope will have poor locality-of-reference within the object database. I think I can avoid that using a squid redirector (www.squid-cache.org). Ill post any news. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL

Re: [Zope] ZEO and a front end...

2000-07-17 Thread Toby Dickenson
are not a total solution. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

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

[Zope-dev] Python 2.0 Unicode support

2000-07-11 Thread Toby Dickenson
accepted. Toby Dickenson ___ 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://lists.zope.org

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] 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] zope and caching

2000-07-03 Thread Toby Dickenson
essor load is your main problem, an external http cache is a big advantage too (I use squid, see http://www.squid-cache.org) Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No c

Re: [Zope] Backing Up Zope (was: Re: [Zope] Data.fs.lock?)

2000-06-30 Thread Toby Dickenson
record at the very end. This is actually not a big deal, and AFAIK in most cases ZODB is capable of automatically rolling back a partially committed transaction. I think the other exception is during an Undo, where Zope will rewrite one byte in the middle of the file. Toby Dickenson [EMAIL

Re: [Zope] LocalFS cache, was Re: ZODB or not ZODB?

2000-06-30 Thread Toby Dickenson
les inside Zope. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-anno

<    1   2   3   4   5   >