Re: [Zope-dev] Resource Discovery (was Observer / Notification Interface Proposal) Proposal)

2000-05-25 Thread Anthony Baxter
"Phillip J. Eby" wrote In our case, perhaps it needs to be:: def findNearestResource( meta_type ): which causes a walk up the containment hierarchy, searching for objects of the given meta_type. I would suggest that it ask for an interface, rather than a meta_type. Otherwise,

Re: [Zope-dev] 'import' busted in current-cvs.

2000-05-30 Thread Anthony Baxter
issues with current-cvs go into the Collector? Many times it seems stuff is fixed well before the Collector gets seen to. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist

Re: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Anthony Baxter
"Kevin Dangoor" wrote If you are using CVS, you need to do an update in ZODB to update the coptimizations.c file then rebuild the coptimizations module. That should fix the problem... That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Anthony Baxter
Shane Hathaway wrote You did better than you think, Anthony. I was going to release the product I've been putting together, but your little product does virtually the same thing. Good work! Lucky guessing, and trawling CVS. :) There is, however, a major security problem with making it

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Anthony Baxter
erate more naturally might be a better approach. Yep, you figured out what I was doing - it was more a matter of 'should it work this way?' -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Anthony Baxter
small baby? Dammit, I think it just made a mess. Oh well, teach me to fiddle with stuff. :) New version of the MountedFileStorage product is up, and cataloged. See http://www.zope.org/Members/anthony/software/MountedFileStorage I'll put a note about it on [EMAIL PROTECTED] Anthony -- Anth

[Zope-dev] transaction support for ordering transactions.

2000-06-05 Thread Anthony Baxter
end(object) + if early: + self._prepend(object) + else: + self._append(object) def note(self, text): if self.description: -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. __

Re: [Zope-dev] transaction support for ordering transactions.

2000-06-06 Thread Anthony Baxter
"Phillip J. Eby" wrote There is an error in your patch, however. _prepend should use self._objects.insert(0,object), as the way you're doing it now will break the _append method. (Because _append is a reference to _objects.append, and you're replacing the old _objects with a new list.

[Zope-dev] advice on MountedFileStorage changes.

2000-06-11 Thread Anthony Baxter
I've nearly completed the code to make MountedFileStorage able to create new FileStorages on demand, _however_... I'm hitting a bit of a problem with the Product initialisation. Right now I'm just calling OFS.Application.initialize(), which goes through and re-imports all the products, and

[Zope-dev] Re: advice on MountedFileStorage changes.

2000-06-13 Thread Anthony Baxter
Shane Hathaway wrote I looked some more at ZClasses and such today, hoping to solve the problem with mounted databases. Guess what! It turned out to be a simple matter. Excellent! I've added support in CVS, and I'll do a new release this evening. The latest addition to Mount.py provides

Re: [Zope-dev] ZEO and Mountable Fses?

2000-07-05 Thread Anthony Baxter
- [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/mailman/listinfo/zope ) -- Anthony Baxter [EMAIL PROTECTED] It's never too la

[Zope-dev] permission mapping error when importing a ZClass-based product.

2000-08-10 Thread Anthony Baxter
. (Waaa). Well, it has happened, and I'd like it to go away. Any ideas what causes this? Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope-dev] Re: permission mapping error when importing a ZClass-based product.

2000-08-10 Thread Anthony Baxter
Ok, I got a quick workaround by making a new Product, and creating the permissions it needed inside there. I _suspect_ the problem was caused by nested ZClasses. Uuuugly. Anthony Anthony Baxter wrote I'm trying to export/import a ZClass based product from one Zope2.2 system to another

Re: [Zope-dev] Linux Zope - Win2K SQL Server?

2000-12-07 Thread Anthony Baxter
rg/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope-dev] Greedy except clauses

2001-02-08 Thread Anthony Baxter
[EMAIL PROTECTED] wrote I've run into several greedy except: clauses now, and have submitted patches to make them a little less greedy. Out of curiosity, I searched the Zope source for "unfiltered" except: clauses... % grep -rl "except:$" . |wc -l 102 ... erk Erk and a lot. This is a

Re: [Zope-dev] Greedy except clauses

