[Zope-dev] CopySupport and cookies

2006-02-02 Thread Seb Bacon
): # Return a path value for use in a cookie that refers # to the root of the Zope object space. return request['BASEPATH1'] or / is there a good reason why this can't just return / as the cookie path? Seb -- [] j a m k i t web solutions for charities seb bacon T: 020 7549

[Zope-dev] Re: Demonstration subversion repository created

2004-05-07 Thread Seb Bacon
Yves Moisan wrote: A bit off topic here : browsing the repository, I thought it would be nice if svn://svn.zope.org/repos/main/Zope3/trunk could be recognized as a protocol by Mozilla. http://protozilla.mozdev.org/ seb ___ Zope-Dev maillist -

[Zope-dev] Re: Zope3, CMS, IDEs

2004-04-23 Thread Seb Bacon
Joachim Werner wrote: I've proposed that a couple of times already. There are two problems in real life: 1) Somebody has to take care of managing the project. 2) If politics take over, things will quickly fall apart. I agree. I hope that Heimo Paul's session at EP will help work through

Zope3, CMS, IDEs (was: [Zope-dev] The bleak Future of Zope?)

2004-04-22 Thread Seb Bacon
Joachim Werner wrote: There are quite a few Zope-based CMS solutions out there, and most of them are better than their commercial counterparts in many respects. But if we had managed to start a joint CMS effort (other than CMF, which is a failure by design) two or three years ago things would

[Zope-dev] Re: The bleak Future of Zope?

2004-04-21 Thread Seb Bacon
Personally, I think Zope3 has a great future, and will pick up a much larger community than Zope2 ever did, because it's better designed and better documented. In general, the people who stand to gain immediately (or pretty soon) from Zope3 are enthusiasts; newcomers; and ZC. However, if the

[Zope-dev] TAL i18n breakage in 2.7

2004-02-19 Thread seb bacon
Hi, Zope 2.7 introduced a change in its translation interface. Previously a translation service could return None, but now returning None causes an assertion error. http://cvs.zope.org/Zope/lib/python/TAL/TALInterpreter.py.diff?r1=1.77r2=1.78 This will break applications (e.g. Plone1) which

Re: [Zope-dev] TAL i18n breakage in 2.7

2004-02-19 Thread seb bacon
On Thu, Feb 19, 2004 at 09:10:30AM -0500, Stephan Richter wrote: On Thursday 19 February 2004 08:08, seb bacon wrote: Zope 2.7 introduced a change in its translation interface.  Previously a translation service could return None, but now returning None causes an assertion error. http

Re: [Zope-dev] ZCatalog fast as admin, dog slow as anonymous and other users

2004-01-30 Thread Seb Bacon
Jason Spisak wrote: Zopistas, My ZCatalog is fast as admin, but dog slow as anonymous and other users. Anyone had this same experience? Details: This is certainly to do with queries which run against FieldIndexes only for anonymous users. This is something the CMF does (e.g. expires and

Re: [Zope-dev] KeywordIndex performance / multiunion

2003-11-07 Thread Seb Bacon
Tim Peters wrote: [Seb Bacon] But main the reason I'm posting is to wonder if there any reason not to use the multiunion operator instead of the union operator in UnIndex.py... it should be faster, right? It seems a touch faster in some informal tests. [Casey Duncan] Yes, it probably should

Re: [Zope-dev] KeywordIndex performance / multiunion

2003-11-07 Thread Seb Bacon
Casey Duncan wrote: On Thu, 06 Nov 2003 19:11:55 + Seb Bacon [EMAIL PROTECTED] wrote: A simple query for [A or B or C] against a KeywordIndex containing 27k objects is taking about 7 seconds on a Celeron 1.6Ghz, which seems an absurdly long time to me. guess This time may be caused

Re: [Zope-dev] KeywordIndex performance / multiunion

2003-11-07 Thread Seb Bacon
Casey Duncan wrote: guess This time may be caused by fetching from the database. If so, then the only way to speed it up is increase the ZODB cache or get faster disks. Try the former and see if it helps. /guess Upping the cache speeds it up to something sane. However, I don't understand why.

Re: [Zope-dev] debugging memory leaks

2003-11-06 Thread Seb Bacon
Seb Bacon wrote: So, say Foo is leaking because it is referenced from O which can't be collected. Given 100 things which refer to Foo, how do I identify which one is O? And of course, then O may be leaking because it is referenced from P... I sense this question is a bit like asking someone

[Zope-dev] KeywordIndex performance / multiunion

2003-11-06 Thread Seb Bacon
A simple query for [A or B or C] against a KeywordIndex containing 27k objects is taking about 7 seconds on a Celeron 1.6Ghz, which seems an absurdly long time to me. The bit of the operation that is taking the time is the part of the index which does a union of the results of each of the 3

Re: [Zope-dev] debugging memory leaks

2003-10-28 Thread Seb Bacon
Tim Peters wrote: [Seb Bacon] ...but my (naive?) reading of the documentation was that reference cycles are cleaned out by the garbage collector, *unless* they define a __del__ (which is not the case here). How am I wrong? You're reading the docs correctly. It's not necessarily cycles directly

[Zope-dev] debugging memory leaks

2003-10-27 Thread Seb Bacon
I've got a fairly major memory leak in my application. I've followed the thread from August including Shane's suggestions about using a debug build of Python to inspect object references and the rest [1] I know from the refcounts in Zope that items of class Foo are definitely leaking, yet

Re: [Zope-dev] debugging memory leaks

2003-10-27 Thread Seb Bacon
Tim Peters wrote: snip useful info about new-style classes Debugging memory leaks can be hard, in any language. No kidding. I thought when I identified the suspect class two days ago I was nearly there ;-) Another place to look for ideas is in the top-level test.py from a current Zope HEAD

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

