Re: [Zope-dev] more than one user: zope 'hangs'

2001-12-11 Thread Chris McDonough
Stephan, This likely means that the interbase database adapter essentially serializes access to the database. You may want to try sending a mail to the DA maintainer if he is not on the list... Thanks! - C - Original Message - From: "Stephan Herschel" <[EMAIL PROTECTED]> To: <[EMAIL

[Zope-dev] Re: Very serious problem with Zope 2.4.x !!

2001-12-14 Thread Chris McDonough
('RA','Rav > enna'),('RC','Reggio Calabria'),('RE','Reggio > Emilia'),('RI','Rieti'),('RN','Rimini'),('RM','Roma'),('RO','Rovigo'),('SA', &

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Chris McDonough
getPhysicalRoot already exists, and returns the top-level app object when called from any Zope object. - Original Message - From: "Lennart Regebro" <[EMAIL PROTECTED]> To: "Casey Duncan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 11:48 AM Subject: Re: [Zope-d

Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-17 Thread Chris McDonough
Hmm... no, I dont think there's a call to get the virtual root. Although I imagine it would be pretty simple to add. - Original Message - From: "Casey Duncan" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]>; "Lennart Regebro"

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

2001-12-17 Thread Chris McDonough
sumption > goes through the roof. > > ___ > 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/z

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

2001-12-17 Thread Chris McDonough
Ah ok... yeah, there were reportedly several leaks in the compiler stuff that have been fixed in CVS. I imagine that's what this is. Anthony Baxter wrote: >>>>Chris McDonough wrote >>>> >>This behavior is with the patches to the compiler package that

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

2001-12-18 Thread Chris McDonough
It is no longer based on bytecodehacks, it uses Jeremy's compiler module. It did produce some (unintended) circrefs, but I think the version in CVS as well as the version that will ship with Python 2.2 has these taken out. Toby Dickenson wrote: > On Mon, 17 Dec 2001 23:13:54 -050

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

2001-12-18 Thread Chris McDonough
Oh, ok, sorry for the misreport. It sounds then as if we need to fix whatever is causing the memory corruption that GC trips over. I dont know that we have a real good handle on what this is. Note that in the meantime, folks who turn off gc in order to work around the issue who are having leaka

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

2001-12-19 Thread Chris McDonough
It would be good if someone who is experiencing random crashes could confirm that the the new compiler package fixes their problem. - Original Message - From: "Brian Lloyd" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]>; <[EMAIL PROTE

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

2001-12-19 Thread Chris McDonough
uot; <[EMAIL PROTECTED]> To: "Zope Developers list" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 2:24 PM Subject: Re: [Zope-dev] disabling gc does not necessarily hide memorycorruption > > On Wed, 2001-12-19 at 13:34, Chris McDonough wrote: > > It would

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

2001-12-19 Thread Chris McDonough
I'm not sure the ExtensionClass fix is baked yet, and there's not yet an overwhelming consensus that it helps stability, not to mention that I'm not sure how to install it, so no. ;-) I think you can use the trunk, no branch required. Hopefully the fixes will be merged soon. - Original Mess

Re: [Zope-dev] Patch acceptance. What about this one?

2001-12-27 Thread Chris McDonough
Sigh. Is this in the Collector, by any chance? - Original Message - From: "Derek Simkowiak" <[EMAIL PROTECTED]> To: "Adam Manock" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, December 27, 2001 10:46 PM Subject: Re: [Zope-dev] Patch acceptance. What about this one? > ->

Re: [Zope-dev] Patch acceptance. What about this one?

2001-12-27 Thread Chris McDonough
> At the time, I hadn't received any feedback (however, I'm not blaming > anyone). I also never posted this to the collector before. Should one > of us post this? It would be appreciated, Joseph. > Just to be safe ... You shouldn't use this entire patch unless your > server is behind apache or

Re: [Zope-dev] Patch acceptance. What about this one?

2001-12-28 Thread Chris McDonough
Thanks much!! Joseph Wayne Norton wrote: > Ok .. here's the collector url: > > http://collector.zope.org/Zope/108 > > - j > > At Fri, 28 Dec 2001 00:14:21 -0500, > Chris McDonough wrote: > >>>At the time, I hadn't received any feedback (how

Re: [Zope-dev] Anyone know how to pre-expand a certain branch of a dtml-tree?

2002-01-01 Thread Chris McDonough
Craeg, You should probably ask this question on the general Zope list (as opposed to zope-dev). Although it gets off track sometimes, Zope-dev is the list for discussion of the development of Zope (not development *in* Zope). Thanks! - C On Tue, 01 Jan 2002 16:32:26 -0500 "Craeg K. Strong" <

Re: [Zope-dev] security.declareProtected doesn't always work?

2002-01-04 Thread Chris McDonough
the issue and we can fold it in during the next editing cycle? -- Chris McDonoughZope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones" ___ Zope-Dev mail

Re: [Zope-dev] File/stream like Pdata class in Zope?

2002-01-04 Thread Chris McDonough
I think you're going to need to roll your own here... I know of no wrapper class for pdata that makes it appear to be streamlike... Sorry, - C - Original Message - From: "Niels Mache" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 11:41 AM Subject: [Zope-dev

Re: [Zope-dev] security.declareProtected doesn't always work?

2002-01-04 Thread Chris McDonough
I have added this nugget of knowledge as a comment to the ZDG. John Ziniti wrote: > >> The basic security mechanism uses the attribute "m__roles__" in order >> to protect "m". If this attribute it "None", then "m" is public. >> Otherwise, it is expected to be a sequence of roles that are allowe

Re: [Zope-dev] [Fwd: Does anyone know how to suppress display of +/- signs on a dtml-tree?]

2002-01-07 Thread Chris McDonough
There are no plans to change the tree tag for Zope 2.5, but later Zope versions might be helped out by your patch. - C Craeg K. Strong wrote: > > I would like to answer my own question (see below). According to > ZOPE/lib/python/TreeDisplay/TreeTag.py, there is no way to suppress > the di

Re: [Zope-dev] Zope 2.5.0 Sessions & Testing

2002-01-08 Thread Chris McDonough
Your problem is that a REQUEST is not created without the publisher. This is a particularly annoying and unsolved problem when doing tests. Your options are to use "import Zope; Zope.test('/some/method/name')" which has all sorts of bad side effects, or to dummy up the environment as much as pos

Re: [Zope-dev] Session Tracking in 2.5

2002-01-08 Thread Chris McDonough
CST was done via the fishbowl project at http://dev.zope.org/Wikis/DevSite/Projects/CoreSessionTracking/FrontPage. There is an explanation of the difference between the Zope 2.5 stuff and CST on the CurrentStatus page. Note that this situation makes me want to cry as well. There are supposed to

Re: [Zope-dev] asyncore.py & Broken-Pipe error

2002-01-08 Thread Chris McDonough
Broken pipe errors usually dont cause the system to stop working. Are you sure that this is the cause of the system crashing? It's almost certainly not, even though you may see errors on the console and in the log. On Tue, 8 Jan 2002 10:20:24 +0100 "Dirk Datzert" <[EMAIL PROTECTED]> wrote: __

Re: [Zope-dev] Zope 2.5.0 Sessions & Testing

2002-01-08 Thread Chris McDonough
> Is it solved in Zope 3? Zope3 is more modular, so probably. Though I dont think it's a goal. > Never even knew that existed. Where's it documented? What > does it do? What are > the side effects? "Zoper.test" as a side effect it commits a transaction. It's documented in the dev guide as "ZPu

[Zope-dev] Re: [ZODB-Dev] Replacing bobobase_modification_time

2002-01-08 Thread Chris McDonough
> I think that a much better approach, if modification time is important > to your application, is to store the application modification time in the > object as a data attribute. It might be better to cause common Zope objects to do what Casey proposes (maybe via SimpleItem) as opposed to making

Re: [Zope-dev] Session Tracking in 2.5

2002-01-08 Thread Chris McDonough
> It's important because session tracking is such a crucial feature for > people migrating from other web platforms - seeing detailed > documentation will make them so much more comfortable. it would also be > a crying shame not to make use of all the docs you already generated > along the way.

Re: [Zope-dev] Re: [ZPT] accessing object attributes from python expression raises error

2002-01-08 Thread Chris McDonough
hat would work. But I think also: meta_type__roles__ = None .. as a class attr would work as well. I'll try it and let you know if it works. -- Chris McDonoughZope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds wit

Re: [Zope-dev] Session Tracking in 2.5

2002-01-09 Thread Chris McDonough
> Well, I know _I_ think Session support is important (hint: I wouldn't > have spent the effort on SQLSession otherwise). If the decision was > made to take the CST package and change the interface before making > it part of the preinstalled set of Products, I'd _strongly_ urge that > the document

Re: [Zope-dev] Zope 2.5.0b3 a UnpickleableError

2002-01-09 Thread Chris McDonough
How does this relate to sessioning? - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 09, 2002 6:09 AM Subject: [Zope-dev] Zope 2.5.0b3 a UnpickleableError > Hi, > > trying to use the new sessioning in Zope 2.5.0b3 and get th

Re: [Zope-dev] Zope 2.5.0b3 a UnpickleableError

2002-01-09 Thread Chris McDonough
> Now DirectoryViews have FSPythonScripts as attributes, so I'm guessing that when > the DirectoryView gets committed to the TemporaryStorage, the FSPythonScripts do > as well. > > ...and apparently they don't like being pickled :-( Ah I see. What's probably happening here is that FSPythonScri

Re: [Zope-dev] sessionDataManager should create it's temp/xxxx

2002-01-09 Thread Chris McDonough
Darrell, Thanks for the bugreport, but I'm not sure I understand it. Do you think you can describe in more detail what you want that it did (does?) not do? Darrell Gallion wrote: > I went to the collector, filled out the form. > Only to find out I need and account to submit the > form!! > >

Re: [Zope-dev] sessionDataManager should create it's temp/xxxx

2002-01-09 Thread Chris McDonough
OIC. Thanks! This patch probably makes sense for some class of usage. I'm a little skittish because I think doing magic (e.g. "if I dont find a data container where I said there was one, make one in /temp_folder") might tend to bite folks. Also, doing "writes on reads" (explicitly commitin

Re: [Zope-dev] sessionDataManager should create it's temp/xxxx

2002-01-09 Thread Chris McDonough
Darrell Gallion wrote: > Is it magic if the Session manager creates it's own > data container? The first one is created for you but > not by the Session system. That seems like magic. It's created by the Zope package, which indeed is magic, but something needed to populate it with default dat

Re: [Zope-dev] sessionDataManager should create it's temp/xxxx

2002-01-09 Thread Chris McDonough
> Actually, we did have the Temporary Folder have the capability to > automatically import its contents at system startup, but that got tossed > out as being function inappropriate to a temporary storage container by > executive fiat. Yeah.. I actually think now that this was the right decisio

Re: [Zope-dev] poor mans solution to startup folder

2002-01-09 Thread Chris McDonough
ell Gallion" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 09, 2002 7:13 PM Subject: Re: [Zope-dev] poor mans solution to startup folder > External methods aren't the best solution I know. &g

Re: [Zope-dev] Re: [ZODB-Dev] Big problem.

2002-01-10 Thread Chris McDonough
Ugg. This is my fault. Get the tranalyzer (http://www.zope.org/Members/htrd/tranalyzer) Follow the instructions from Itamar's howto here: http://www.zope.org/Members/itamar/CorruptedZODB Andrew Sydelko wrote: > Jeremy Hylton wrote: > >>Could you just undo enough transactions to get back to

Re: [Zope-dev] Re: [ZODB-Dev] Big problem.

2002-01-10 Thread Chris McDonough
got on Jeremy's case for something like this not too long ago. ;-) Mea culpa. - C Andrew Sydelko wrote: > Chris McDonough wrote: > >>Try the "original" tranalyzer here instead: >>http://www.zope.org/Members/tsarna/Tranalyzer >> > > That's be

Re: [Zope-dev] Re: [ZODB-Dev] Big problem.

2002-01-10 Thread Chris McDonough
older, and browser_id_manager objects and restart without the faux products. Andrew Sydelko wrote: > Chris McDonough wrote: > >>Darn. At this point you can try just hacking off bits of file at the >>end of a *copy* of the Data.fs you have by using the trunctate method >>described in Ita

Re: [Zope-dev] Re: [ZODB-Dev] Big problem.

2002-01-10 Thread Chris McDonough
p._delObject('temp_folder') del app.__before_publishing_traverse__ get_transaction().commit() Note that if you've got access rules or site roots in your root dir, this will blow those away and you'll need to recreate them. Chris McDonough wrote: > Note that untarring the attached &

[Zope-dev] Re: [ZODB-Dev] more problems.

2002-01-10 Thread Chris McDonough
e... > > / returns 400 Bad Request > /manage_main returns 404 Not Found > > --andy. > > ___ > For more information about ZODB, see the ZODB Wiki: > http://www.zope.org/Wikis/ZODB/ > > ZODB-Dev mailing list - [EMAIL PROTECT

[Zope-dev] Re: granting access to a single attribute with declarative security

2002-01-11 Thread Chris McDonough
This has been used to solve the problem seen by Michael when iterating over items and getting "meta_type" where the sessioning objects were in the list of items being iterated over. Michael R. Bernstein wrote: > On Wed, 2002-01-09 at 10:13, Wolfram Kerber wrote: > >>>I didn't think you could

Re: [Zope-dev] Bug Or Feature in ZopeSplitter

2002-01-14 Thread Chris McDonough
This is correct. The current splitter implementation ignores digits. You can make your own implementation that does not. Andre Schubert wrote: > Hi all, > > After playing with Zope 2.4.3 and TextIndexes i found out that the > TextIndex does not Index Digits( "12345" ). > Thatswhy i looked in

[Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Chris McDonough
Joachim Werner wrote: > As the Temporary Storage is incompatible with versions, it seems to me that > I can not at all use any session manipulating code in a method that might be > called under version control. This is very disturbing to me. I'm sorry you're disturbed. ;-) > Are there

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Chris McDonough
Joachim Werner wrote: > Thanks for the hint. I'll try using a versioning storage, though it might be > rather inefficient I guess? Most (all?) versioning storages are also undoing so you'll be keeping undo data that will need to be packed away. It's also hard to manage an undoing mounted sto

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-14 Thread Chris McDonough
> - I have an index_html method that calls an "initializeSession" method at > the beginning to initialize certain session variables. (Is there another way > to do this?) Yes, you can use an "script to call when objects are added" method in the transient data container related to the session in or

Re: [Zope-dev] Re: Temporary Storage + Sessions + Versions: How?

2002-01-15 Thread Chris McDonough
Yeah... Either this or a storage that doesn't cause a version lock error when accessing an object that has been changed in a version are potential solutions. - Original Message - From: "Joseph Wayne Norton" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMA

Re: [Zope-dev] how to preserv information

2002-01-15 Thread Chris McDonough
Hi Champier, Please use the [EMAIL PROTECTED] list to post questions about programming in Zope. The zope-dev list is for folks to talk about coding Zope itself. Please also try not to send mail in HTML format. Thanks! - C - Original Message - From: Champier To: [EMAIL PROTECTED] Sent

Re: [Zope-dev] CMF attribute horror or too many [t|T]itles

2002-01-15 Thread Chris McDonough
Hi Romain, This is slightly offtopic for zope-dev. It probably belongs on the Zope CMF list. Thanks! - C - Original Message - From: "Romain Slootmaekers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 12:26 AM Subject: [Zope-dev] CMF attribute horror or t

Re: [Zope-dev] Using Queue within a Zope product

2002-01-15 Thread Chris McDonough
> I need to put messages into a queue from within a Zclass, and then get and > process them from an external long running process. When you say an external long running process, do you mean that you'll want to access them from a separate process via something like XML-RPC? or ZEO? Or HTTP? What

Re: [Zope-dev] Zope 2.5.0b4 problems w/ ZEO

2002-01-15 Thread Chris McDonough
> in this particular case, ZEO is a red herring... In beta 4 (and > curiously, not on the HEAD--I'm sure I'll hear a "mea maxima culpa" soon > from someone) the base class for the SessionDataManagerTraverser was > made to be a persistent object. Since the base class changed, the ZODB > is now ha

Re: no more SIG11 --without-pymallog --without-cycle-gc (was Re: [Zope-dev] Bravery & Zope 2.5 Testers)

2002-01-16 Thread Chris McDonough
Today. See http://www.python.org. But give us a little time. ;-) Chris Withers wrote: > "Matthew T. Kromer" wrote: > >>Post Python 2.1.2 final. :) Probably very shortly therafter. >> > > When is Python 2.1.2 final out?! > > Chris > > ___ > Zope

[Zope-dev] Re: large files and --pymalloc on the new release? (was Re: no more SIG11 ...)

2002-01-16 Thread Chris McDonough
Leonardo Rochael Almeida wrote: > Will the binary Linux release include large file support? > In other words, can I have a > 2G Data.fs? Hmmm.. I dont think the Zope 2.5b4 Linux binary is built this way, but in both Zope 2.4.4 and 2.5.0 it probably should be. We'd probably need someone to co

Re: [Zope-dev] Upgrading to python 2.1.2 and Zope 2.5b4

2002-01-17 Thread Chris McDonough
's not going to make > my MySQL and other modules in site-packages unusable? (sorry if this is a > daft question - I have a *lot* of zope sites using python 2.1 at the moment) > > Many thanks > Tone > -- Chris McDonough

Re: Testing for stabliity (was [Zope-dev] Re: large files and --pymalloc on the new release? (was Re: no more SIG11 ...))

2002-01-17 Thread Chris McDonough
onsistent tests for this, though, so hints on what to look > out for are equally appreciated. -- Chris McDonoughZope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones" ___

Re: [Zope-dev] Zope 2.5.0b3 a UnpickleableError

2002-01-17 Thread Chris McDonough
-makes-me-retype-docs, ;-) >> > > When's ZODB4 out? ;-) > > Nah, what was the one line question you were expecting? just-me-being-snarky, -- Chris McDonoughZope Corporation http://www.zope.org

Re: [Zope-dev] Re: [Zope] Security Assertions

2002-01-17 Thread Chris McDonough
patched function). I think Products are initialized alphabetically, but may be wrong. ;-( -- Chris McDonoughZope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones" ___

Re: [Zope-dev] Testing my product

2002-01-17 Thread Chris McDonough
Please read both the Zope developer's guide and the document UNITTEST.txt in the Zope doc directory. These pages are also helpful: http://dev.zope.org/CVS/ZopeTestingGuidelines , http://diveintopython.org/roman_divein.html , http://pyunit.sourceforge.net/pyunit.html . - C - Original Message

Re: [Zope-dev] Zope is dying - Please, help!

2002-01-17 Thread Chris McDonough
The "compiler" module that ships with 2.4.3 "RestrictedPython" still has a few bugs in it that could cause this behavior. 2.4.4 will be a bugfix release to solve this. Please either wait for 2.4.4 or use 2.5beta4. - c - Original Message - From: "Rodrigo Leme de Mello" <[EMAIL PROTECTED

Re: [Zope-dev] Zope is dying - Please, help!

2002-01-17 Thread Chris McDonough
Since Zope 2.4 and/or Python 2.1. (there are bugs in both that cause crashes) - Original Message - From: "Rodrigo Leme de Mello" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 10:06 AM Subject: Re: [Zope-d

Re: [Zope-dev] Re: [Zope] Security Assertions

2002-01-17 Thread Chris McDonough
> Just a quick note on this point, there are two points during startup when a > product can get control: > 1) When the __init__.py is imported > 2) When the initialize function within that __init__.py is called. I think Godefroid's case it would definitely want to be in __init__.py *outside* of t

Re: [Zope-dev] Re: [Zope] Error on install

2002-01-17 Thread Chris McDonough
>> >>- >> >> >>>>- >>>> >>>___ >>>Zope maillist - [EMAIL PROTECTED] >>>http://lists.zope.org/mailman/listinfo/zope >>>** No cross posts or HTML encoding! ** >>>(Related lists - >>> h

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

2002-01-21 Thread Chris McDonough
Yes, there is still a "compiler module" bug in Zope 2.4.3 that will cause crashing under any Python version. Please wait for Zope 2.4.4 (ETA unknown) or upgrade to Zope 2.5.0b4 (which already has the fix). - C - Original Message - From: Harald Koschinski To: Anthony Baxter Cc: Matthew T

Re: [Zope-dev] Problem in strating zope server

2002-01-21 Thread Chris McDonough
Man, that was painful to read. *Please* send plaintext, not HTML. Your server appears to be listening on port 8080. Looks like a normal startup to me. I suspect you're trying to access Zope via localhost which won't work in your case because you're limiting the port to something via -P. Try t

Re: [Zope-dev] problem in adding objects to the ZCatalog

2002-01-24 Thread Chris McDonough
1\EIP\lib\python\Products\ZCatalog\Catalog.py, line 381, in >catalogObject > File C:\PROGRA~1\EIP\lib\python\Products\ZCatalog\Catalog.py, line 494, in >recordify > AttributeError: (see above) > > > > Also tell me how to select and add all documents to the Z catalog

Re: [Zope-dev] Error 11

2002-01-24 Thread Chris McDonough
Sigh. Can you try to start Zope with the environment variable ZOPE_SECURITY_POLICY=PYTHON set to see if the problem continues? Are you using any database adapters or other C extensions? Are you sure that Zope is using the Python 2.1.2 that you installed? - Original Message - From: "Ahs

Re: [Zope-dev] Error 11

2002-01-24 Thread Chris McDonough
on 2.1.2 yesterday. > > Products: > zope-tinytable-0.8.2-2 > zope-zmysqlda-2.0.7-5 > > >>> "Chris McDonough" <[EMAIL PROTECTED]> 01/24/02 12:22 PM >>> > Sigh. Can you try to start Zope with the environment variable > ZOPE_SECURITY_POLICY=PYTH

Re: [Zope-dev] Error 11

2002-01-25 Thread Chris McDonough
a new version of mysqlda? > > >>> "Chris McDonough" <[EMAIL PROTECTED]> 01/24/02 13:50 PM >>> > I'd suspect mysqlda. > > - Original Message - > From: "Ahsan Imam" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent

Re: [Zope-dev] Confused: Does PersistentList exist?

2002-01-27 Thread Chris McDonough
PersistentList doesn't come with Zope. What docs? On Sun, 27 Jan 2002 11:12:11 +0100 "Lennart Regebro" <[EMAIL PROTECTED]> wrote: > I found seceral seemingly up to date docuemnts claiming > that both > PersistentMapping and PersistentList exists and is > included with Zope. > However, I couldn'

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

2002-01-27 Thread Chris McDonough
Olivier, Have you been reading anything about the random Zope crashes on the list for the last six months? Have you searched the maillist archives for the text of your crash? - C - Original Message - From: "Olivier Deckmyn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED

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

2002-01-27 Thread Chris McDonough
> BTW, Chris, what Olivier saw couldn't automatically lead him to > correlate with the other Zope crashes, since the other reports don't > mention the 'assertion' error message he saw, which he concluded was the > cause of his problems. http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c

Re: [Zope-dev] Defining Interfaces

2002-01-27 Thread Chris McDonough
> > Shall I throw this into the Collector? > > Probably. I made a comment on the page itself, just a couple of days ago, > but it's unknown how often those comments are reviewed: They're not reviewed often by the editors, but they sure help folks who read them in the meantime, so I encourage fol

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Chris McDonough
This is probably caused by the assertion error raised by Python 2.1.2 in the case of a miscomputed stack size. See my previous message. Dieter Maurer wrote: > Chris Withers writes: > > A routine move to Python 2.1.2 this morning has resulted in one of our Zope > > instances continually dying

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

2002-01-28 Thread Chris McDonough
Dieter Maurer wrote: > Zope 2.4.3 will not work with Python 2.1.2. This is not literally true. Zope 2.4.3 will work fine with Python 2.1.2. However, Python 2.1.2 doesn't ignore stacksize computation problems like Python 2.1.1. Instead of silently corrutping memory and continuing like 2.1.

Re: [Zope-dev] Error 11

2002-01-28 Thread Chris McDonough
such file or > directory. > in ../sysdeps/unix/sysv/linux/sigsuspend.c > > > >>>>"Matthew T. Kromer" <[EMAIL PROTECTED]> 01/25/02 15:13 PM >>> >>>> > Ahsan Imam wrote: > > >>Setting the variable did not help.

Re: [Zope-dev] Error 11

2002-01-29 Thread Chris McDonough
it. Sorry. Downgrading to Zope 2.3.3 might work; might not. Ahsan Imam wrote: > Did this restarting problem start with Zope 2.4.x? > Was is there in 2.3.x because were are thinking of downgrading to 2.3.x? > > Thanks for your help > > > > >>>>Chris McDonough <[E

Re: [Zope-dev] Call Profiler

2002-01-31 Thread Chris McDonough
This is really cool. The implementation looks pretty reasonable too! Definitely useful for folks doing development and wondering why their scripts take > 2 secs to run! ;-) I think this will be in many folks' toolbags soon. - C ___ Zope-Dev mail

[Zope-dev] Re: [Zope] authenticating over XML-RPC to implement the Blogger API

2002-02-03 Thread Chris McDonough
I don't think basic auth is going to cut it. The API wants username and password to be passed as arguments. Probably need to hack a user folder implementation. - Original Message - From: "Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: S

Re: [Zope-dev] Zope under cygwin

2002-02-04 Thread Chris McDonough
Tony, Use Python 2.1.2 instead of 2.2 and this problem will go away. Zope isn't distributed in such a way that it's 2.2-compatible at the moment. HTH, - C - Original Message - From: "Tony Goodwin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 04, 2002 8:38 AM Su

Re: [Zope-dev] Re: [Zope] authenticating over XML-RPC to implement the Blogger API

2002-02-04 Thread Chris McDonough
Yes, I think this is the right thing to do. Override identify and pull the "username" and "password" elements out of the form elements in REQUEST. Or at least that sounds good. ;-) - Original Message - From: "Nathan Sain" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

Re: [Zope-dev] Transaction error on Zopesite DB

2002-02-05 Thread Chris McDonough
Hi Scott, In the past, things like this have usually turned out to be hardware issues. One thing that you can try if you're running this on Linux or BSD is compiling the kernel maybe 10 times on the same machine to see if you notice any disk corruption or bus errors or other weirdnesses. There h

Re: [Zope-dev] aq_parent not available in __setattr__

2002-02-05 Thread Chris McDonough
Question: do you really need to use the __setattr__ hook to track changes to the object? Is the application written in such a way that you could expose a different API? __setattr__ is special because it's provided by the persistence machinery to track object changes. Overriding it is possible,

Re: [Zope-dev] acquisition, traversal, __roles__(, and zpt?)

2002-02-05 Thread Chris McDonough
Maybe silly questions, but: Do you call InitializeGlobals() on ObjectX's class (usually at the end of the module where it's defined)? Does ObjectX actually have a portal_url method defined on it (or inherited)? - Original Message - From: "Gary Poster" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [Zope-dev] hiding tabs in manage view

2002-02-05 Thread Chris McDonough
I think this is a bug. :-( - Original Message - From: "Joachim Werner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 1:05 PM Subject: [Zope-dev] hiding tabs in manage view > Hi! > > I remember that someone posted that question before, but I didn't find it.

Re: [Zope-dev] Zope 2.4.4b1 dumps core

2002-02-13 Thread Chris McDonough
This won't help the crashing problem, but for the leak problem you may want to consider using AutoLance: http://www.zope.org/Members/mcdonc/Products/AutoLance - Original Message - From: "Leonardo Rochael Almeida" <[EMAIL PROTECTED]> To: "Zope Developers list" <[EMAIL PROTECTED]> Sent: Wed

Re: [Zope-dev] how can i add index_html

2002-02-18 Thread Chris McDonough
Hi, This discussion is probably more appropriate for the general Zope maillist. - Original Message - From: "Michael L. Dean" <[EMAIL PROTECTED]> To: "sushant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 18, 2002 12:03 PM Subject: Re: [Zope-dev] how can i add index_htm

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

2002-02-28 Thread Chris McDonough
> I've modified HTTPResponse and ZServer/HTTPResponse.py to allow for gzip content > encoding on a response-by-response basis. I'm mostly using this with xml-rpc, but it > could be generalized and combined with a gzipper- cache manager. I'd like this. It would help with the lack of transfer-enc

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

2002-03-01 Thread Chris McDonough
I'd suggest starting with the combination of Evan's zopemake and zctl scripts. One thing that zopemake could be extended with is an autoconf-style "configure" that figures out where the appropriate version of Python is, which C compiler to use, etc. - C - Original Message - From: "Paul

Re: [Zope-dev] improved logging

2002-03-01 Thread Chris McDonough
Have you looked at EventLogManager? http://www.zope.org/Members/mcdonc/Products/EventLogManager If I had it to do over again, I'd change lots, but it does do what you're asking for. > what if I want to split the logs based on some condition > I have to change code in Zope, and restart the se

Re: [Zope-dev] Zope 2.6 project updated

2002-03-05 Thread Chris McDonough
I've also added the idea of a "Startup Script Directory" as a potential for Zope 2.5. This would be a filesystem directory that folks could place scripts that followed some sort of API which allowed them to make changes to a Zope site at startup - useful for en-masse data migration due to Product

Re: [Zope-dev] Cookie Crumbler and similar products (Re: Zope 2.6 project updated)

2002-03-05 Thread Chris McDonough
> Which makes me think of another point. I haven't used Zope 2.5.1 yet, but I > understand from some of the traffic on the mailinglists that some have > wanted to disable the session tracking/session management beause it > interferes with the solutions they allready use for session tracking. This

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

2002-03-08 Thread Chris McDonough
does NOT solve the problem! > > def recompile_ps(self): >metatype='Script (Python)' >for name,script in self.ZopeFind(self, search_sub=1, > obj_metatypes=[metatype]): > print "recompiling",name > try: > script.ZPythonScript_edit

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-08 Thread Chris McDonough
information on the standard Zope mailinlist. > > I still do, however, find the problem described below annoying, and it could > be even considered a security bug (somewhat), or at least a Help page DOS :) > > -- Chris McDonoughZope Corporation http://www.zo

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-09 Thread Chris McDonough
cts will be written into the Catalog and into other places in instance space that have version. This is a bad pattern, and the only way to fix it is to prevent it from happening, which requires some helpsystem architectural changes that amount (IMHO) to a rewrite. - C -- Chris McDonough

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-09 Thread Chris McDonough
Note that I volunteered to rewrite the help system in the Zope 2.6 plan. Chris McDonough wrote: >> There is no way to fix this? What other problems are there with the >> help system? > > > Not that I can think of. Other problems with the help system are > presentation

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-10 Thread Chris McDonough
> Chris McDonough writes: > > ... HelpSystem problems ... > > It then proceeds to do writes to the database when it > > appears that all you're doing is reading a > pre-existing page. > What does it write to the database? > I do not see a reason for thi

Re: [Zope-dev] Help System Searches

2002-03-11 Thread Chris McDonough
Yes... that's actually a pretty reasonable idea! Thanks. - Original Message - From: "kapil thangavelu" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 7:08 AM Subject: Re: [

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
Finding memory leaks is an exercise in "binary search". Isolate half of the Zope (and Product) code and find out if it leaks. If it doesn't, you know the problem is in the other half. ;-) Ad infinitum. I'm sorry this is the case, but it almost always boils down to this particular recipe of dia

Re: [Zope-dev] Memory Leak Problem

2002-03-12 Thread Chris McDonough
> A question and one remark. > Wouldn't staring at the refcounts in the debug panel also give some > info? At least for selfmade products? Maybe... depends on your level of Zope Zen. It's hard to tell which classes should and should not have high refcounts. For example, in your sample output, I

Re: [Zope-dev] Replaceable types?

2002-03-17 Thread Chris McDonough
** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > -- Chris McDonoughZope Corporation http://www.zope.org http://www.zo

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

2002-03-19 Thread Chris McDonough
AutoLance is an implementation of the proposal, too: http://www.zope.org/Members/mcdonc/Products/AutoLance - Original Message - From: "Toby Dickenson" <[EMAIL PROTECTED]> To: "Adrian Hungate" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 8:31 AM Subject: Re: [Z

Re: [Zope-dev] Next steps on Zope 2.6 plan

2002-03-21 Thread Chris McDonough
FWIW, I think a better Zope install is desperately necessary, and since there's a fishbowl proposal and a willing contributor (you), IMHO it's a no-brainer.. the biggest hurdle is keeping you happy and willing to write code and docs. ;-) That said, since we don't have a less centralized or formal

<    5   6   7   8   9   10   11   12   13   14   >