2001-02-08 Thread Anthony Baxter
Is it the sort of thing where it's just work putting a list of all of them (line numbers, c) up on a web page, maybe crosslinked into cvsweb? Then people can go and pick them off, one at a time. ok dokey - so, is DC still running a source view web system? If so, you could easily enough

Re: [Zope-dev] Greedy except clauses

2001-02-08 Thread Anthony Baxter
ooo. Richard didn't do it right - there's actually over _600_ bareword except: clauses in the current zope-2_3-branch A quick breakdown of some of the biggies: 71 in OFS/ 61 in ZODB/ 56 in ZServer/ 53 in ZGadflyDA 50 or so in what seems to be test scripts or modules (probably ok) 42 in

Re: [Zope-dev] Greedy except clauses

2001-02-08 Thread Anthony Baxter
Ok, my last for tonight - I put the output of my horrible script at http://www.zope.org/Members/anthony/BarewordExcepts I'll work over it a bit probably early next week - an obviousish next step is to make it note when the body of the except: contains a 'raise' statement. Anthony

Re: [Zope-dev] Greedy except clauses

2001-02-09 Thread Anthony Baxter
uinely what's wanted, could we put a comment in the source to make it easier to strip them out). Anthony, working towards an "except:" free-world :) Jeremy Hylton wrote "AB" == Anthony Baxter [EMAIL PROTECTED] writes: AB Now, it's obvious that not all of these are bad - so

[Zope-dev] ZEO client-server protocol endian-safe?

2001-05-08 Thread Anthony Baxter
Any known gotchas with running ZEO server and ZEO client on boxes of different endianness? e.g. the server running on sun solaris/sparc, while the clients are on x86 linux boxes. I'd expect it to be fine, but am feeling paranoid... ta, Anthony. ___

[Zope-dev] ZEO Clients, broken servers, and Z2.pid

2001-05-09 Thread Anthony Baxter
As far as I can see, ZEO clients don't write a pid to Z2.pid until after they've successfully connected to a storage. Is there a reason for this? Ta, Anthony ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Anthony Baxter
package? Ideological reasons? How does releasing under the GPL make the world a better place? Anthony, who's seen too much of the GPLd-for-GPLs-sake. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread Anthony Baxter
-- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ 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] ZPL and GPL

2001-06-26 Thread Anthony Baxter
/ECCCHMAScript. I can't see cisco agreeing to opensource IOS so that they can embed a decent language in it. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http

[Zope-dev] [patch] making 'Find' traverse into ZClass Products

2001-09-20 Thread Anthony Baxter
I got completely fed up with the Zope 'Find' stuff not being about to traverse through Products/Foo/FooProduct, where FooProduct is a ZClass. The following patch adds this support to the FindSupport.ZopeFind method through the simple fix of saying if it's a ZClass, keep looking in

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

2001-09-21 Thread Anthony Baxter
Morten W. Petersen wrote Will a ZPL-ish license [1] be accepted (declared, ref. paragraph 4 of the Zope Contributor Agreement) by the Zope Corporation? [1] http://www.thingamy.org/tpl Um, this license would seem to have the obnoxious advertising clause problem - it requires you to put the

[Zope-dev] making wo_pcgi only rebuild when necessary.

2001-09-25 Thread Anthony Baxter
I've got Zope code and installation pretty heavily automated here, but one thing that takes a while is that after a cvs update, I have to do a complete wo_pcgi on each box to make sure everything's up to date. This forces everything to be rebuilt. Is there anything that could be done to make it

[Zope-dev] help identifying a structure inside Zope.

2001-10-24 Thread Anthony Baxter
that generates this sort of structure? c_o_s is a string we use in our code as a property, a database column, and a REQUEST variable. As far as we can tell, it's not something being generated by our code... Thanks, Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have

Re: [Zope-dev] help identifying a structure inside Zope.

2001-10-24 Thread Anthony Baxter
Chris McDonough wrote I'd be tempted to suspect the BTrees module setstate code. Yeah? This is something that you'd expect to see with it? Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood

Re: [Zope-dev] login prompt after letting user change his password.

2001-10-28 Thread Anthony Baxter
/zope-announce http://lists.zope.org/mailman/listinfo/zope ) -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Any interest in a set of Zope products to support CVS-versioned, XML/XSLT-based Zope development?