2003-10-15 Thread Seb Bacon
Chris Withers wrote: Casey Duncan wrote: I would argue that a better plan would be to only use _v_ vars for completely disposable data only. The application should expect that this values will be gone at any random time, not just at transaction boundaries. Agreed. Are there any situations,

Re: [Zope-dev] Caching Policy Manager (Was: Caching prob with AHCM and headers)

2003-09-25 Thread seb bacon
solutions for charities seb bacon T: 020 7549 0520 F: 020 7490 1152 M: 07968 301 336 W: www.jamkit.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] AW: [Summary] Caching prob with AHCM and headers

2003-09-18 Thread seb bacon
seb bacon T: 020 7549 0520 F: 020 7490 1152 M: 07968 301 336 W: www.jamkit.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] AW: [Summary] Caching prob with AHCM and headers

2003-09-18 Thread seb bacon
Fred Yankowski wrote: I use Squid as an HTTP accelerator in front of ZServer. What do last-modified headers have to do with this discussion? I thought that was how this thread started. I must have mis-read something. I use a standard HTTP Cache Manager for all our caching needs - I have yet

Re: [Zope-dev] PythonLibraries Product

2003-09-12 Thread seb bacon
Tres Seaver wrote: Evan Simpson wrote: Seb Bacon wrote: Could you provide a brief summary of why this is better than a folder of python scripts? Perhaps a use case which illustrates the problems of the current way of doing things? It isn't *better* than a Folder of Scripts, it's *different

[Zope-dev] Re: PythonLibraries Product

2003-09-10 Thread Seb Bacon
Evan Simpson wrote: I'm thinking seriously about writing a Product to provide collections of Python functions defined by a single source text -- PythonLibraries. This would *not* be the same as Zope 3's persistent modules, although it would provide some of the same benefits. Here's the

[Zope-dev] Re: Catalog performance

2003-09-10 Thread Seb Bacon
Nguyen Quan Son wrote: Hi, I have a problem with performance and memory consumption when trying to do some statistics, using following code: ... docs = container.portal_catalog(meta_type='Document', ...) for doc in docs: obj = doc.getObject() value = obj.attr ... With about 10.000

[Zope-dev] ape performance

2003-09-08 Thread Seb Bacon
Hi, I'm trying to use Ape for a photo album - the idea being that I just drop new photos where I normally do on the filesystem, and Zope provides a thumbnails-bells-and-whistles view onto it. Performance is extremely poor: viewing the root of the hierarchy causes *all* descendent objects to

Re: [Zope-dev] weak examples, weak exploits

