[Zope-dev] RE: [Geeks] Re: Interface Meta Data proposal

2000-11-28 Thread Tim Peters
[Christopher Petrilli] I notice you mention post/pre conditions (something that UML obviously talks about). I wonder if we want to do a bit of research on Eiffle and it's contractual description. The only thing I wonder is if some of this is actually useful programatically, if that makes

[Zope-dev] RE: [ZODB-Dev] [BUG] maybe yet unknown BTREES bug

2003-01-24 Thread Tim Peters
[Dieter Maurer] We have run in an apparent BTrees bug (with the BTrees version included in Zope 2.5.1). ... We will install the BTrees package from ZODB-3.2a1 and see whether the problem disappears. I will report back... There are two new kinds of sanity checks you can make there: 1.

[Zope-dev] RE: [ZODB-Dev] False alarm (was: [BUG] maybe yet unknown BTREES bug)

2003-01-28 Thread Tim Peters
[[EMAIL PROTECTED]] It has been a false alarm. Sorry! The same problem occured with the new BTrees module. Therefore, I checked the error again and found, that the problem was not caused by tree[k] = v but by a nearby del tree[k] (which, of course, is entitled to raise KeyError).

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

2003-03-12 Thread Tim Peters
[Christian Tismer] ... I don't mean to offend anybody by this, it is just a very simple question which I cannot answer alone. There may be a simple question hiding in this, but it's hard to find wink. You try: how secure is sendmail? how secure is ssh? how secure is Python? Answer those

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

2003-03-13 Thread Tim Peters
[Christian Tismer] ... p.s.: sendmail? ssh? Python? Security exploits are discussed in the bugtraq list. I can find them all in the list archive. What about Zope? It is not in bugtraq. The obvious conclusion is that no security hole has ever been discovered in Zope. Whether that's a

[Zope-dev] RE: [Zope-Coders] Merging the new-install-branch

2003-03-18 Thread Tim Peters
[Fred L. Drake, Jr.] I'm planning to merge the new-install-branch efforts recently discussed on this list into the Zope 2 trunk tomorrow. ... http://mail.zope.org/pipermail/zope-dev/2003-March/018999.html Perhaps the most immediate change is that the Windows tests may become completely

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

2003-07-25 Thread Tim Peters
[Anthony Baxter] *sigh* So I tried a fresh checkout on a different box, no crash. Completely nuked old checkout (which was a new checkout last night), checked out again, rebuilt, no crash. Beats me. I'm going to blame the electrician who took out power to our floor this morning, because

RE: [Zope-dev] Very severe memory leak

2003-08-25 Thread Tim Peters
[Paul Winkler] Maybe. I'd really like to run with python 2.2. What is involved in the rigorous analysis? Is there a plan I could follow? [Shane Hathaway] We need to follow the same process we used to move to Python 2.1.

RE: [Zope-dev] Why not ZODB 3.1.3 with Zope 2.6.2?