2001-10-30 Thread Anthony Baxter
, unfortunately...) Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] CVS: Zope-2_4-branch HelpSys b0rken.

2001-10-11 Thread Anthony Baxter
. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] RestrictedPython under no-GC 2.1 seems to leak a hell of a lot.

2001-10-17 Thread Anthony Baxter
Running current Zope 2.4 CVS under python 2.1 built --without-cycle-gc, I'm seeing an absolutely _enormous_ amount of leaked objects in RestrictedPython. This is on one of our ZEO clients, after 45 minutes of runtime. The deltas are after 5 minutes.

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

2001-12-17 Thread Anthony Baxter
couldn't run a zeo client on a nogc python for more than about an hour. ah - here's the message I sent: Date:Wed, 17 Oct 2001 18:10:27 +1000 To: [EMAIL PROTECTED] From:Anthony Baxter [EMAIL PROTECTED] Subject: RestrictedPython under no-GC 2.1 seems to leak a hell of a lot. Running

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

2001-12-18 Thread Anthony Baxter
using pythonscripts, don't bother without cyclic GC. For me, I run the ZEO server without GC (because that stops the stomped stack bug killing the ZEO server), and the ZEO clients with GC (and just wear the restarts. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy

Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-20 Thread Anthony Baxter
Matthew T. Kromer wrote Anthony Baxter is anticipating a Python 2.1.2 beta real soon now (probably this weekend) so I am going to try to get that into Zope 2.5's binary releases, although we may put out a Zope 2.5 beta 3 first. This will include the necessary Python patches to ceval.c

Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-20 Thread Anthony Baxter
is out - I don't have access to a massive number of platforms, so I'd like to know if I've accidentally broken anything. :) Watch this space... -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev

Re: [Zope-dev] Session Tracking in 2.5

2002-01-09 Thread Anthony Baxter
_strongly_ urge that the documentation for it be updated. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Core dumps - How to find out the bug?

2002-01-21 Thread Anthony Baxter
, old=0x80b2298) at ./Modules/gcmodule.c:382 #2 0x080701c2 in collect_generations () at ./Modules/gcmodule.c:479 Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist

[Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Anthony Baxter
aware, Zope 2.4 includes it's own version of the Compiler code, and the current release of 2.4 still has the stacksize bug. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist

[Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Anthony Baxter
think something in MySQL may have thread-local state). In that case, how about cutting a version which is 2.4.3 + the compiler fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :) Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood

Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Anthony Baxter
Behrens Matt - Grand Rapids wrote Anthony Baxter wrote: In that case, how about cutting a version which is 2.4.3 + the compiler fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :) You already have that. Check out the Zope-2_4-branch from CVS (see http

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Anthony Baxter
Olivier Deckmyn wrote assertion STACK_LEVEL() = f-f_stacksize failed: file Python/ceval.c, line 687 This is a new assertion, put in to catch the case where the RestrictedCompiler code used by PythonScripts incorrectly calculates stack size. After some hours of researches, I have a (dirty,

Re: [Zope-dev] Call Profiler

2002-01-31 Thread Anthony Baxter
Richard Jones wrote 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) From my point of view, this is a critical piece

Re: [Zope-dev] Load balancing over FastCGI

2002-02-04 Thread anthony baxter
(apologies for formatting oddness - at conference, so don't have access to normal mailer. _hopefully_ this will be in plain text...) Andy Sydelko wrote: Has anyone actually used multiple FastCgiExternalServer directives within apache, each pointing to a separate ZEO client, to load balance?

Re: [Zope-dev] still segfaults, this time no ZMySQLDA

2002-02-27 Thread Anthony Baxter
-- Anthony Baxter [EMAIL PROTECTED] It's never to late to have a happy childhood. ___ 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] Zope 2.6 planning - call for contributors!

2002-03-03 Thread Anthony Baxter
. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never to late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

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

2002-03-04 Thread Anthony Baxter
that, lions.] Eccles: Oww! Oww! Ooh! Oww! Hey! These gorillas are strong. Here! Have one of my monkeys -- they're milder. -- http://www.residents.com/Goons/napoleon.piano.html -- Anthony Baxter [EMAIL PROTECTED] It's never to late to have a happy childhood. Seagoon: Here! Have a gorilla

Re: [Zope-dev] Zope 2.4.4b1 and Python 2.1.2 crash again

2002-03-05 Thread Anthony Baxter
Nicola Larosa wrote you should read the Stability Howto: http://www.zope.org/Members/matt/StabilityHOWTO This docco doesn't clearly state that you MUST recompile your pythonscripts when upgrading to 2.4.4+ (when do we see a real 2.4.4, anyway?) Anthony -- Anthony Baxter [EMAIL

Re: [Zope-dev] more on the segfault saga

2002-03-14 Thread Anthony Baxter
over and breaks. I think I've mentioned it before, but looking at the object _before_ the corrupted one in memory might be a useful thing to try... Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never to late to have a happy childhood

Re: [Zope-dev] manage frame change

2002-03-17 Thread Anthony Baxter
? The host running the ZEO client? What about those of us who run multiple ZEO clients on the same machine (multi-cpu, test instances, whatever)... Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never to late to have a happy childhood. ___ Zope-Dev

Re: [Zope-dev] manage frame change

2002-03-19 Thread Anthony Baxter
seb bacon wrote But we come back to the point that you may be logged into one of (say) 3 app servers (ZEO clients) all serving the same domain, no? and on the same box ... :) Anthony ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] A thought for 2.6 about various leaks and memory problems