2003-06-23 Thread seb bacon
On Mon, 2003-06-23 at 09:20, Jamie Heilman wrote: I'll submit a fixed Examples.zexp but I need to know how its normally prepared, ownership, etc. Is there anything special I should do? No. Just go ahead and make the changes. It would be instructive for others reading the examples to add a

[Zope-dev] 2.6.2b3?

2003-06-23 Thread seb bacon
Just a quick repeat from last week in case it slipped from anyone's radar... Here is the important bit again: a) Any reason why I shouldn't merge BTree bugfixees into the 2.6 branch? b) If no, how about a 2.6.2b3? seb On Wed, 2003-06-18 at 17:25, seb bacon wrote: There lave been various

[Zope-dev] BTree fixes in a release?

2003-06-18 Thread seb bacon
There lave been various BTree fixes lounging in the HEAD since Jan 2003 which I'd like to get into a release, basically because we have seen one of the bugs causing segfaults in production - this is the culprit: http://cvs.zope.org/Zope/lib/python/BTrees/BTreeItemsTemplate.c.diff?r1=1.17r2=1.18

Re: [Zope-dev] Re: AdaptableStorage

2003-01-22 Thread seb bacon
Chris Withers wrote: seb bacon wrote: I'd prefer just to have a method somewhere that, as Shane suggested, could be hit by URL, etc. A whole seperate server seems like overkill... Well, if by server you could mean script that gets run by cron every 1 minute and hits a URL in Zope

Re: [Zope-dev] Zope reference counts

2003-01-22 Thread seb bacon
Toby Dickenson wrote: On Wednesday 22 January 2003 11:43 am, Ivo van der Wijk wrote: Do these references point to the same object instances, or are these copied as well? They are independant copies Is there a way to optimize this? 1. Obviously, use fewer threads. Do you have a component

Re: [Zope-dev] Re: AdaptableStorage

2003-01-21 Thread seb bacon
How about having a seperate process which just watched the files and notifed Zope when they changed? A definite possibility. It might even just poke an URL to send the notification. Since every storage will have its own unique notification scheme, which may be more or less inefficient

Re: [Zope-dev] Can't return / publish object of a dictionary?

2003-01-21 Thread seb bacon
Jeff Rush wrote: Yeah, the new property type in Python 2.2 is pretty cool, but out of range for use under Zope at the moment. The ExtensionClass requirement for persistence eliminates using it with new style Python classes. Why? I can't see why ExtensionClass should not work with the new

Re: [Zope-dev] Re: AdaptableStorage

2003-01-21 Thread seb bacon
Chris Withers wrote: seb bacon wrote: Since every storage will have its own unique notification scheme, which may be more or less inefficient (worst case scenario, periodic polling of entire storage for recently modified items), it might make sense to have a notification server. It would

Re: [Zope-dev] Can't return / publish object of a dictionary?

2003-01-18 Thread Seb Bacon
Jeff Rush wrote: I use a form of the following to compute dynamic titles for Zope objects, where the 'title' attribute is the result of a method call. Modifying it slightly for your case... from ComputedAttribute import ComputedAttribute Class B(A): def getMyObjects(self): ...

Re: [Zope-dev] Effect of DB Writes on Performance

2003-01-16 Thread seb bacon
Writes are slower than reads, but the real bottleneck is likely to be your application, not the ZODB. Commonly ZODB writes take place within a busy transaction, including catalog updates, transformations, etc. Brian R Brinegar wrote: Hello, What effect do ZODB Writes have on Performance? We

Re: [Zope-dev] Can't return / publish object of a dictionary?

2003-01-16 Thread seb bacon
Sounds like an acquisition problem to me. Are the objects wrapped? Try def _getOb(..): ... return someobject.__of__(self) Lars Heber wrote: Hi zopers, my class has a list with several objects in it. When calling my self written _getOb() method, I want to return one of these objects.

Re: [Zope-dev] Re: AdaptableStorage

2003-01-16 Thread seb bacon
Shane Hathaway wrote: Chris Withers wrote: Shane Hathaway wrote: performance. There needs to be a way for applications that modify the database to tell Zope about the modification, so Zope can reset its caches. But, IIRC, the last time this was discussed on a mailing list you had some

[Zope-dev] AdaptableStorage

