Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-10 Thread Dieter Maurer
Laurence Rowe wrote at 2007-8-10 15:34 +0100: > ... >Assuming that the 2.7 client won't be able to read 2.8 BTrees A 2.7 client is able to read *and* write "BTrees". "BTrees" already exist for a very long time; even very old Zope versions can read and write them. -- Dieter ___

Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-10 Thread Dieter Maurer
Chris Withers wrote at 2007-8-10 15:05 +0100: >Laurence Rowe wrote: >> This is just an idea, but zeo is backwards compatible right? So perhaps >> you could connect a 2.7 client to a 2.8 zeo server and as long as you >> know the oids of the intSets you should be able to load them and do your >> c

Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-10 Thread Dieter Maurer
Chris Withers wrote at 2007-8-10 07:38 +0100: > ... >I'm thinking something along the lines of create intSet.py something >like as follows and putting it somewhere on the PYTHONPATH: > >class intSet(Persistent): > > def __setstate__(self,...): > ... > >Would that work? No. Both "Persistent

Re: [Zope-dev] Re: compiling intSet.c on Zope 2.8.8

2007-08-09 Thread Dieter Maurer
Tres Seaver wrote at 2007-8-9 10:40 -0400: > ... >Copy the 'Components/BTree' directory from a Zope 2.7 checkout into your >$SOFTWARE_HOME/lib. Copy the 'setup.py' from Zope 2.7, and hack it >apart to include only the bits which built the old BTrees. Then run >that new setup_old_btrees.py script.

Re: [Zope-dev] QueueCatalog

2007-06-14 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-6-13 13:37 +0200: >with the help of QueueCatalog we were able to reduce the conflict errors >from around 6000 per day to about 600. > >Now the question, where can I send questions,bugreports patches ? I think you can send questions into this list. Not sure, that we c

Re: [ZODB-Dev] Re: [Zope-dev] Re: [Bug] ZODB invalidation processing

2007-06-04 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-6-1 20:26 +0200: > >> A longer term solution might be to come up with a derived index type >> which used non-persistent objects (rather than the IITreeSet used by >> UnIndex) for the set of RIDs stored under each 'minute': you could then >> inspect the state and

[Zope-dev] Re: [ZODB-Dev] Re: [Bug] ZODB invalidation processing

2007-05-31 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-5-31 12:07 +0200: > ... >2007-05-31 09:45:06 INFO Skins.create_level A923157 finished to create >level 200 >Now the conflict error, look at the transaction start-time, this is >before the restart of zope !! You are probably tricked out here: the serials are in fact

Re: [Zope-dev] strange zope.conf problem

2007-05-30 Thread Dieter Maurer
Miles wrote at 2007-5-30 16:45 +0100: > ... >As far as I can see, it appears that it is using the >DefaultConfiguration from App.config - certainly changing debug mode >there from True to False solved the problem. However, I could not find >where in the code the configuration was explicitly load

[Zope-dev] Re: [ZODB-Dev] Re: [Bug] ZODB invalidation processing

2007-05-29 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-5-28 17:45 +0200: >In ZODB.Connection.Connection.open I see: > > if self._reset_counter != global_reset_counter: > # New code is in place. Start a new cache. > self._resetCache() > else: > self._flush_invalidations()

[Zope-dev] Re: [ZODB-Dev] [Bug] ZODB invalidation processing