2002-03-19 Thread Anthony Baxter
Adrian Hungate wrote moved to a different thread or earlier, before the fork, so that we could simply kill senile threads without killing the entire shooting match? unfortunately apache does this with seperate processes, not threads. memory corruption and leaks aren't solved by offing

Re: [Zope-dev] ZClass Constructor Cleanup for 2.6

2002-04-01 Thread Anthony Baxter
Casey Duncan wrote I don't think this is a big enough change to warrant a real proposal, so I'll shoot this out here: Does anyone see a problem with changing the default generated constructor method for ZClasses to a python script in Zope 2.6? +1. There's always some funniness in

Re: [Zope-dev] Final Python 2.1.x and Zope 2.5.x releases?

2002-04-02 Thread Anthony Baxter
for a release. At the moment it's looking like a source release, with RPMs and and ActiveState windows packages. I don't think there'll be a PythonLabs windows binary release, and there wasn't a 2.1.2 Mac binary release, either... Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have

[Zope-dev] Python 2.1.3 is out.

2002-04-08 Thread Anthony Baxter
Python 2.1.3 is out. See http://www.python.org/2.1.3/ This release _should_ now make Zope happy - it has the recent bugfix for the GC/Trashcan interaction ugliness. I'd recommend anyone running Zope 2.4 or 2.5 to upgrade to this version, in particular if you use PythonScripts. Anthony

Re: [Zope-dev] Speaking of 2.6...

2002-04-17 Thread Anthony Baxter
. Storing stuff in a session is often one of the critical bits of a web request, so it's important to me that it be clear and easy to see this. Anthony [*] I assume the standard Zope session stuff has adopted the SESSION convention now? it wasn't in CST -- Anthony Baxter [EMAIL PROTECTED

Re: [Zope-dev] Speaking of 2.6...

2002-04-17 Thread Anthony Baxter
-trolling-for-ChrisW-ly yrs, Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Speaking of 2.6...

2002-04-18 Thread Anthony Baxter
Chris - stay in the stone age, I hear they have fire there ;-) mmm. fre pretty. Page Templates burn, don't dey. Be a shame if somefing was to happen to your nice shiny website. Anthony, who might have been spending too long in the bad places of SQL.

Re: [Zope-dev] Tyring to FTP to Zope running behind firewall, get login box but no directory listing

2002-04-23 Thread Anthony Baxter
port. I'd say it's almost _certainly_ a firewall issue. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] Zope process killed

2002-05-17 Thread Anthony Baxter
should be running 2.4.4 or 2.5.1. This is a known bug in 2.4.3. (It only shows up under python 2.1.3 or later - earlier versions of python silently corrupt memory). Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood

Re: [Zope-dev] Zope process killed