2003-01-15 Thread seb bacon
Shane, AdaptableStorage is insane and beautiful - congratulations :-) It could fit a possible project we have coming up where a requirement is to store content in an XML format inside MS SQL Server. Do you have a TODO list? Are there any particularly alpha parts? I would need to get an idea

Re: [Zope-dev] KeywordIndex errors

2002-11-28 Thread seb bacon
2002-11-27T16:16:26 ERROR(200) KeywordIndex unindex_object could not remove documentId -869933785 from index companies. This should not happen. exceptions.KeyError: -869933785 This usually happens when there are duplicates in the indexed keywords and the record isn't updated before

[Zope-dev] Bugfix release?

2002-11-27 Thread seb bacon
The DateTime bug in 2.6.0 breaks all of my sites. This must be true for very many other people. If we collectively want use of Zope to multiply 10x, I don't think it's a great idea to let a major bug like that stay in the latest-and-greatest release. Can we have a bugfix release? seb

[Zope-dev] PathIndex unindex fix

2002-11-21 Thread seb bacon
Anyone object to me changing PathIndex so it swallows exceptions and logs them when unindexing content? On upgrading to Zope 2.6 some if the unindex paths seem to have got hosed, and I don't want this breaking my site. ___ Zope-Dev maillist -

Re: [Zope-dev] PathIndex unindex fix

2002-11-21 Thread seb bacon
I've already fixed it; should I commit it or do you want the patches? Andreas Jung wrote: Please file a collector issue and assign it to me. -aj --On Donnerstag, 21. November 2002 13:24 + seb bacon [EMAIL PROTECTED] wrote: Anyone object to me changing PathIndex so it swallows exceptions

[Zope-dev] IIS / login bug

2002-07-11 Thread seb bacon
There is a bug in IIS[1] which causes cookies to be dropped during a redirect. The result in the CMF is that a login fails when it is combined with a redirect, as happens following an attempted access of a forbidden resource when using the CookieCrumbler. Now, I'm not too familiar with the

Re: [Zope-dev] vulnerability in stock Zope

2002-07-11 Thread seb bacon
Shane Hathaway wrote: seb bacon wrote: Production sites running a stock Zope are vulnerable to abuse of their server if they have not removed the 'Examples' folder. For example, anyone could use http://notcarefulenough.com/Examples/FileLibrary as a warez repository. Are you sure

Re: [Zope-dev] vulnerability in stock Zope

2002-07-11 Thread seb bacon
Production sites running a stock Zope are vulnerable to abuse of their server if they have not removed the 'Examples' folder. For example, anyone could use http://notcarefulenough.com/Examples/FileLibrary as a warez repository. Are you sure? I get an Unauthorized error (but not until

[Zope-dev] Bad Marshal Data

2002-03-27 Thread seb bacon
I've asked this before, about a year ago, but got no response. Does anyone else ever see 'bad marshal data' errors sometimes? What are they a symptom of? It sometimes happens in my products, other times in Zope. It always occurs on import statements. I usually manage to fix it by playing

Re: [Zope-dev] manage frame change

2002-03-19 Thread seb bacon
On Mon, 2002-03-18 at 19:18, Leonardo Rochael Almeida wrote: On Mon, 2002-03-18 at 13:21, Lennart Regebro wrote: The machine should, in my opinion, be the domain you are logged in on. I.e, if you are authenticated for domain www.foobar.com:1001, thats what it should say, according to an

[Zope-dev] manage frame change

2002-03-16 Thread seb bacon
anyone object to changing the text at in the top ZMI frame to Logged in as user on machine? Or is there a better place to put that info? I find it useful when I've got several windows open to different servers. seb ___ Zope-Dev maillist - [EMAIL

(OT) Re: [Zope-dev] Zope 2.6 planning - call for contributors!

2002-03-04 Thread seb bacon
On Mon, 2002-03-04 at 03:55, Anthony Baxter wrote: I think the performance hit is really quite minimal for two if statements at the entry and exit point(s) of a function to turn the behaviour on and off. I'm not convinced. Those small increments of performance really add up. Look at how

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

2002-03-04 Thread seb bacon
On Mon, 2002-03-04 at 03:47, Richard Jones wrote: On Mon, 4 Mar 2002 14:40, Casey Duncan wrote: I agree, monkey patches are perfect for this. That makes them totally transparent to the application and Zope for that matter. There's nothing wrong with them in the right application. My

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

