Re: [Zope] Passing all POST variables?

2000-06-07 Thread Toby Dickenson
tml which supports just that list of types, plus code objects. Or look at http://www.zope.org/Members/htrd/howto/MiniPickle if you need: * Recusive data structures * Compatability with the next version of python Toby Dickenson [EMAIL PROTECTED] ___ Zop

Re: [Zope] What is favicon.ico and why is it an error?

2000-06-09 Thread Toby Dickenson
of errors on your server. Is that true? I undestand only the root directory is necessary, unless you have specifically linked another icon file from your html. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://list

Re: [Zope] ZODB Storage Question

2000-06-19 Thread Toby Dickenson
tes change, but how much doesnt change? ZODB will store a new copy of the whole object if just one attribute changes. If you have some large attributes that rarely change then you can save space by storing it in a different object. Toby Dickenson [EMAIL

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

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

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

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

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

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

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] 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] Dr.Watson on NT

2000-11-16 Thread Toby Dickenson
you tried deleting the AeDebug/Debugger registry key, and setting AeDebug/Auto to 1 to inhibit this dialog for your whole system? Have you tried SetErrorMode(SEM_NOGPFAULTERRORBOX) (in the win32 python extensions) to inhibit this dialog for this one process? Toby Dickenson [EMAIL

Re: [Zope] jcNTUserFolder on 2.2.x

2000-11-21 Thread Toby Dickenson
is of some help. 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] Large XML files

2000-12-06 Thread Toby Dickenson
thats -T 1 on the command line), rather than the default of 4. Each thread gets a copy of the ZODB object cache, and you probably dont want to keep four copies of your 700k document in memory. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTE

[Zope] Re: [Zope-dev] IE5 / Medusa bug?

2000-12-15 Thread Toby Dickenson
st Both browsers are transferring 4561 bytes. I hope this helps, 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] downgrading from 2.1.x from 2.2.0 to use NTuser authentication

2001-01-02 Thread Toby Dickenson
this helps, 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

Re: [Zope] Non-ASCII-form-input - HTML-entities?

2001-01-03 Thread Toby Dickenson
nfiguraton. If not, I strongly recommend using pages encoded in utf-8, and storing your field values as unicode. Everything will then work happily for non-germans too. Standard Zope can't do this yet, you will need the patches at http://www.zope.org/Members/htrd/wstring Toby Dickenson [EMAIL

Re: [Zope] Caching/http-acceleration and proxying Zope-served content

2001-01-09 Thread Toby Dickenson
In my case: Apache (for rewriting and SSL) - Squid accelerator - A custom load-balancing redirector - Multiple Zopes Have you had any significant latency, or other problems? Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist

Re: [Zope] Caching/http-acceleration and proxying Zope-served con tent

2001-01-10 Thread Toby Dickenson
On Mon, 08 Jan 2001 14:34:20 -0800, [EMAIL PROTECTED] wrote: If it supports the ability to direct traffic based upon the virtual host address, then squid works Yes, squid can do this using a redirector; an external program to rewrite urls. Toby Dickenson [EMAIL PROTECTED

Re: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Toby Dickenson
modified, even if you dont think they should be. http://www.zope.org/Members/tsarna/Tranalyzer Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

RE: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Toby Dickenson
If your method changes data then it will always get saved. The only way is to make sure your method never modifies a persistent object. -Original Message- From: Stephan Richter [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 11:11 To: [EMAIL PROTECTED] Subject: Re: [Zope] Python

Re: [Zope] Re: Some help required but no sarcastic comments this time please

2001-01-24 Thread Toby Dickenson
On Wed, 24 Jan 2001 09:33:16 -0600, "Alan Capesius" [EMAIL PROTECTED] wrote: I would also recommend NOT using Win9x for ANYTHING. I always use NT. There are those of us who use Zope in desktop applications too (yes really), where Win9x is not an unreasonable choice. Toby Dicken

Re: [Zope] http protocol

2001-01-31 Thread Toby Dickenson
is a debugging http proxy I like http://www.cyberclip.com/webdebug/index.html Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

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

  1   2   3   4   >