2002-05-18 Thread Anthony Baxter
:) If there was a Zope FAQ, I'd say this one'd get an entry. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] ACTION: 2.6 project status updates...

2002-06-07 Thread Anthony Baxter
I haven't yet finished of the CallProfiler bits, but it's a long weekend here, and I plan to attack and finish it over this weekend. I've had more of a go at the refresh problem, and I think I'll just make sure there's no refresh.txt for now :( Anthony -- Anthony Baxter [EMAIL PROTECTED

[Zope-dev] ZCatalogs with SearchIndexes in ZODB - how to fix?

2002-07-24 Thread Anthony Baxter
, Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ 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] zope and python compatibility

2003-01-09 Thread Anthony Baxter
Leonardo Rochael Almeida wrote It is possible to run 2.6 under Python 2.2, but it's unsupported Note that you'll need 2.2.2. 2.2 and 2.2.1 have bugs that Zope triggers. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood

Re: [Zope-dev] if-then-else expression in Python

2003-02-09 Thread Anthony Baxter
soliciting no votes or yes votes from people who aren't going to read the proposal. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman

Re: [Zope-dev] How (in)secure is Zope?

2003-03-13 Thread Anthony Baxter
cross site scripting or cache poisoning issues, and that can be attributed to, in part, my growing disastifaction with the system. That's really a separate issue that is a zope corp thing to address... Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy

Re: [Zope-dev] Versions: should they die?

2003-06-04 Thread Anthony Baxter
. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] current zope2 head warnings with cur-cvs python

2003-07-11 Thread Anthony Baxter
Running the current Zope2 HEAD with current-cvs python, starting gives the following 3 warnings. /home/anthony/src/zope/ZopeHead/lib/python/ZServer/medusa/test/max_sockets.py:53: DeprecationWarning: integer argument expected, got float for i in range(1 + len(sl) * 0.05):

Re: [Zope-dev] ZCatalog Indexes tab crawls...

2003-07-17 Thread Anthony Baxter
Andreas Jung wrote I agree but the current implementation sux. Switching to a counter based solution would solve the problem. The only problem I see is to keep the code fully backward compatible. if there's no counter present: create one, do a count of the docs, initialise the counter

[Zope-dev] segfaults in cPersistence under 2.6