2002-03-04 Thread seb bacon
On Mon, 2002-03-04 at 10:47, Chris Withers wrote: seb bacon wrote: Yes - I would bet the performace difference is in the order of hundredths of a second. Which I would prefer not to have added to the several hundred other hundredths-of-a-second little differences-that-people-thought

[Zope-dev] MonkeyPatching in the Core (was: Zope 2.6 planning)

2002-03-04 Thread seb bacon
On Mon, 2002-03-04 at 11:23, Chris Withers wrote: seb bacon wrote: http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/4084B02199CC6AFB (to save the bother of following the link, that's the thread from about a month ago regarding evidence suggesting ZPT may be *twice* as slow

Re: [Zope-dev] MonkeyPatching in the Core (was: Zope 2.6 planning)

2002-03-04 Thread seb bacon
What if, instead of the static list of callable info that the CP currently uses, Zope objects could register themselves as profilable? We would then make sure that the object types that CP handles now register themselves, but other products that we don't know (or have to know) about

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

2002-03-01 Thread seb bacon
Absolutely ... and I would also like to see Richards excellent Call Profiler service become part of the core. I'm definitely putting the profiler into 2.6 - there's just an open question of where it gets put. The question was asked on zope-coders, and got no response. I figure if

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

2002-03-01 Thread seb bacon
I'd like to see the ZSyncer Product, or a variant thereof, included in Zope by default. That is, I'd like Synchronization, to a be a default property of Zope objects, so that objects/content can be pushed and pulled between two Zope installations. I would use ZCVSFolder or somewhat

Re: [Zope-dev] Re: Zope vs. Cocoon

2002-02-25 Thread seb bacon
A few points I'd like to add. Before I do, a disclaimer: I've never used Cocoon, and I really like Zope. Having said that, I've used lots of other 'competing' systems, and I am able to see Zope's weak points. Some don't think this 'cloning restriction' a severe limitation, I think this is

Re: [Zope-dev] Zope builds (new Intel C++ compiler)

2002-02-12 Thread seb bacon
However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with various compile options can get a 17% speedup. Could you share the compile options with us? seb ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Zope builds (new Intel C++ compiler)

2002-02-12 Thread seb bacon
On Tue, 2002-02-12 at 12:36, Matthew T. Kromer wrote: On Tuesday, February 12, 2002, at 07:17 AM, seb bacon wrote: However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with various compile options can get a 17% speedup. Could you share the compile options with us

Re: [Zope-dev] Benchmarks: DTML vs. ZPT?

2002-02-07 Thread seb bacon
Hi! It wouldn't surprise me - ZPT has the roughly the same overheads as DTML for the language parsing, but a presentation template goes through an HTML parser in addition - which is always going to be quite slow in python. seb On Thu, 2002-02-07 at 00:01, Joachim Werner wrote: Hello! Has

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

2002-02-06 Thread seb bacon
I don't have much useful to add - I just wanted to mention that I know there are people out there who have succesfully used mod_gzip with Zope; and that I *like* the name dogzip :-) seb On Tue, 2002-02-05 at 22:34, Brad Clements wrote: I'm looking for architectural suggestions for adding gzip

Re: [Zope-dev] Call Profiler

2002-02-01 Thread seb bacon
I've just announced our Call Profiler product on zope.org and the zope announce list (waiting for people in different timezones to authorise them :) ( http://www.zope.org/Members/richard/CallProfiler/ for the impatient) This is absolutely excellent, well done and thanks :) I added

Re: [Zope-dev] CMF 1.2 - Can I convert Files to PortalFiles

2002-01-31 Thread seb bacon
You can use FTP to upload the files - check out which port your Zope FTP server is running on and have a look there. Investigate the content_type_registry to see how to link certain file types to particular CMF types. Sorry for the brevity of the mail, but hopefully that points you in the right

[Zope-dev] Calling every zoper, newbies to gurus

2002-01-14 Thread seb bacon
First, apologies for the cross posting. I need to make sure this gets to as many people as possible, for obvious reasons... Everyone's got grumbles about how zope.org is organised. Now is the time to quit grumbling and do something about it. If you are a newbie or a guru, please take the time

[Zope-dev] Session Tracking in 2.5

2002-01-08 Thread seb bacon
I thought it was time to catch up on the CST stuff which has made it into the core, only to find that it's only *based on* Chris' CST stuff. And I can't find a fishbowl project anywhere describing the rationale, apis, whatever... Is there a fishbowl for this? Or was session tracking

Re: [Zope-dev] Session Tracking in 2.5

2002-01-08 Thread seb bacon
use of all the docs you already generated along the way. So, please do try to find the time, and show my plea to those who make room for doing such things :-) seb On 08 Jan 2002 11:39:35 + seb bacon [EMAIL PROTECTED] wrote: I thought it was time to catch up on the CST stuff which has