2007-05-29 Thread Dieter Maurer
Chris Withers wrote at 2007-5-29 16:02 +0100: > ... >Once again, it would be nice, now that you have access, if you could >feed back your changes in areas like these rather than keeping them in >your own private source tree :-( I would be busy for about 1 to 2 weeks -- and I do not have that tim

[Bug] ZODB invalidation processing (was: [Zope-dev] many conflict errors)

2007-05-25 Thread Dieter Maurer
Perry wrote at 2007-5-25 13:16 +0200: >database conflict error (oid 0x7905e6, class BTrees._IOBTree.IOBucket, >serial this txn started with 0x036ddc2a44454dee 2007-05-25 >09:14:16.000950, serial currently committed 0x036ddc2c21950377 >2007-05-25 09:16:07.870801) (80 conflicts (10 unresolved) since

Re: [Zope-dev] ZGDChart on Zope 2.10

2007-05-17 Thread Dieter Maurer
Juan Javier Carrera Obrero wrote at 2007-5-17 13:37 +0200: >The traceback shows is: > >- > >Traceback (innermost last): > Module ZPublisher.Publish, line 119, in publish > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 42, in call_object > Module Products.ZGD

Re: [Zope-dev] Re: Killer App for ZClasses

2007-05-04 Thread Dieter Maurer
Christopher Lozinski wrote at 2007-5-3 09:12 -0700: > ... >I would love to see detailed documentation of Zope Product Classes. While a bit outdated, the Zope Developper Guide is still a major help. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.

Re: [Zope-dev] Re: Killer App for ZClasses

2007-05-04 Thread Dieter Maurer
Lennart Regebro wrote at 2007-5-3 17:42 +0200: >On 4/26/07, Dieter Maurer <[EMAIL PROTECTED]> wrote: >> Andreas Jung wrote at 2007-4-25 22:13 +0200: >> > ... >> >But readable and comprehensible magic...but I would not call that magic. >> >> If I see

Re: [Zope-dev] Re: Killer App for ZClasses

2007-04-26 Thread Dieter Maurer
Andreas Jung wrote at 2007-4-25 22:13 +0200: > ... >But readable and comprehensible magic...but I would not call that magic. If I see at class level a function call "grok.context(something)", this does not look like "comprehensible magic". -- Dieter

Re: [Zope-dev] Re: Killer App for ZClasses

2007-04-25 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-4-19 07:52 +0200: > ... >ZClasses surely was an easy way to create CRUD applications in Zope 2. >However, apart from many technical difficulties that are ZClasses, I >personally find that through-the-web (TTW) development is actually >hurting Zope and the

Re: [Zope-dev] ZClasses Maintenance and Upgrade

2007-04-25 Thread Dieter Maurer
Christopher Lozinski wrote at 2007-4-16 22:21 -0700: > ... >I am automatically generating ZClasses, Indexes, and Formulator Form's >Fields. I don't like that each parent class lists its legal children, Where does the parent class lists its legal children? >I think it would be better if the ch

Re: [Zope-dev] egg issues: adding namespace boilerplate Products / patching testrunner

2007-04-13 Thread Dieter Maurer
whit wrote at 2007-4-13 10:43 -0500: >2 items: > >1. how does everyone feel about adding the following boilerplate to all >occurences of Products/__init__.py to enable the easy creation of >Product eggs? > >try: > __import__('pkg_resources').declare_namespace(__name__) > >except ImportError:

Re: [Zope-dev] Sessions and long requests = conflicts? Mcdutils?

2007-04-12 Thread Dieter Maurer
Maciej Wisniowski wrote at 2007-4-11 20:28 +0200: >Currently I have some problems with our application (Zope2.8.4) >and with Conflict Errors in sessions. >In general if we have few concurrent requests that are running >sometimes for 3-4 minutes (and they're touching session inside) >I get a lot of

Re: [Zope-dev] Early processing of request body (was: Proposal for optimized Blob handling)

2007-03-09 Thread Dieter Maurer
Christian Theune wrote at 2007-3-7 22:05 +0100: > ... >If 5 seconds are spend in the application thread to untangle mime data >which has nothing application-specific about it and then only 100ms or >so in the application itself, I'd say there is a major overhead problem. But if the IO thread spend

Re: [Zope-dev] Early processing of request body (was: Proposal for optimized Blob handling)

2007-03-07 Thread Dieter Maurer
Christian Theune wrote at 2007-3-7 20:09 +0100: >I was looking through some publisher code and found that the >`process_request` method which takes the request body as a file-like >object and processes it as a FieldStorage happens within the application >thread. > >This would be better if it happen

Re: [Zope-dev] Re: Caching ZCatalog results

2007-03-06 Thread Dieter Maurer
Lennart Regebro wrote at 2007-2-23 21:25 +0100: > ... >Compared with Lucene for example, which instead will create iterators >who will only resturn the "next match". This saves you from a lot of >index searching when you have big results. > >I don't know if it is feasible to do something like that,

Re: [Zope-dev] Re: Caching ZCatalog results

2007-03-06 Thread Dieter Maurer
Roché Compaan wrote at 2007-2-25 11:48 +0200: > ... >> I see several problems: >> >> * the RAMCacheManager does not provide an API to implement >> this policy >> >> * a cache manager would need a special data structure >> to efficiently implement the policy (given a documentId, >>

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-24 Thread Dieter Maurer
Roché Compaan wrote at 2007-2-23 22:00 +0200: > ... >Thanks for that pointer. It's good that way, it should make invalidation >easier. It could be as simple as invalidating any cached result that >contains the documentId being indexed. Do you see any problem with the >following invalidation strateg

Re: [Zope-dev] Re: Caching ZCatalog results

2007-02-23 Thread Dieter Maurer
Roché Compaan wrote at 2007-2-23 18:44 +0200: > ... >Cool idea. I haven't done any coding involving OFS.Cache though. Looking >at it briefly it looks like one can modify the catalog to subclass >OFS.Cacheable and then use the ZCacheable_get, ZCacheable_set and >ZCacheable_invalidate methods to inte

Re: [Zope-dev] Extrenal method unable to run the os.popen() or os.system() commands

2007-02-13 Thread Dieter Maurer
Ridzwan Aminuddin wrote at 2007-2-12 19:41 -0800: > ... >This external method is triggered in my DTML code. I've created other external >methods >before so i know i've done it right.. but the os.system() command for java >-jar just >doesn't seem to work. I've tried to use other commands such as "

Re: [Zope-dev] Re: Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-13 Thread Dieter Maurer
whit wrote at 2007-2-12 10:22 -0600: > ... >I'm not sure this warranted this much discussion or getting panties in a >bunch, but maybe something was learned here. As phrased early on, it >would be *nice* for those of us using svn:externals to manage certain >build processes to have AdvancedQuer

Re: [Zope-dev] Extrenal method unable to run the os.popen() or os.system() commands

2007-02-13 Thread Dieter Maurer
Ridzwan Aminuddin wrote at 2007-2-9 17:53 -0800: >Oh yes, i forgot to mention that in my code i did use the absolute paths to my >java .jar file as you can see i my code below, the absolute path to the >Extensions directory is in the variable homedir. I also set my classpath to >point to the fol

Re: [Zope-dev] Extrenal method unable to run the os.popen() or os.system() commands

2007-02-09 Thread Dieter Maurer
Ridzwan Aminuddin wrote at 2007-2-9 00:47 -0800: > ... > command = "cd "+homedir > os.popen(command) This "popen" is useless. It will change the working directory in the new (!) process that executes "command". But the effect is lost as soon as the process ends (after the "cd" h

[Zope-dev] Re: Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-04 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-2-4 18:35 +0100: > ... >I >think we can leave everything as it is and if Plone needs it in an svn >repo, heck, why not do vendor imports? (not in svn.zope.org, of course, >since the contributor agreement forbids that) One of the rare cases when I agree wi

[Zope-dev] Re: Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-04 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-2-4 18:35 +0100: > >Monkey patches should be avoided when they can. I think that's something >we don't need to discuss. You think this way but I disagree... There are (potentially) dangerous monkey patches and harmless ones. We discuss about a

Re: [Zope-dev] How to recover passwords in Zope 2.6.4

2007-02-04 Thread Dieter Maurer
Rohit Arora wrote at 2007-2-2 10:01 -0800: > ... >i have my website in zope 2.6.4 and i have forgotton UserId(admin) and >Password of root direcrorty of zope. >please tell me Is there any way to recover admin password ? or is there any >default UID & password provided in zope. Search for "Zope eme

Re: [Zope-dev] Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-04 Thread Dieter Maurer
Paul Winkler wrote at 2007-2-3 11:34 -0500: > ... >> * my code uses 2 blank indentation rather than the usual 4 blank >> (to make it more readable and easier to maintain for me) > >are you saying you would refuse the donation if somebody else wanted >to change it to 4 spaces? Not, if he take

[Zope-dev] Re: Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-04 Thread Dieter Maurer
yuppie wrote at 2007-2-3 11:44 +0100: > ... >Unfortunately integrating a product into the Zope core means more than >just adjusting the coding style: > >- As already mentioned in this thread, monkey patches and code like >fixPluginIndexes.py have to be resolved. AdvancedQuery contains a monkey >

Re: [Zope-dev] Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-04 Thread Dieter Maurer
Andreas Jung wrote at 2007-2-3 08:47 +0100: > ... >> * my code uses 2 blank indentation rather than the usual 4 blank >> (to make it more readable and easier to maintain for me) > >The source would have to be reformatted to fit at least in some way >with the Zope standard :-) Any volunteers?

Re: [Zope-dev] undeprecating zLOG

2007-02-02 Thread Dieter Maurer
Chris McDonough wrote at 2007-2-1 13:32 -0500: >> 0, for keeping zLOG for the time being... >> -1, for undeprecating it. Using Python's logging module should remain >> the only recommended solution. I don't want to see any new code using >> zLOG. > >There's a good deal of code using it that we just

[Zope-dev] Interest in "AdvancedQuery" and/or "ManagableIndex"?

2007-02-02 Thread Dieter Maurer
Whit ("mailto:[EMAIL PROTECTED]") reported that "AdvancedQuery" is going to ship with Plone3 and that packaging would be easier for them if "AdvancedQuery" were part of the Zope 2 distribution. According to Whit, Alexander Limi seems to be interested to have "Managable Index" in the Zope 2 distribu

Re: [Zope-dev] [Zope2] 'zopectl test' failing on the trunk and 2.10 branch

2007-01-21 Thread Dieter Maurer
Andreas Jung wrote at 2007-1-20 08:30 +0100: > ... >although "make test" reports no errors for the trunk/2.10 branch I get the >following errors when running "zopectl test". Any ideas? >line 180, in _getSessionDataObject >container = self._getSessionDataContainer() > File >"/develop/sandboxes

Re: [Zope] Re: [Zope-dev] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-12 Thread Dieter Maurer
Stephan Richter wrote at 2007-1-12 03:03 -0500: >On Thursday 11 January 2007 16:10, Dieter Maurer wrote: >> I can see that such a strategy may be helpful when one wants to >> resolve conflicts in some way. However, I do not see >> why is should be necessary for registration

Re: [Zope] Re: [Zope-dev] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-11 Thread Dieter Maurer
Stephan Richter wrote at 2007-1-11 06:58 -0500: >On Thursday 11 January 2007 05:59, Chris Withers wrote: >> Stephan Richter wrote: >> > If you are populating the CA before ZCML is fully parsed, then: >> >> Why is the CA predicated on ZCML?! > >Because that's how it works by default. Another way of

Re: [Zope] Re: [Zope-dev] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-11 Thread Dieter Maurer
Stephan Richter wrote at 2007-1-11 03:12 -0500: > ... >If you are populating the CA before ZCML is fully parsed, then: > >DO NOT POPULATE THE CA WHILE IMPORTING!!! > >This is so bad on so many levels. Dieter, your problem is just one example. >Another is that unit tests have no chance to work reli

Re: [Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-11 Thread Dieter Maurer
Fred Drake wrote at 2007-1-10 17:30 -0500: >On 1/10/07, Dieter Maurer <[EMAIL PROTECTED]> wrote: >> *It* must be informed whenever it is used in a different thread. > >Perhaps it could use some thread-local data to keep track of this? >threading.local comes to mind. Th

[Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-10 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-1-10 15:40 +0100: > ... >Things changed a bit after Zope 2.8/X3 3.0. Nowadays, the Component >Architecture doesn't need any setup anymore and you can do registrations >on import. Very good! >I'd still recommend against that. Why? > ... >That's because F

[Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-10 Thread Dieter Maurer
Martijn Faassen wrote at 2007-1-10 11:45 +0100: > >I'm a bit surprised why the huge [warning] is necessary. What I >understand you're saying is that you cannot use the component >architecture before it's done initializing. The warning comes from bad experience. I have tested my registra

[Zope-dev] [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-10 Thread Dieter Maurer
I tried to use Zope3 events to get informed when requests start and end. One of our modules (the interface module to "jpype") requires such a notification for reliable work. Therefore, it tried to register the corresponding subscriptions on import of this module. Unfortunately, this works very unr

Re: [Zope-dev] database

2007-01-08 Thread Dieter Maurer
Graziella Toutoungis wrote at 2007-1-8 14:32 +: >In order to connect via Zope to a database (postgresql) i search an adapter >for postgresql8.*. >I found it ZPoPyDa, i try to install it in MyZopeInsatance/Products without >success , i tried in zope/lib/python/products no success also. > >Wher

[Zope-dev] Re: [Zope3-dev] Is there an alternative to zdaemon?

2006-12-23 Thread Dieter Maurer
Jim Fulton wrote at 2006-12-22 15:55 -0500: > >Thoughts? We are using "zdaemon" widely and would be sad to loose it. The "underdocumented" argument is unjustified in my view: * "zdaemon" comes with reasonable "online" documentation (the "help" command) * like for all "zconfig" b

Re: [Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

2006-11-17 Thread Dieter Maurer
Chris Withers wrote at 2006-11-16 17:29 +: > >I'm wondering if you can still remember the rational behind the cache >code at around lines 355-387 of: > >http://svn.zope.org/Zope/trunk/lib/python/Shared/DC/ZRDB/DA.py?rev=68158&view=auto > >This code is pretty old (checked in 5th Dec 1997) b

Re: [Zope-dev] Bug in Shared/DC/ZRDB/DA.py

2006-11-16 Thread Dieter Maurer
Chris Withers wrote at 2006-11-16 16:42 +: >Around line 42 of DA.py, we've got the following: > >try: from IOBTree import Bucket >except: Bucket=lambda:{} > >Given that IOBTree has been dead for some time now, can we remove this >and replace instances of Bucket() with {} or is there a more app

[Zope-dev] Re: Future of ZClasses

2006-10-09 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-10-9 19:59 +0200: > ... >Sure, you CAN try to >reuse stuff (and I know some of your tools, e.g. rebindFunction et.al. >from ReuseUtils), but most of these revolve more around implementation >details than around well-defined APIs and responsibilities. This

Re: [Zope-dev] Re: Future of ZClasses

2006-10-09 Thread Dieter Maurer
Andreas Jung wrote at 2006-10-9 19:24 +0200: > ... >We have some code where some classes have up to 15(!) base classes (usually >mixin classes), not counting classes inherited from the mix-in classes. I >would call that unmanageable. Each of these classes represent a mixed in feature. You get 15

[Zope-dev] Re: Future of ZClasses

2006-10-09 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-10-7 23:51 +0200: > ... >> I find that the introduction of classes with (multiple) inheritance >> has been very economic. It was another concept but a highly fruitful >> one, despite the fact that they are not so liked in Zope3 land. > >I think "fat" objects

[Zope-dev] Re: [ZODB] probable small hole in transaction management

2006-10-06 Thread Dieter Maurer
Recently, I reported: Dieter Maurer wrote at 2006-9-24 16:28 +0200: >ATT: Crosspost. Please reply to "zodb-dev@zope.org" ("Reply-To" header set). > > >We recently have had a problem that seems to indicate a small >hole in ZODB (3.4) transaction management. &g

Re: [Zope-dev] zodb "time-stamp reduction" error without time chaning on server

2006-10-04 Thread Dieter Maurer
Chris Withers wrote at 2006-10-4 18:23 +0100: >Dieter Maurer wrote: > >>> 3. If repozo is not to blame, what could be? >> >> One possibility would be a bad call. > >A bad call? You should read my messages carefully! E.g. a call where the same incremental bac

Re: [Zope-dev] zodb "time-stamp reduction" error without time chaning on server

2006-10-04 Thread Dieter Maurer
Chris Withers wrote at 2006-10-4 15:06 +0100: > ... >The interesting thing is that it looks like the transactions where the >time appears to go backwards are duplicates of earlier transactions: > >position in file tid time from tid >310253762330x03689abb582f1311 2006-10-

Re: [Zope-dev] Re: Future of ZClasses

2006-09-29 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-9-30 02:30 +0200: > ... >> You want to stick this interface to individual objects, >> while Lennart proposed to stick it to a type and use >> some kind of inheritance to make it effective on all objects >> instantiated from this type. > >But where does this t

Re: [Zope-dev] SESSION values only refreshing with Shift-reload

2006-09-29 Thread Dieter Maurer
Tina Matter wrote at 2006-9-29 06:57 -0700: >I have a basic DTML document that has several input fields on it. When the >user submits the form, validation occurs and goes to an error page, if need >be. On my error page (dtml-document), there is a link to go back to the >previous page to correc

Re: [Zope-dev] Re: Future of ZClasses

2006-09-29 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-9-29 01:35 +0200: >Dieter Maurer wrote: >> Philipp von Weitershausen wrote at 2006-9-28 14:23 +0200: >>> ... >>> Why not set marker interfaces directly on the objects? That whole "type" >>> thing is unnecessar

Re: [Zope-dev] Future of ZClasses

2006-09-28 Thread Dieter Maurer
Jonathan wrote at 2006-9-28 15:11 -0400: > ... >For internal applications I would rather leave the ZClasses in place and try >to fix whatever breaks when zope is upgraded, however the application that >caused my initial question is for an external client (with no in-house zope >expertise of thei

Re: [Zope-dev] Re: Future of ZClasses

2006-09-28 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-9-28 14:23 +0200: > ... >Why not set marker interfaces directly on the objects? That whole "type" >thing is unnecessary. Just use interfaces. Usually, a type is seen as a set of objects, its type instances. It is quite nice to be able to work on a object s

Re: [Zope-dev] Future of ZClasses

2006-09-28 Thread Dieter Maurer
Jonathan wrote at 2006-9-27 12:42 -0400: >I found a thread (from March 2006) discussing the future of zclasses, but i >could not determine if a 'final' decision had been made. > >According to Changes.txt for Zope 2.10.0: > >"ZClasses are deprecated and should no longer be used. In addition any cod

[Zope-dev] [ZODB] probable small hole in transaction management

2006-09-24 Thread Dieter Maurer
ATT: Crosspost. Please reply to "zodb-dev@zope.org" ("Reply-To" header set). We recently have had a problem that seems to indicate a small hole in ZODB (3.4) transaction management. Here is the sequence of events: We have got a repeated "ConflictError", until ZPublisher gave up. After this

Re: [Zope-dev] Re: Improvements for Zope2's security

2006-09-19 Thread Dieter Maurer
Christian Heimes wrote at 2006-9-19 16:02 +0200: > ... >* As far as I understand the security system Zope2's can't protect >attributes and descriptors (properties) with >security.declarePrivate('attributename'). Since Zope 2.8, this is no longer true. You can protect simple type attributes and de

Re: [Zope-dev] Serving large files

2006-09-18 Thread Dieter Maurer
Sidnei da Silva wrote at 2006-9-17 16:09 -0300: > ... >c) If you use RESPONSE.write() you can break other > applications. ExternalEditor comes to mind. If you know the size and set it in the "Content-Length" response header, I cannot see a reason why it should break some applications. > ... >I

[Zope-dev] Re: [Zope3-dev] Release management refinements

2006-09-13 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-9-13 11:05 +0200: >Over the last couple of days we've been discussing Zope's new release >cycle and the release management. I would like to sum up what seems to >be the gist of those discussions: > > >9 month release period? >--- I am a

Re: [Zope3-dev] Re: [Zope-dev] Release schedule for Zope 2.11/3.4?

2006-09-12 Thread Dieter Maurer
Martijn Faassen wrote at 2006-9-12 14:44 +0200: > ... >> The current CHANGES.txt from the trunk just lists one new feature (added >> by myself). That's does not deserve a major release. > >It's the nature of time-based releases, though. If nobody does anything >in 6 months, does that mean we won't

Re: [Zope-dev] Re: buildbot failure in Zope branches 2.9 2.4 Linux zc-buildbot

2006-09-10 Thread Dieter Maurer
Stefan H. Holek wrote at 2006-9-10 17:14 +0200: >So it looks like I have identified the bad test. It is >ZODB.tests.testZODB.checkResetCachesAPI. When I suppress that test >all goes well: Maybe the failure of this test explains why "Refresh" no longer works? -- Dieter _

Re: [Zope-dev] Documentation on get_transaction().commit(...)

2006-09-07 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2006-9-5 19:10 -0400: > ... >I am calling get_transaction().commit(1) at various points in my program >and it seems like it's not actually committing those transactions. "commit(1)" commits a subtransaction. As the name suggests, you have to commit the main transaction

Re: I'm starting to get bored of people complaining about Zope (was: Re: [Zope-dev] Re: I am starting to hate Zope/Plone development and its bl**dy lack of refresh.)

2006-09-05 Thread Dieter Maurer
Sidnei da Silva wrote at 2006-9-5 10:46 -0300: > ... >That's a known-(at least to me)-issue. > > When you refresh an Archetypes-based product you need to refresh > Archetypes as well. You can do this by marking the product as > dependent on Archetypes and then refresh Archetypes (which will

Re: [Zope-dev] I am starting to hate Zope/Plone development and its bl**dy lack of refresh.

2006-09-04 Thread Dieter Maurer
Max M wrote at 2006-9-4 12:55 +0200: > ... >But doing development in Plone has become increasingly tiring since Zope >2.8 and up. > >Refresh no longer works, and the old "debug, correct, restart" cycle is >back. I know that refresh still works in 2.8.1 (I am using it extensively). And I do not un

Re: [Zope-dev] ZCatalog "Key Error" question

2006-09-04 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2006-9-3 18:06 -0400: > >Thank you so much for following-up with me, here. I think you're right >about this having to do with the indexes on the ZCatalog. > >The catalog has: >1. Seven "FieldIndex" indexes. >2. A "DateIndex" index >3. Three "ZCTextIndex" indexes I ha

Re: [Zope-dev] ZCatalog "Key Error" question

2006-09-03 Thread Dieter Maurer
Dieter Maurer wrote at 2006-9-3 19:22 +0200: >[EMAIL PROTECTED] wrote at 2006-9-1 13:29 -0400: >> >>Traceback for my Key Error (Dieter, thank you for alerting me on where >>to find this): >> >>Traceback (innermost last): >> ... >> - Physi

Re: [Zope-dev] ZODB.POSException.ConflictError on attribute assignment

2006-09-03 Thread Dieter Maurer
Michael Dunstan wrote at 2006-9-2 10:58 +1200: > ... >ConflictErrors are _not_ a mechanism for >prohibiting attribute assignment because that attribute already >exists. Instead ConflictErrors are a mechanism to prohibit inadvertent >concurrent updates of the same attribute. (Or in older ZODB's, eve

Re: [Zope-dev] ZCatalog "Key Error" question

2006-09-03 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2006-9-1 13:29 -0400: > >Traceback for my Key Error (Dieter, thank you for alerting me on where >to find this): > >Traceback (innermost last): > ... > - Physical Path: /nephron_links/news_dtml > Module DocumentTemplate.DT_String, line 476, in __call__ > Module Documen

Re: [Zope-dev] Help! Getting there, I hope ...

2006-09-01 Thread Dieter Maurer
Kris Adcock wrote at 2006-9-1 09:33 +0100: >Right, many thanks to those who have offered advice. I'm conscious that as >I've drifted from a coding topic then I'm probably in the wrong mailing list, >but everyone has been very patient up to now and I'm hoping that a fix is in >sight! :) > >I have do

Re: [Zope-dev] ZCatalog "Key Error" question

2006-09-01 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2006-9-1 02:54 -0400: >I have a Zope product that relies heavily on a ZCatalog to search for >objects within a folder matching certain criteria. The ZCatalog >frequently becomes corrupt, and on searching the catalog, the catalog >gives me key errors. I'm trying to figur

Re: [Zope-dev] Re: Timing the opening of network ports

2006-08-31 Thread Dieter Maurer
Chris Withers wrote at 2006-8-31 08:15 +0100: > ... >Er yes, I know why this is a very good thing. I was commenting that I >can't see why anyone would want anything else ;-) You did not read the thread carefully: I explained why I prefer early port binding... -- Dieter ___

Re: [Zope-dev] Timing the opening of network ports

2006-08-29 Thread Dieter Maurer
Jens Vagelpohl wrote at 2006-8-28 20:14 +0200: >On 28 Aug 2006, at 19:19, Andreas Jung wrote: > >> Some time ago the following patch was proposed to control the timing >> for opening the socket ports upon startup: >> >> >> >> I pro

[Zope-dev] Re: [Zope3-dev] Re: New beta releases tonight

2006-08-14 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-8-13 23:09 +0200: > ... >forker.shutdown_zeo_server(adminaddr) > File "src/ZEO/tests/forker.py", line 182, in shutdown_zeo_server >s.connect(adminaddr) > File "", line 1, in connect >error: (22, 'Invalid argument') Looks as if "adminaddr" where not

Re: [Zope-dev] ZClasses and Versioning

2006-07-14 Thread Dieter Maurer
Christopher Lozinski wrote at 2006-7-14 11:59 -0700: > ... >But what do I do with my Zope 2 application? ZClasses break with Zope 2.8. I do not think so. They broke for a little while (during the beta release) but then were fixed by Jim. At least we are using ZClasses (with Zope 2.8.1) an

Re: [Zope-dev] ZClasses and Versioning

2006-07-14 Thread Dieter Maurer
Christopher Lozinski wrote at 2006-7-13 19:38 -0700: > ... >And that is why I am not quite able to describe what it means to upgrade >ZClasses and versionning. I know what I need to do, and I can do it >really fast on Zope 2, but I am quite lost when it comes to Zope 3. Thus, apparently, you

Re: [Zope-dev] ZClasses and Versioning

2006-07-13 Thread Dieter Maurer
Christopher Lozinski wrote at 2006-7-10 19:28 -0700: >I am interested in upgrading ZClasses and versioning. What does "upgrading" mean here? -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No c

Re: [Zope-dev] 2.9.4? reStructuredText support?

2006-07-13 Thread Dieter Maurer
Jim Fulton wrote at 2006-7-9 09:10 -0400: > ... >On Jul 8, 2006, at 3:51 PM, [EMAIL PROTECTED] wrote: >>... >> I agree with you that a feature ("file/url" inclusion code) >> physically removed from the shipped code can be considered no longer >> causing security risks -- even without extensive test

Re: [Zope-dev] Database mounting problem in 2.9.3?

2006-06-26 Thread Dieter Maurer
Chris Withers wrote at 2006-6-26 14:16 +0100: >> ... >> You see here the new (ZODB 3.6) multi-database support. >> >>Something tries to ad the database "packed" to a >>multi-database that already contains a "packed". >> >> This might happen when you mount the same storage at different pla

Re: [Zope-dev] DomainAuthenticationMode with Sockets

2006-06-26 Thread Dieter Maurer
Juan Javier Carrera Obrero wrote at 2006-6-26 09:52 +0200: > ... >Does the DomainAuthenticationMode of a acl_user folder runs >successfully via Socket ? What should "via Socket" mean? All standard HTTP requests work "via socket". "DomainAuthentication" seems to work because there have been occa

Re: [Zope-dev] Re: Proposal: Scrap zpkg for Zope2 releases

2006-06-25 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-6-24 20:03 +0200: > ... >c) are so much core to Zope 3 that they don't make sense in Zope 2 (such >as twisted, securitypolicy) When I remember right, we should get "twisted" in Zope 2.10? -- Dieter ___ Zope-De

Re: [Zope-dev] Database mounting problem in 2.9.3?

2006-06-24 Thread Dieter Maurer
Chris Withers wrote at 2006-6-23 17:12 +0100: >Get this error on startup with one project I've just moved to Zope 2.9.3: > > File "/usr/local/zope/2.9.3/lib/python/Zope2/Startup/datatypes.py", >line 175, in createDB > return ZODBDatabase.open(self, databases) > File "/usr/local/zope/2.9.3/

Re: [Zope-dev] Re: default view

2006-06-22 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-6-22 09:03 +0200: >Dieter Maurer wrote: > ... >> If you are working on it, then you should implement a >> means that "__bobo_traverse__" can tell the caller that >> it should use the normal default. > ... >>

Re: [Zope-dev] Re: default view

2006-06-22 Thread Dieter Maurer
Florent Guillaume wrote at 2006-6-22 14:50 +0200: > ... >> Fixing this incompatibility without breaking applications which may be >> unknowingling dependent on it is going to be hard. > >Which is one of the reasons why abandoning it and moving on to Zope 3 >traversal is the only sane way to proce

Re: [Zope-dev] Proposal: Scrap zpkg for Zope2 releases

2006-06-22 Thread Dieter Maurer
Tres Seaver wrote at 2006-6-22 10:35 -0400: > ... >I believe that the extra flexibility which zpkg is intended to provide >(dependency-based subset distributions, primarily) would be better >served by moving Zope to use eggs, and that we should thus retire zpkg >as the means for building Zope2 rele

Re: [Zope-dev] Re: default view

2006-06-21 Thread Dieter Maurer
Florent Guillaume wrote at 2006-6-18 02:05 +0200: > ... > if hasattr(object,'__bobo_traverse__'): > subobject=object.__bobo_traverse__(request, name) If you are working on it, then you should implement a means that "__bobo_traverse__" can tell the caller that it should

Re: [Zope-dev] Re: Time-based releases a good idea?

2006-06-21 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-6-18 12:38 +0200: > ... deprecation policy ... >This policy allows us to move forward (which Zope 2 never >really did for the the majority of those five years you mention). Although, it might help in a few cases, it is not at all necessary to cast ones histo

Re: [Zope-dev] Flood of deprecation warnings...

2006-06-21 Thread Dieter Maurer
Chris Withers wrote at 2006-6-19 14:17 +0100: > ... >How would people feel about the default zope.conf hiding all deprecation >warning? I would not like it... > ... >This seems a better place to me than the current default behaviour of >"there's loads of these being spewed out, so I'll just ign

[Zope-dev] Re: Time-based releases a good idea?

2006-06-18 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-6-18 12:28 +0200: > ... >> Its configuration was documented in the Zope schema file. >> Its single API method was self explaining... > >Not everybody is as smart as you are, Dieter. Thank you :-) >And certainly not everyone >would get the idea of reading co

[Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2006-6-15 09:13 +0200: > ... >Hmm, then we have different perspectives on why we would evolve (since >evolvement is typically the cause of BBB code and hence deprecation >warnings). I think there are two main driving factors: Indeed. >* cutting down the amount o

Re: [Zope-dev] Re: Time-based releases a good idea?

2006-06-15 Thread Dieter Maurer
Chris McDonough wrote at 2006-6-14 14:50 -0400: > ... >PsycoPG-DA does, MySQLDA does, one of my products named >ZopeMailArchive does. "CCSQLMethods" does (because until very recently "ZSQLMethods" did, hopefully changed now). -- Dieter ___ Zope-Dev

Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10

2006-06-15 Thread Dieter Maurer
Florent Guillaume wrote at 2006-6-14 22:48 +0200: >On 14 Jun 2006, at 22:06, Dieter Maurer wrote: >> Florent Guillaume wrote at 2006-6-13 22:13 +0200: >>> Yes but the deprecation has been there for a while, and the third >>> party product developers have been ignor

Re: [Zope-dev] Time-based releases a good idea?

2006-06-14 Thread Dieter Maurer
Chris Withers wrote at 2006-6-14 07:32 +0100: > ... >Would be interested to know what other people think... I like time based releases but I hate deprecations for "cosmetic annoyances" (term stolen from Andreas). I have the feeling that most deprecations so far have been for "cosmetics" only.

Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10

2006-06-14 Thread Dieter Maurer
Florent Guillaume wrote at 2006-6-13 22:13 +0200: > ... >Yes but the deprecation has been there for a while, and the third >party product developers have been ignoring the warning. Their loss. Interestingly, it is usually not the loss for the third party product developers (as they usually gain

Re: [Zope-dev] zeo server conflict resolving

2006-06-05 Thread Dieter Maurer
Chris Withers wrote at 2006-6-5 14:54 +0100: > ... >Have you signed your new contributor agreement yet? ;-) I did not yet get an invitation... -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No

<    1   2   3   4   5   6   7   8   9   10   >