2003-07-25 Thread Anthony Baxter
? I'm thinking of a simple function that just zips around the ring checking that it's sane in both directions... (yes, I've confirmed that all the C extensions have been rebuilt cleanly). -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood

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

2003-07-25 Thread Anthony Baxter
More information: I don't see the failure with a fresh Data.fs. The Data.fs in question is my 2.5 one. I'm running the current HEAD of Zope-2_6-branch. I packed the Data.fs, the same result. I've added a simple function to 2.6's cPersistence.c: static void ringcheck(CPersistentRing *start) {

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

2003-07-25 Thread Anthony Baxter
Toby Dickenson wrote On Friday 25 July 2003 08:30, Anthony Baxter wrote: More information: I don't see the failure with a fresh Data.fs. The Data.fs in question is my 2.5 one. Do you have any custom persistent extension classes stored in that Data.fs that might not have been updated

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

2003-07-25 Thread Anthony Baxter
rays. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

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

2003-07-25 Thread Anthony Baxter
Tim Peters wrote Jeremy and I saw cases of ring corruption while putting together the experimental ZODB 3.3, but they were 100% reproducible on all platforms, and turned out to have clear causes (some of the C objects we backported from ZODB4 were getting ghostified by the ZODB4 code without

[Zope-dev] more Zope2.6 fun: ZEO client death.

2003-07-30 Thread Anthony Baxter
So I see ZEO clients here falling over all over the place under current 2.6 with: 2003-07-30T07:01:04 ERROR(200) ZEO uncaptured python exception, closing channel ZEO.zrpc.asyncRPC connected '' at 0xc57198 (exceptions.AttributeError:keys

Re: [Zope-dev] more Zope2.6 fun: ZEO client death.

2003-07-30 Thread Anthony Baxter
Anthony Baxter wrote So I see ZEO clients here falling over all over the place under current 2.6 with: 2003-07-30T07:01:04 ERROR(200) ZEO uncaptured python exception, closing channel ZEO.zrpc.asyncRPC connected '' at 0xc57198 (exceptions.AttributeError:keys [/export/01/zope/dev_ekit

Re: [Zope-dev] more Zope2.6 fun: ZEO client death.

2003-07-30 Thread Anthony Baxter
in 2.6.2. :-/ -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] more Zope2.6 fun: ZEO client death.

2003-07-30 Thread Anthony Baxter
Anthony Baxter wrote Updating it by hand to ZEO2 hasn't made all good and happy, though - the ZEO/start.py includes import ThreadedAsync.LoopCallback at the top of the file, but the sys.path magic that makes this available is inside the main() function. Moving the import to the line after

[Zope-dev] Packing (still) hosed in 2.6.2?

2003-08-14 Thread Anthony Baxter
I remember that 2.6 had issues with packing, but I was under the impression that they'd been fixed... However, attempting to pack a Data.fs in 2.6-current-cvs fails for me: File /export/01/zope/dev_csr_code/lib/python/ZODB/DB.py, line 526, in pack try: self._storage.pack(t,referencesf)

Re: [Zope-dev] Packing (still) hosed in 2.6.2?

2003-08-15 Thread Anthony Baxter
Woohoo! Fixed. I created an empty file, then used copyTransactionsFrom to copy all transactions across. This patched the backpointers. fsrecover.py should probably get some smarts to do something like this as well, but I've spent far too long on this problem already... :-/ from ZODB import

Re: [Zope-dev] Packing (still) hosed in 2.6.2?

2003-08-15 Thread Anthony Baxter
Jeremy Hylton wrote I don't recall that any of the pack bugs that we fixed caused this sort of error. My first guess would be that the file is a bit damaged, perhaps in a way that the old pack did not check. Can you run fsdump.py and see if that output sheds any light. It will give you a

Re: [Zope-dev] Can't build 2.6.2-b5 on Redhat 7.3

2003-08-24 Thread Anthony Baxter
/ExtensionClass.h:94:20: Python.h: No such file or directory It can't find Python.h - it's looking in /usr/local/include/python2.1 for it - is the file there? Is it readable by the user that the build is running under? Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have

Re: [Zope-dev] Very severe memory leak

2003-08-25 Thread Anthony Baxter
. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] upgrading and getting rid of SearchIndex

2003-08-27 Thread Anthony Baxter
that could/should be included with Zope? Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

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

2003-10-03 Thread Anthony Baxter
). Don't forget you also get the C version of datetime. I also don't know that we should consider 2.3.1 acceptable for any version of Zope. Meh. 2.3.1 gets a bad rap. Aside from the fsync problem, there's nothing fundamentally broken about it. Anthony -- Anthony Baxter [EMAIL PROTECTED

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

2003-10-23 Thread Anthony Baxter
against, say, a 2.7 beta. Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Windoz file naming

2003-10-29 Thread Anthony Baxter
alan milligan wrote Guys, I've just run into a problem and wondered if there was an elegant resolution. My BastionBanking package contains: currency.py - pure python Currency.py - Zope derivation The typical approach in Python is to have, e.g. Tkinter, and _tkinter.

Re: [Zope-dev] app = Zope.app() backwards incompatibility notice / discussion

2003-12-21 Thread Anthony Baxter
Zope.configure('configfile')? Anthony -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Re: Resolved security-related collector issues for the public?

2004-01-21 Thread Anthony Baxter
-- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ 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] Core Dump (Zope 2.7, Python 2.3.3, FreeBSD 4.5)

2004-02-18 Thread Anthony Baxter
, that are at fault. Of course, if it's memory corruption, this could be tricky to figure out... -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman

Re: [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please

2004-03-01 Thread Anthony Baxter
. -- Anthony Baxter [EMAIL PROTECTED] It's never too late to have a happy childhood. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope-dev] In Defense of ZClasses

2006-09-28 Thread Anthony Baxter
On 9/28/06, Lennart Regebro [EMAIL PROTECTED] wrote: My 0.02 EUR: I like the idea and aim of ZClasses. However: I think the implementation makes them more difficult to create than disk-based classes, which defeats the purpose. I also think that without exact knowledge of the limitations of