Re: [Zope-dev] Merhabalar;

2001-12-13 Thread seb bacon
ROTFLMAO :-) On Wed, 2001-12-12 at 22:44, Lennart Regebro wrote: From: Can Canbilek [EMAIL PROTECTED] Öncelikle rahatsýz ediyorsak özür dileriz ama bu maili okursanýz sanýrým bize teþekkür edeceksiniz. Sizlere, hiçbir masraf yapmadan yalnýzca internete girerek para kazanacaðýnýzý iddia

Re: [Zope-dev] Zope and Curl

2001-12-10 Thread seb bacon
There was some brief chatting about it a while ago on the list, do a search. seb On Sat, 2001-12-08 at 21:00, Dirk Datzert wrote: Hi, has any zoper played with the new internet technology curl from http://www.curl.com ? Regards, Dirk ___

Re: [Zope-dev] Re: core i18n support

2001-12-07 Thread seb bacon
On Fri, 2001-12-07 at 11:47, Paul Everitt wrote: In fact, we'd like to start a pattern of opening up the sprints to outsiders. We'd like to invite folks to Fburg for a sprint. Though you'll pay your own freight, we'll supply a spacious cubicle. :^) If you're interested, contact me. Third,

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

2001-11-30 Thread seb bacon
* Lennart Regebro [EMAIL PROTECTED] [011130 11:24]: From: Andrew Kenneth Milton [EMAIL PROTECTED] Noone from Zope Corp seems to monitor the list to help out. That is not my experience at all. I have received answers from Zope corps several times. But sure, most of the answers you get come

Re: [Zope-dev] Zope has been Hijacked! Save Zope!

2001-11-30 Thread seb bacon
- http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- [] j a m k i t seb bacon T: 020 7749 7218 F: 020 7739 8683 M: 07968 301 336 W: www.jamkit.com ___ Zope-Dev maillist

Re: [Zope-dev] (SHOUT) NOTIFICATION!!!!

2001-11-30 Thread seb bacon
+2 I like the idea of unifying the fishbowl and the collector. And I agree about notification. seb ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] (SHOUT) NOTIFICATION!!!!

2001-11-30 Thread seb bacon
Paul Everitt wrote: This isn't a good track record. Brian produced 35 pages worth of almost-flawless docs on web services to go with his code. But no comments. And he's doing this on his own time. So let's remember that this is a two-way street. snip * Chris Withers [EMAIL

Re: [Zope-dev] FW: Zope optimistic transactions.

2001-11-30 Thread seb bacon
seb bacon T: 020 7749 7218 F: 020 7739 8683 M: 07968 301 336 W: www.jamkit.com ___ 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] FW: Zope optimistic transactions.

2001-11-30 Thread seb bacon
://lists.zope.org/mailman/listinfo/zope ) -- [] j a m k i t seb bacon T: 020 7749 7218 F: 020 7739 8683 M: 07968 301 336 W: www.jamkit.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] bug reporting idea

2001-11-21 Thread Seb Bacon
don't get reported because someone doesn't know about the collector, or even how to report bugs well. seb - Original Message - From: Chris Withers [EMAIL PROTECTED] To: seb bacon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, November 11, 2001 11:14 AM Subject: Re: [Zope-dev] bug

[Zope-dev] random regex

2001-09-26 Thread seb bacon
I'm finding that the regex which deals with links in structured text is broken (Zope 2.4.1, Python 2.1). If you try a link with a query string: link:http://www.foo.com?ding=dongbit=bat the part of the regex which is matching the url only matches up to the first '=' (or ''). If I run the