2003-08-27 Thread Tim Peters
[Paul Winkler] I downloaded the hidden 2.6.2b6 release (from http://zope.org/Products/Zope/2.6.2b6/Zope/view) and had a look in lib/python/ZODB/__init__.py, which gives its version as ZODB 3.1.2. Is there any reason it's not ZODB 3.1.3? Because 3.1.3 hasn't yet been tested with that

RE: [Zope-dev] Cache growing during single REQUEST

2003-09-11 Thread Tim Peters
[Toby Dickenson] You get a ReadConflictError when loading an object if it has been modified since the start of the transaction. This exception therefore becomes increasingly likely as time progresses since the start of the transaction. [Chris Withers] What's the thing Zope Corp are touting

RE: [Zope-dev] Cache growing during single REQUEST

2003-09-14 Thread Tim Peters
[Tim] ... The ways in which MVCC loses will become obvious later 0.9 wink. [Chris Withers] Any ideas what they'll be yet? Probably none for many apps. You'll be working with possibly non-current data, so think of ways your apps could possibly be damaged by that. For example, you're Bill

RE: [Zope-dev] Cache growing during single REQUEST

2003-09-14 Thread Tim Peters
[Tim] ... The short course in ZODB is that, when MVCC is in effect, a read will return the state of the object as of the time the current transaction began, even if the object has subsequently been modified by some other transaction. [Dieter Maurer] Whoever wants to use it right now: the no

RE: [Zope-dev] current best of breed ZEO for Zope 2.6.2 in production?

2003-10-02 Thread Tim Peters
* ZEO 2.0? * any one of the ZEO releases at http://www.zope.org/Products/ZEO ? All of the releases on this page, including 2.0, are obsolete. It says so at the top of the page. I thought that was easy to miss, so I changed the heading from Zope Enterprise Objects to Zope

RE: [Zope-dev] Re: current best of breed ZEO for Zope 2.6.2 inproduction?

2003-10-02 Thread Tim Peters
[Jeremy] ... On the other hand, Jim asked me today how someone would navigate from the zope.org home page to the current ZODB release. I don't have any idea. Anyone else know? I just use Google. There are several ways, probably the easiest starting from the Developers/Zope Projects

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

2003-10-03 Thread Tim Peters
[Chris McDonough] Some people at ZC have made pretty compelling arguments to make Python 2.3.2 the recommended version of Python to use with Zope 2.7 final. I'm wondering if other people have a strong feeling about this either way. [george donnelly] yes please. :) python 2.3 seems a lot

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

2003-10-03 Thread Tim Peters
[Chris McDonough] Currently, Zope still claims it works with 2.2.X (via the configure script's acceptable versions feature). Actually, 2.2, 2.2.1, and 2.2.2 aren't acceptable for Zope even now, because of Zope-critical Python bugs first fixed in 2.2.3. There's no version of 2.2 with a fix for

[Zope-dev] testSetupServers() in Zope-2_7-branch?

2003-10-03 Thread Tim Peters
== ERROR: testSetupServers (Zope.Startup.tests.testStarter.ZopeStarterTestCase) -- Traceback (most recent call last): File

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

2003-10-06 Thread Tim Peters
[Fred L. Drake, Jr.] In Python 2.3.x, when a class is defined the __name__ of the encompassing module is looked up. I suspect Python Scripts can be fixed by defining __name__ in the globals dictionary in which the code is executed. Thanks, Fred! I added this info to the collector entry:

RE: [Zope-dev] debugging memory leaks

2003-10-27 Thread Tim Peters
[Seb Bacon] ... I know from the refcounts in Zope that items of class Foo are definitely leaking, yet when I do a sys.getobjects(0, Foo) I get nothing back. If Foo is an old-style class, then every instance of Foo has type InstanceType (and so does every instance of every other old-style

RE: [Zope-dev] debugging memory leaks

2003-10-27 Thread Tim Peters
[Seb Bacon] ... Seeing as the suspect leaker contains code like: other = Foo() other.reciprocal = self self.reciprocal = other I fear the worst ;-) ...but my (naive?) reading of the documentation was that reference cycles are cleaned out by the garbage collector, *unless* they

RE: [Zope-dev] ThreadLock module?

2003-10-31 Thread Tim Peters
[Chris Withers] Anyone know what the difference is between Zope's ThreadLock module and the standard python Lock objects from the threading module? A ThreadLock.ThreadLock is reentrant but a threading.Lock isn't: once a thread has acquired a ThreadLock, that thread can acquire that ThreadLock

RE: [Zope-dev] KeywordIndex performance / multiunion

2003-11-06 Thread Tim Peters
[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 be used. I think

[Zope-dev] RE: [Zope-Coders] apply()'s PendingDeprecationWarning

2003-12-05 Thread Tim Peters
[Fred L. Drake, Jr.] ... Guido has conceded that these warnings can be removed from Python, so I've removed them for the upcoming Python 2.3.3 release as well as for the future Python 2.4. Just thought everyone would be thrilled to know. ;-) I am! Then again, I didn't want apply() to get

RE: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-11 Thread Tim Peters
[Jeremy] I think the attribute error on data is just a symptom of the BTree failure. The object has no data attribute, because ZODB failed to unpickle the object that would be assigned to data. I don't know what happened with backwards compatibility for the old BTree classes. When Jim and

RE: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-11 Thread Tim Peters
Jim asked about it on zope-dev, and got no response; see: Can we forsake database backward compatability on the head for a while? http://mail.zope.org/pipermail/zope-dev/2003-November/021055.html [Sidnei da Silva] Is there any special trick to such script? Provided some

RE: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-11 Thread Tim Peters
[Jeremy Hylton] I don't know if there is any documentation for BTree, I don't know of any dcos for (the old) BTree either. so the code will need to be your guide. I checked the code and each of the BTree types does support items(). So walk over the database, find each top-level BTree

RE: [Zope-dev] Zope 2.7 broken on Windows

2004-01-06 Thread Tim Peters
[Andrew Veitch] http://collector.zope.org/Zope/1128 Not being able to use the calendar module on Zope 2.7 breaks our MailManager and more importantly the CMF! ... Looking at this a bit more I'm guessing that Python's new datetime module was removed to avoid conflict with Zope's DateTime on

RE: [Zope-dev] cPickleCache endless loop...

2004-01-23 Thread Tim Peters
[Mario Lorenz] we have spent most of the day tracking down obscure hangs of Zope (2.6.4rc1) under python2.1.3 on a RHEL3 machine. Based on what you say next, it sure sounds like this isn't unique to 2.6.4rc1. Did the same code work under some previous release? The infinite loop appears to be

RE: [Zope-dev] ZODB load state error

2004-01-26 Thread Tim Peters
[Tibor Tolgyesi] I just found this in my Zope log file. After this error the Zope system stopped. No wonder, but certainly not because of physical memory error. What could be the problem? My config is: AiX 5.2 Python 2.3.2 Zope 2.7.0-b3 Apache 1.3.26 The error message:

RE: [Zope-dev] cPickleCache endless loop...

2004-01-26 Thread Tim Peters
[Tim Peters] It looks like ghostifying your self triggers self.__del__(). Then the __del__ method unghostifies self, which has the side effect of moving self to the MRU end of the ring, which in turn means the list traversal will visit self *again*. When it does, same thing happens all over

RE: [Zope-dev] cPickleCache endless loop...

2004-01-27 Thread Tim Peters
It's actually that the number of __del__-resurrecting objects *plus* the number of non-ghostifiable objects in cache is larger than the cache target size, right? [Mario Lorenz] Yes, but when you push the minimize button, the cache target size is 0. That would do it wink. Nonwithstanding

RE: [Zope-dev] Zope 2.7.0 rc2 + python 2.3.3 problem

2004-02-02 Thread Tim Peters
[Florent Guillaume] I'm having a weird failure here using Zope 2.7.0 rc2 and python 2.3.3 (Debian). When I execute a python script with the code: foo = range(1.0) I get this: Error Type: TypeError Error Value: unsubscriptable object Traceback (innermost last): * Module

RE: [Zope-dev] Re: Zope 2.7.0 rc2 + python 2.3.3 problem

2004-02-03 Thread Tim Peters
[Tim Peters] The globals set up for running the script appear not to contain a '__file__' key, and have a '__name__' key explicitly set to None. If it set either of these to something useful, or didn't have a '__name__' key explicitly set to None, warning.warn() would have been able to make

RE: [Zope-dev] Minor windows intaller bug and a question

2004-02-05 Thread Tim Peters
[Chris McDonough, on the C:\Zope-Instance default] You can change the instance dir manually, no? You mean it's a bug that it doesn't detect your system drive and instead always uses C as the default, right? If so, yes, I agree, but likely it won't get fixed too soon as it's so minor. The

RE: [Zope-dev] Minor windows intaller bug and a question

2004-02-05 Thread Tim Peters
[Tim Peters] The right drive letter is the value of InnoSetup's {sd} (system drive) constant, but I don't know how to feed that into the Pascal code that sets this up. [Chris McDonough] I'm sure it's possible, I can probably figure it out. I'll put it on my todo list. Staring at the docs

RE: [Zope-dev] 2.7.0 corrupt Data.fs

2004-02-13 Thread Tim Peters
[Thomas Anderson] I'm seeing changes to the ZODB getting lost on reboot. I think it's because there are no fsync() calls being issued by Zope or even by zopectl on stopping Zope but I can't be sure. I'm using /instance/bin/zopectl {start|stop} for controlling Zope. I added a sync command to

RE: [Zope-dev] Core Dump (Zope 2.7, Python 2.3.3, FreeBSD 4.5)

2004-02-19 Thread Tim Peters
[Jeffrey P Shell] We had similar problems with Python 2.1.3 (it's a pretty infamous Python+FreeBSD problem, AFAICT), and I thought that it was patched in the Python core by now as I thought I heard something along those lines a while back, but I may have been hearing about the patch being

RE: [Zope-dev] Re: Zope 2.7 and objects turning into None

2004-02-24 Thread Tim Peters
#0 0x6257255 in select_select (self=0x0, args=0x3d641f7c) at /usr/local/src/python_release23-maint/Modules/selectmodule.c:171 171 } (gdb) bt #0 0x6257255 in select_select (self=0x0, args=0x3d641f7c) at /usr/local/src/python_release23-maint/Modules/selectmodule.c:171 [Dieter Maurer]

RE: [Zope-dev] Re: Zope 2.7 and objects turning into None

2004-02-24 Thread Tim Peters
[Dieter Maurer] This means that the current transaction references a connection that is meanwhile closed. Some earlier request forgot to commit or abort the transaction; therefore, the transaction contains still references to the former connection. I had to fix product installation code

[Zope-dev] RE: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tim Peters
[moving this from comp.lang.python to zope-dev; it really belongs on a Zope list, although schemes to change what pythonw does probably belong on python-dev] [Emile van Sebille [EMAIL PROTECTED]] I've possibly narrowed a problem I'm having running zope as a service on winxp pro sp 1 in that

[Zope-dev] RE: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tim Peters
[Thomas Heller] [I'm currently reading python-list via the gmane nntp interface, I don't know whether there really is a gmane.comp.web.zope.devel newsgroup] I don't know either, so I'll copy you directly. [Tim] ... Here's a Python program to try: import sys if 1: # edit to 1 for

[Zope-dev] RE: python.exe vs pythonw.exe difference?

2004-03-02 Thread Tim Peters
[Emile van Sebille] ... At this point, I won't be back to that site before next week, although I may take some time to test this weekend. It sounds like I should rework any areas that spew output to the console. Is there something better than checking os.path.basename(sys.executable)? You

RE: [ZODB-Dev] Re: BTrees strangeness (was [Zope-dev] Zope 2.X BIGSession problems - blocker - our site dies - need help of experienceZope developer, please)

2004-03-04 Thread Tim Peters
[Chris McDonough] ... I'd really rather just figure out why the code is failing in the first place. I'd just rather not mask the problem until I understand the cause. That may never happen, of course, but a man can dream. I definitely want to know it if there's still a way remaining to

RE: [Zope-dev] Zopeservice and sitecustomize

2004-03-08 Thread Tim Peters
[Sake] I have Zope and Activestate Python installed together in the same win-xp machine. Everything works fine until I've learned that I can put sys.setdefaultencoding('cp874') into sitecustomize.py to accomodate my native language coding. Since I do that, my Zope 2.7.0 service can no

RE: [Zope-dev] Zopeservice and sitecustomize

2004-03-08 Thread Tim Peters
[Chris McDonough] ... From this (and without a Windows machine in front of me), I can't really make any sense out of why your Activestate Python's sitecustomize.py is being found instead of Zope's Python sitecustomize.py if you're running Zope using the Zope Python install. I suspect it may

RE: [Zope-dev] Re: ...but I want to access 'a particular tuple' inthat context!

2004-03-23 Thread Tim Peters
[Tres Seaver] The 'iteritems' method of a dictionary returns an object of type 'dictionary-iterator'; AccessControl.ZopeGuards makes no container assertions about that type, although it *does* permit calling the 'iteritems' method which returns an instance of it. I find it interesting that

RE: [Zope-dev] Re: circular referenced persistent objects

2004-04-12 Thread Tim Peters
[Sandor] This is still a question. Is there any way, to determine how many times a zodb persistent object is referenced? ZODB itself doesn't keep track of that, although it's possible to write a storage that does. FileStorage does not. BerkeleyStorage did (past tense because Zope Corp has

RE: [Zope-dev] zLOG is dead

2004-04-14 Thread Tim Peters
[Chris McDonough] There probably are no log-trawling tools. The output generated by zLOG is basically unparseable. Alas, that hasn't stopped people from writing trawlers to analyze ZEO server and client logs. That one's going to be my headache to fix(*), and has some urgency since ZODB/ZEO's

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

2004-04-21 Thread Tim Peters
[Max M] Or perhaps an automated nightly Windows build. [Stephan Richter] We have talked about it many times before, but simply lack the bandwidth. Maybe you could provide this for Cygwin? [Max M] Argh ... that wasn't fair. Ok I will try and find some time to look into it. A problem is

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

2004-04-22 Thread Tim Peters
[Max M] Well, yeah. I installed cygwin and all the devolpment tools. About 800 Megs. I could have sorted it, but I wouldn't risk missing libraries, tools etc. and harddisk is cheap. Same here (although my old laptop doesn't have enough disk space remaining to download the whole thing).

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

2004-04-22 Thread Tim Peters
[Tim Peters] ... No way to tell without trying. I don't know whether you're building Zope2 or Zope3, but since this is the zope-dev list I assume the former. Try http://zope.org/Members/tim_one/Zope2-20040422.zip/file_view and let us know what happens! As the comment there says

RE: [Zope-dev] Nightly Zope 3 Binary Compiles for WIndows

2004-04-24 Thread Tim Peters
[Chris Withers] Saw my name mentioned earlier but not sure whether Tim has solved the problem... Can't say -- I put up .pyds for current Zope 2 and Zope 3 HEAD, but haven't heard whether anyone tried them. I'd be happy to set up a nightly (or weekly, let me know which would be better)

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

2004-04-26 Thread Tim Peters
[Max M, tests a zip file of .pyd files in Zope3, on Windows] I finally got around to testing this, and it works *exactly* as I hoped. I downloaded Z3 from CVS, and Tim's zip file. I unpacked the zip file into the Z3 directory, and it started the first time. Yippee! That's what I expected,

RE: [Zope-dev] Z2 HEAD in rough shape for b/c

2004-04-26 Thread Tim Peters
[Chris McDonough] ... - The ZODBMountPoint product relies on a method of Connection objects named _getMountedConnection, which apparently no longer exists. Connection objects never had such a method, but they still do wink. This breaks any mounted databases (which breaks dbtab, which breaks

[Zope-dev] RE: [Zope3-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-26 Thread Tim Peters
[Tim Peters] ... IOW, the existing subversion docs cover the standard layout quite well. If we do something unique, I'm afraid it becomes another piece of folklore that will be impossible to guess and difficult to find out about. [Martijn Faassen] I don't know much about subversion

[Zope-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-26 Thread Tim Peters
[Kapil Thangavelu] ... I like the layouts Jim's presented (specifically #2 of 3), i think when considering the subversion docs, the important distinctions are made between the directories used for branches and tags, as long as that information is clearly communicated the semantics are exactly

RE: [Zope-dev] performance tuning of ZODB

2004-04-27 Thread Tim Peters
[Leonardo Rochael Almeida] Please add this issue to the Collector, including the test (prefereably without the twisted bits) [Syver Enstad] Eh, what is the Collector? The zope.org Collectors are here: http://www.zope.org/Collectors/ and you want the Zope Collector:

[Zope-dev] RE: [Zope3-dev] RE: [ZODB-Dev] Subversion repository layout

2004-04-27 Thread Tim Peters
[Kapil Thangavelu] [snip debating over what the book says] sigh.. debating over what the book says isn't very productive. That's for sure wink. my conclusions at the end of my previous email, namely that what this layout will accomplish for the zopeorg repository in terms of avoiding

RE: [Zope-dev] Change in repository approach to software sharing

2004-04-27 Thread Tim Peters
[Jim Fulton] The Zope project includes a number of interrelated subprojects, such as: - Zope 2 - Zope 3 - ZODB - ZConfig Software from the ZODB and ZConfig projects are shared by Zope 2 and Zope 3. Note that ZODB also depends on ZConfig. We want this sharing to be very

RE: [Zope-dev] Re: Policy for Collector-Issues 545 and 1217?

2004-04-27 Thread Tim Peters
[Jamie Heilman] here's the patch I'd have attached to http://zope.org/Collectors/Zope/1217 if the collector could collect FYI, I attached the patch to the collector report (nothing magical -- it just worked for me). ___ Zope-Dev maillist - [EMAIL

RE: [Zope-dev] is threading in zope useful ?

2004-04-27 Thread Tim Peters
[sathya] I read somewhere that each zope thread acquires the global python interpreter lock before processing a request and until it releases it the other zope threads are essentially locked out. The Python GIL (global interpreter lock) affects all code written in Python: only one thread at a

RE: [Zope-dev] Re: [Zope3-dev] ATTENTION! cvs to subversion transitiontomorrow

2004-04-27 Thread Tim Peters
[Jim Fulton] ... You will be able to do read-only anonymous checkouts like so: svn co svn://svn.zope.org/repos/main/project/trunk For example: svn co svn://svn.zope.org/repos/main/ZConfig/trunk FYI, I tried that on Windows (XP), and it worked fine. One glitch, which may be all over

RE: [Zope-dev] Re: [Zope3-dev] ATTENTION! cvs tosubversion transitiontomorrow

2004-04-28 Thread Tim Peters
[Jim] ... So, given your explanation, why did Tim get bad line endings I wonder. The relevant info is scattered all over the docs. Bottom line is that svn does line-end conversions if and only if the svn:eol-style property on a file is set to a valid value (where native is what's wanted most

RE: [Zope-Coders] RE: [Zope-dev] Re: [Zope3-dev] ATTENTION! cvs tosubversion transitiontomorrow

2004-04-28 Thread Tim Peters
[Jim] svn co svn+ssh://svn.zope.org/repos/main/project/trunk [Tim] Is that supposed [to] work already? All I've been able to get out of it is, e.g., C:\Codesvn co svn+ssh://svn.zope.org/repos/main/ZConfig/trunk szc2 svn: Connection closed unexpectedly where the error msg

[Zope-dev] RE: ATTENTION! cvs tosubversion transitiontomorrow

2004-04-29 Thread Tim Peters
One more on access from Windows. TortoiseSVN will probably be more popular on Windows than the cmdline version of svn -- it's a slick integration of intelligent svn context-menus and icon overlays into the Windows Explorer GUI, including a nice GUI diff/merge component. Turns out it has its own

RE: [Zope-dev] Re: [Collector] Strange reject policy

2004-04-30 Thread Tim Peters
[Chris McDonough] I think there needs to be another category named wontfix that doesn't imply that it will ever be fixed like deferred seems to. This category should also be selected in the default search settings. +1. The Python bug tracker has a WontFix, and it's proved valuable in practice

RE: [Zope-dev] Segfault and Deadlock

2004-05-02 Thread Tim Peters
[EMAIL PROTECTED] Hi Zope (and Python) experts! There seems to be a problem when an external python module segfaults during a zope request. The remaining worker threads are deadlocked. Maybe, maybe not. Python (and so also Zope) use platform-native thread facilities, and what happens when

RE: [Zope-dev] How To run current Zope 2 3 from CVS on Windows

2004-05-03 Thread Tim Peters
[Max M] As I said, I would write a How-To in getting Zope 3 up and running on Windows, given the binaries that Tim has made. http://www.mxm.dk/papers/run-z3-cvs-wthout-compiler/ Feel free to comment. Nicely done! Thank you for doing this. ___

RE: [Zope-dev] Subversion

2004-05-03 Thread Tim Peters
[Chris Withers] ... There's a svn property you can set on a higher level folder in the repository that can control a mapping for file extensions to this property, IIRC. I am hazy on it but I know it's possible. If so, it's not documented. Perhaps you're thinking of the svn:ignore property?

RE: [Zope-dev] Segfault and Deadlock

2004-05-03 Thread Tim Peters
[Dieter Maurer] The reason why I believe Python is to blame: Then this should really move to a Python bug tracker. With Python 2.1.3, a SIGSEGV in one thread killed them all; with Python 2.3.3, a SIGSEGV in one thread kills one of them (the main thread, not the thread that got the

RE: [Zope-dev] Segfault and Deadlock

2004-05-03 Thread Tim Peters
[EMAIL PROTECTED] [... snip good explanations ...] In order to get LinuxThreads to support the Python's threading semantics, what probably needs to be done is to have PyThread_init_thread set all handlers to call kill(main_thread, sig) to signal the main thread. If someone cares enough to

RE: [Zope-dev] Segfault and Deadlock

2004-05-03 Thread Tim Peters
[EMAIL PROTECTED], on special-casing LinuxThreads] I might be willing to try my hand at this, but I could use a tiny bit of guidance. (If you don't mind.) I don't mind wink, but I haven't run on Linux since 1994, and have lost track of how Unixish special-casing is done in Python since then.

RE: [Zope-dev] Segfault and Deadlock

2004-05-04 Thread Tim Peters
As Andrew Langmead has already discovered, the LinuxThreads issue with SIGSEGV was reported on the Python bug tracker almost a year ago (well, reported, but not diagnosed): SIGSEGV causes hung threads (Linux) http://www.python.org/sf/756924 Looks like: can't CNTRL-C when running

RE: [Zope-dev] Subversion

2004-05-04 Thread Tim Peters
[Chris Withers] ... Is it worth asking on the SVN lists how hard this would be to implement? I mean, we have the svn:ignore property, and we have the svn:eol-style property, what we want is a combination of those two, how hard can it be? 0.5 wink I don't think we want a combination of the

RE: [Zope-dev] Re: Nightly Zope 3 Binary Compiles for WIndows

2004-05-05 Thread Tim Peters
[Jim] ... If they have the .pyd files, they can run Zope and fix problems they find in the .py files. They have the .pyd files now. I'm keeping them up to date, and Max M wrote a clear howto (which references the .pyd Zip files on zope.org):

RE: [Zope-dev] Bug day report

2004-05-06 Thread Tim Peters
[Chris Withers] I feel compelled to scream me too! here. Closing a bug, even if anonymously or incompletely reported does not make Zope any better. See the recent case of a bug that was closed that was still an outstanding crash issue. Thankfully Tim managed to rescue that one. While that

RE: [Zope-dev] Re: [Collector] Strange reject policy

2004-05-06 Thread Tim Peters
[Ken Manheimer] All the actions are verbs, won't fix is not a verb. Can you suggest a verb the more clearly indicates the result is won't fix? Sorry, I got lost on the first sentence: what difference does it make to anything whether they're verbs, adjectives, a mix, ...? They're all just

[Zope-dev] RE: [Python 2.3.4c1] nasty LinuxThread problem not solved

2004-05-21 Thread Tim Peters
[Dieter Maurer] I just checked that Python 2.3.4c1 does not yet fix our LinuxThread-Crash problem -- the problem that lets a multi-threaded application enter a curious state when one on the threads crashes. I'm sorry to report that 2.3.4 final won't fix it either. The active Python bug

RE: [Zope-dev] http://collector.zope.org/Zope/1347 - Zeo help

2004-05-22 Thread Tim Peters
[Laurence] Sorry if this is a faq or otherwise covered elsewhere, but I've encountered quite a big problem with Zeo in my environment. I'm running FreeBSD 5.2.1 (Current as of last night) with Zope 2.7.0, Postgresql 7.4.2, Python 2.3.3 and psycopg-1.1.13. We have been developing with Zope

RE: [Zope-dev] RE: [Python 2.3.4c1] nasty LinuxThread problem not solved

2004-05-23 Thread Tim Peters
[Tim Petere] There's a patch that squashes the specific symptom you have in mind, but at the cost of other breakage -- the original patch was added for a reason too. [Dieter Maurer] I verified that http://sourceforge.net/tracker/index.php?func=detailaid=949332group_id=54 70atid=305470

RE: [Zope-dev] RE: [Python 2.3.4c1] nasty LinuxThread problem not solved

2004-05-24 Thread Tim Peters
[Dieter Maurer] You have snipped my explanation why I am convinced that the patch can only improve things! Yes, because zope-dev isn't a useful place to discuss this complicated Python issue. If you missed it the first two times wink, let me suggest again that you add your comments to the bug

RE: [Zope-dev] RE: [Python 2.3.4c1] nasty LinuxThread problem notsolved

2004-05-24 Thread Tim Peters
[Chris McDonough] I run Zope on an NPTL system (Fedora Core 1), but it's just a development box; as a result it doesn't get much load and doesn't stay up indefinitely. It's better than knowing nothing wink. If that's the box you do overnight test runs on too, that's also interesting, since

RE: [Zope-dev] Re: Read-only root database doesn't work ... bug orfeature?

2004-05-25 Thread Tim Peters
[Martijn Faassen] ... I'm not sure whether the patch ever could've worked. Firstly, the rich comparison operations were never called; I think perhaps due to some limitation in ExtenionClass. ExtensionClass doesn't play well with many newer Python class features. Rich comparisons are one of

RE: [Zope-dev] cvs down ??

2004-05-27 Thread Tim Peters
[robert rottermann] I try to access the Zope cvs anonymously according to the instructions. However it fails. Has anything changed, or is this temporarily. :pserver: access is disabled for now, because of recently announced security holes. It will be enabled again when (and if?) CVS is

RE: [Zope-dev] cvs down ??

2004-05-27 Thread Tim Peters
[EMAIL PROTECTED] thanks for your answer, what I would like to download is CMFSetup I think that's still in CVS only, and so long as :pserver: access remains disabled you simply can't get it that way. You could go to http://cvs.zope.org/CMF/CMFSetup/ and use the Download tarball link

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-28 Thread Tim Peters
[Syver Enstad] I have a Persistent derived class where I want to upgrade from using a PersistentList to a BTrees.IOBTree.IOBTree. _articleList is the old Persistent list _oidsToArticles is the new IOBTree. def __setstate__(self, state): articleList = state.get('_articleList')

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-28 Thread Tim Peters
[Syver Enstad, wants to switch an attribute of a Persitent subclass From PersistentList to an IOBTree] [Tim, guessing] Quick guess (untested, untried, ... ... Perhaps shuffling the code around would work, a la: Persistent.__setstate__(self, state) articleList =

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-30 Thread Tim Peters
[Dieter Maurer] I think, this is a ZODB buglet: It should set _p_changed = 0 before it calls __setstate__ and not afterwards... I don't know; Jim (or Jeremy) may know the reasoning here, but I don't. Activation currently sets the state to changed *before* calling __setstate__ too. A

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-31 Thread Tim Peters
[Tim Peters] ... On ZODB head, Jeremy also documented that __setstate__ can't affect the persistent state (in persistent/interfaces.py's IPersistent). Whether this is deliberate design, or a consequence of the current implementation, I can't say. [Dieter Maurer] A potential problem

RE: [Zope-dev] Help: __getstate__ overriding

2004-06-01 Thread Tim Peters
[Syver Enstad] I was aware that __setstate__ doesn't allow me to commit my changes after only loading the object into memory (__setstate__ is called). I may have explained myself unclearly (not a native english speaker/writer), I don't think that matters much: English instead of code is

RE: [Zope-dev] More Transience weirdness in 2.7.1b1

2004-06-02 Thread Tim Peters
[Steve Jibson] It seems that there may still be some strangeness with Transience. We're running Zope-2.7.1b1 (Python 2.3.3, Fedora Core 1) ... So, I hook-up to the ZMI and click on *temp_folder*, then click on *session_data (Session Data Container)* and I get the following error:

RE: [Zope-dev] Remove BDBStorage from 2.7 branch as well?

2004-06-04 Thread Tim Peters
[Stefan H. Holek] As BDBStorage has been removed from HEAD quite some time ago, I was wondering whether it would be possible/advisable to remove it from 2.7 branch as well. Would it? I think it would, because there's no resource to maintain it. BDBStorage was released as an experiment: Zope

RE: [Zope-dev] Re: status of Zope versus zope?

2004-06-04 Thread Tim Peters
[Martijn Faassen] Yes, I'm doing something much like that and it works fine on Linux. I'm just wondering how this de-confuses Python's import system on a case-insensitive file system. Python imports are case-sensitive on all platforms (this wasn't always true, but is true in recent Pythons).

RE: [Zope-dev] Prohibiting Spams on the List

2004-06-15 Thread Tim Peters
[Mohsen Moeeni] Fristly excuse me for cross-posting. Actually, I did not like to be the person who comes this up however the amount of spams which is propagated thru the lists is annoying. I wonder why the guys at Zope Inc. does not tweak the list settings so posting is only allowed by the

RE: [Zope] RE: [Zope-dev] Prohibiting Spams on the List

2004-06-17 Thread Tim Peters
[Philip Kilner] ... Does Mailman have a nomail facility that subscribers could set /themselves/ on secondary accounts? There are different versions of Mailman (of course), but at least recent ones offer this. If you go to your personal list subscription page on the web, a checkbox to suspend

[Zope-dev] zope-dev list policies

2004-06-21 Thread Tim Peters
Over on the zope and zope-dev lists, there's currently agitation to make them members-only mailing lists. The point is that spam could not get thru then (unless posted by a member). What would zodb-dev members like? Posting by a list member would not be affected, unless you attempted to send a

RE: [Zope.Com Geeks] Re: [Zope-dev] zope-dev list policies

2004-06-24 Thread Tim Peters
[Ken Manheimer] I noticed this when it went initially went by, but didn't have time to follow up. The upshot is that there is absolutely no way *under the current arrangement* that this is going to happen. I can see a way to swing it, requiring earnest volunteer effort. Here are the

RE: [Zope.Com Geeks] Re: [Zope-dev] zope-dev list policies

2004-06-24 Thread Tim Peters
[Ken Manheimer] In either mode, essentially, list members would be able to get postings to the list only from their registered account. Or accounts. When I've faced a list like this as a user, I've subscribed multiple times, once from each account I'm likely to post from, but set the no

[Zope-dev] RE: [ZODB-Dev] [Warning] Zope/ZEO clients: subprocesses can lead tonon-deterministic message loss

2004-06-25 Thread Tim Peters
[Dieter Maurer] ATTENTION: Crosspost -- Reply-To set to '[EMAIL PROTECTED]' Which I've honored. Today, I hit a nasty error. The error affects applications under Unix (and maybe Windows) which * use an asyncore mainloop thread (and maybe other asyncore applications) Zope and

RE: [Zope-dev] RE: [ZODB-Dev] [Warning] Zope/ZEO clients: subprocesses can lead tonon-deterministic message loss

2004-06-27 Thread Tim Peters
[sathya] so can we safely assume that zeo does not mix the asyncore implementation with forks or threads and hence does not suffer from the child concurrently operating on sockets along with parent syndrome that dieter is experiencing ? appreciate any clarifications. It's normal for a ZEO

  1   2   3   >