Re: [Zope-dev] Vulnerability in Zope

2001-09-24 Thread seb bacon
* Andy McKay [EMAIL PROTECTED] [010924 01:11]: Haven't we been complaining about this automatic appending of tracebacks for a while? To me this is what log files are for but Im not sure what this guy is on. I wouldnt count this as a security vulnerability. It's not an exploitable

Re: [Zope-dev] Traversal Barf

2001-07-12 Thread seb bacon
snip stuff about SERVER_URL KeyError * Casey Duncan [EMAIL PROTECTED] [010711 16:22]: I haven't the time time to pursue this right now, but I'll attempt to make a simple, reproduceable example and submit it to the Tracker. But just in case I get time to debug it, where might I start? I'm

Re: [Zope-dev] Traversal Barf

2001-07-11 Thread seb bacon
* Steve Alexander [EMAIL PROTECTED] [010711 07:59]: KeyError: SERVER_URL I have seen a similar traceback which was due to a bug in CopyPaste.py, to which I have submitted a patch. It had to do with a lack of an acquisition wrapper at an inopportune time. It looks as though

[Zope-dev] Traversal Barf

2001-07-10 Thread seb bacon
I've been getting a puzzling error. It's not reliably reproduceable. It occurs perhaps one time in four when I'm using Opera. At first, it appeared only to be related to Opera, but now I'm getting the same error in netscape. I can just hit refresh and it works again. There's no sign of

Re: [Zope-dev] zope core dump

2001-07-10 Thread seb bacon
* Evan Simpson [EMAIL PROTECTED] [010709 21:12]: seb bacon wrote: I just tried to restart zope and got a core dump. The backtrace (pasted below) indicated a problem with the binascii module, and sure enough, trying to import it reproduced the segfault. I reinstalled python and it all

[Zope-dev] zope core dump

2001-07-09 Thread seb bacon
I just tried to restart zope and got a core dump. The backtrace (pasted below) indicated a problem with the binascii module, and sure enough, trying to import it reproduced the segfault. I reinstalled python and it all worked again. This isn't strictly a Zope issue but I wondered if anyone's

Re: [Zope-dev] dtml-in batching badly

2001-06-19 Thread seb bacon
* Joachim Werner [EMAIL PROTECTED] [010618 20:28]: That's not the behaviour I'd expect. Can anyone confirm this is a bug? As LEE Kwan Soo has already said, it is not a bug, but a clever (too clever?) feature that should maybe not be enabled by default. Every second week or so somebody

[Zope-dev] dtml-in batching badly

2001-06-18 Thread seb bacon
Hi, First, I don't post to this list normally; is it the best place to discuss an apparent bug? Anyway, the lowdown: If you iterate over a list with a batch size of 1, it messes up towards the end of the sequence. For example, the following code: dtml-call REQUEST.set('hoo',(1,2,3,4))

[Zope-dev] clipboard utility

2001-05-08 Thread seb bacon
Just a quick thought - It'd be useful to be able to see what is on your 'clipboard' when you're copyandpasting. Would it be a Bad Thing to factor out the first bit of OFS.CopySupport.manage_pasteObjects into a separate function, which is callable TTW? You could then iterate over the objects on

Re: [Zope-dev] Catalog in 2.3.1

2001-04-19 Thread seb bacon
* Adrian Hungate [EMAIL PROTECTED] [010419 10:09]: Are there some problems with the new catalog? I have spotted two possible problems: 1) In CatalogAware, there is a function reindex_all, which appears to have a few problems, like calling index_object instead of reindex_object. Also, why

[Zope-dev] Medusa and HTTP/1.1

2001-03-30 Thread Seb Bacon
I've been yelling at my ISP (BTopenworld) for having a badly configured transparent proxy cache, which caches all content *unless* the source specifies otherwise. It's been really messing up my development, and of course it's a concern for my users too. Hopefully they'll sort it out. Anyway,

RE: [Zope] CacheManagers are cool :)

2001-01-30 Thread Seb Bacon
anybody tried expiring an object,? say after 300 secs, the cached object expires, get invalidated and a new cached object is created when somebody requested the page. is there any simple way to expire a RAM Cache? haven't tried this yet. also, for those who tried caching. what do you guys

RE: [Zope-dev] 2.3.0 release badness

2001-01-29 Thread Seb Bacon
FWIW, I recall having similar problems with external JavaScript files in NS - it seemed that the onload event of the body is triggered *before* the external JS is loaded into the namespace. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve

Re: [Zope] user creation authentification

2001-01-29 Thread seb bacon
ralf, is it possible to create users "not using" the zope management interface ??? i would like to log in some user with my own login screen or how can i edit the default userauthentification screens from the browser (Netscape/IE/opera) ? my advice: in order to accomplish the second task

Re: [Zope] CacheManagers are cool :)

2001-01-29 Thread Seb Bacon
I've just been experimenting with the RAM Cache manager, and FWIW I thought I'd share my findings: ... There was no significant improvement where there were no concurrent requests. very cool. although i find the lack of improvement on a non concurrent requests a bit strange if its a

Re: [Zope] Editors [OT]

2001-01-25 Thread seb bacon
- class browser for python, with expand/collapse of code (like the editor for Python 2) would http://www.beopen.com/products/oobrowser/oobrowser_overview.html be any use? ___ Zope maillist - [EMAIL PROTECTED]

[Zope] commit_sub error in Product

2001-01-16 Thread seb bacon
I'm writing a minimal product for which I'm getting a Error Type: AttributeError Error Value: commit_sub from the transaction machinery. The traceback's no help. The offending code, however is: class Foo(SimpleItem) def __init__(self, id, title, file): self.file =

Re: [Zope] Pesky DateTime problem

2000-12-15 Thread seb bacon
The problem lies in adding an instance of the job board ZClass at which point Zope reports an "Invalid Date-Time String". You might have considered this already, but you're not supplying a default date in the DateTime field of the form. This can cause problems, because there's a bug in zope

[Zope-dev] IE5 / Medusa bug?

2000-12-14 Thread seb bacon
Tempting fate by claiming a bug...but although I'm sure I'm at fault here, there's no sensible reason for the results I'm getting. When I view one of several different pages with IE5, the last 11 bytes don't reach the browser. I've got a couple of other people to try it out. One of them

[Zope] IE5 / Medusa bug?

2000-12-14 Thread seb bacon
Tempting fate by claiming a bug...but although I'm sure I'm at fault here, there's no sensible reason for the results I'm getting. When I view one of several different pages with IE5, the last 11 bytes don't reach the browser. I've got a couple of other people to try it out. One of them

Re: [Zope] VHost logs.

2000-12-03 Thread seb bacon
mod_rewrite is your friend. You just make a Rule that redirects anyone accessing your site on port 80 to port 443, something like this: VirtualHost 123.123.123.123 ServerName www.foobar.com RewriteEngine on RewriteRule ^/(.*)https://www.foobar.com/ /VirtualHost

[Zope] Fragments of html in IE (Was: Why Not Zope? ...)

2000-12-03 Thread seb bacon
* Riku Voipio [EMAIL PROTECTED] [001201 10:46]: Besides, the zserver on 2.1.6 seems to have bugs that sometimes let the page only 90% through. I don't know if your 90% problem is the same as the one I've been having, but I'm scratching my head a lot here: When I test my site using IE5.5, the

Re: [Zope] VHost logs.

2000-11-30 Thread seb bacon
In a manner of speaking, yes. That is, Apache needs to have correctly configured VirtualHost directives to handle the requests from the outside world appropriately, and Zope needs to have the SiteAccess product installed with correctly configured SiteRoots and access rules. It takes a

Re: [Zope] User mangement

2000-11-30 Thread seb bacon
* Sven B. [EMAIL PROTECTED] [001130 10:34]: Zope has a function "get_valid_userids()". Now my question; How is it possible to get something like (username;role;path)? sven, refer to the ZQR: http://zdp.zope.org/projects/zqr/ZopeQR and look for the section describing the

RE: [Zope] VHost logs.

2000-11-30 Thread Seb Bacon
VirtualHost 123.123.123.123 ServerName www.foobar.com RewriteEngine on RewriteRule ^/(.*) https://www.foobar.com/ /VirtualHost of course i actually meant: VirtualHost 123.123.123.123 ServerName www.foobar.com RewriteEngine on RewriteRule ^/(.*)

  1   2   >