Re: [Zope] FSDump for Controller Page Templates metadata

2007-09-29 Thread Dieter Maurer
community. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] From DTML to ZPT i need help

2007-09-28 Thread Dieter Maurer
as attribute). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] how do I test for the current item in an iteration

2007-09-28 Thread Dieter Maurer
, i.summary) You are aware that you use i both as an integer (i = 5) as well as a structure (i.id, i.author, ...). Python is quite polymorph -- but there are some limits. Andreas suggestion was good: enumerate may help you... -- Dieter ___ Zope maillist

Re: [Zope-dev] Re: Options replacing DateTime with datetime!?

2007-09-26 Thread Dieter Maurer
first step. Why do you need a microsecond resolution? -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope] Zope is in trouble

2007-09-26 Thread Dieter Maurer
to those who can fix the problem you have described (I am a pure backend developper) but nevertheless I appreciate that you have spoken up. If you do not get further responses, you may try again on [EMAIL PROTECTED]. I am not sure that the core team is around on this list. -- Dieter

Re: [Zope-dev] Re: How to publish Zope2 products on PyPI

2007-09-24 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-9-23 19:24 +0200: On 23 Sep 2007, at 19:05 , Dieter Maurer wrote: Philipp von Weitershausen wrote at 2007-9-22 19:27 +0200: ... Dieter Maurer wrote: ... * PyPI doesn't necessarily have to contain eggs. It's primarily a discovery mechanism for humans

Re: [Zope] Re: How to know what are zope doing now?

2007-09-24 Thread Dieter Maurer
pstats import Stats as pStats ImportError: No module named pstats How can I install pstats? pstats is a standard Python module and should come in Python's runtime library. If it is not there, then your Python installation is scrwed up -- Dieter

Re: [Zope-dev] How to publish Zope2 products on PyPI

2007-09-23 Thread Dieter Maurer
the Framework::Zope2 classifier. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] Re: How to publish Zope2 products on PyPI

2007-09-23 Thread Dieter Maurer
Martin Aspeli wrote at 2007-9-22 12:21 +0100: Dieter Maurer wrote: We extend the Zope2 configuration with an option additional-products which lists the products used by the instance that are not at a standard place -- such as those installed by setuptools I really don't see the need

Re: [Zope-dev] Re: How to publish Zope2 products on PyPI

2007-09-23 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-9-22 19:27 +0200: ... Dieter Maurer wrote: ... * PyPI doesn't necessarily have to contain eggs. It's primarily a discovery mechanism for humans. The fact that setuptools can download packages from it is not as important as the fact that developers can

Re: [Zope] Re: How to know what are zope doing now?

2007-09-23 Thread Dieter Maurer
installed on the file systems. It should live in the Products directory of your Zope instance. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Re: How to know what are zope doing now?

2007-09-23 Thread Dieter Maurer
. It is there, but you cannot see it in Control_Panel/manage_main? That sounds like a bug. In what version of Zope have you seen this? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-dev] How to publish Zope2 products on PyPI

2007-09-22 Thread Dieter Maurer
Andreas Jung wrote at 2007-9-22 09:00 +0200: --On 22. September 2007 07:59:48 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: During our latest discussion to put my most important Zope2 products into a public repository, I have promissed to publish them on PyPI instead. Yesterday, I started work

[Zope-dev] How to publish Zope2 products on PyPI

2007-09-21 Thread Dieter Maurer
by the instance that are not at a standard place -- such as those installed by setuptools -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Re: How to know what are zope doing now?

2007-09-21 Thread Dieter Maurer
. It is a singleton. No need and no sense to install it anywhere else. Therefore, it does not add itself to the Add list. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] ZopeProfiler:does its installation have a performance impact?

2007-09-21 Thread Dieter Maurer
is disabled is * an extra function call * 3 assignments * a request lookup * a boolean check In total: negligable compared to what the ZPublisher (not speaking about Zope at all) is doing otherwise. -- Dieter ___ Zope maillist - Zope

Re: [Zope] help with customizing error messages, Zope 2.9

2007-09-21 Thread Dieter Maurer
should not use ZPublisher type conversions. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] Re: More resilient indexes

2007-09-19 Thread Dieter Maurer
Laurence Rowe wrote at 2007-9-19 10:03 +0100: ... Indexes are inherently difficult to perform conflict resolution on. As Dieter mentioned their implementation is designed for efficient reading, not efficient writing. You did not mean me? I have implemented the Conflict Reduced Indexes because

Re: [Zope-dev] security problem in an monkey-patch

2007-09-19 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-9-19 11:54 +0200: and ../portal_catalog/getBypassQueue displays a 1 This looks like a security bug. You should not be able to call something via the ZPublisher what you cannot call in a script. Maybe, you file a bug report? -- Dieter

Re: [Zope-dev] Re: More resilient indexes

2007-09-18 Thread Dieter Maurer
the modifications then spread over a large tree, significantly reducing the conflict probability. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope] how to get next iteration values?

2007-09-17 Thread Dieter Maurer
is the column field of the next hit. Be aware that you need to handle the boundary case (that you are already at the last hit). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] sql and auto generated forms

2007-09-16 Thread Dieter Maurer
bunch of tables... We used (for some time) a product with a name similar to ZSolkWizzard for this (the name is definitely different, but I do not know the correct one). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Re: request.locale

2007-09-09 Thread Dieter Maurer
as a form variable or as a cookie (or used in Request.set). Old code can assume that request. and request[''] usually returns the same value, at least for 'locale'. This changes when you add locale as an attribute. -- Dieter ___ Zope-Dev

Re: [Zope-dev] Re: request.locale

2007-09-09 Thread Dieter Maurer
Hanno Schlichting wrote at 2007-9-9 11:58 +0200: ... Obviously this needs a bit of rather hairy code Indeed, as you must not define 'locale' as a request attribute (it may hide 'locale' set otherwise) but otherwise let it behave as if it were an attribute. -- Dieter

Re: [Zope-dev] request.locale

2007-09-07 Thread Dieter Maurer
request may introduce a name conflict -- in those cases where locale is used as form variable, as a cookie or set on request. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope] VERY unusual zope traceback

2007-09-07 Thread Dieter Maurer
DB.open() has 9 open connections with a pool_size of 7 2007-09-07 05:33:06 WARNING ZODB.DB DB.open() has 10 open connections This usually means that you are forgetting to close no longer used connections. -- Dieter ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: utf-8 problem in Zope when using Localizer

2007-09-04 Thread Dieter Maurer
Python starts is sufficient. We ensure that $INSTANCE_HOME/lib/python is on this path and then can put sitecustomize.py there. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] SOAPMethod

2007-09-03 Thread Dieter Maurer
post what you see at the source of the page? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope-dev] Re: Options replacing DateTime with datetime!?

2007-09-01 Thread Dieter Maurer
on an inplace DateTime migration.. too compliated, too much cruft would have to remain for backward compatibility. Let's see how we can address the issue in a reasonable way :-) How about making python-dateutil + datetime officially available in Zope? -- Dieter

Re: [Zope] Calling a ZPT macro, with parameters, from a python script

2007-08-30 Thread Dieter Maurer
(note that a macro is usually used inside a template and this template provides a namespace for variables and ways to handle slots assignments). I would be very surprised if you could build the context objects in untrusted code. -- Dieter ___ Zope maillist

Re: [Zope] dtml method contents

2007-08-30 Thread Dieter Maurer
somewhere else (but I do not use DTML for a long time). Anyway: Use the prefix attribute of dtml-in and replace your template above with yourPrefix_item. ATT: keep the ... around; otherwise, the errors will stay. -- Dieter ___ Zope maillist

Re: [Zope-dev] Re: Options replacing DateTime with datetime!?

2007-08-29 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2007-8-28 21:49 +0200: On 28 Aug 2007, at 21:48 , Dieter Maurer wrote: Philipp von Weitershausen wrote at 2007-8-27 22:33 +0200: ... datetime use ... My point was just that it's doable and has been for a long time already. Yes, it is possible (for a long

Re: [Zope-dev] Re: Options replacing DateTime with datetime!?

2007-08-28 Thread Dieter Maurer
developers who can't or won't touch filesystem code were out of luck, but everybody who *knew* about datetime and wanted to use it could have done so. Is not an allow_type (or several) necessary as well? -- Dieter ___ Zope-Dev maillist - Zope

Re: [Zope-dev] Options replacing DateTime with datetime!?

2007-08-27 Thread Dieter Maurer
way too much Which you cannot get rid of -- for backward compatibility. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

[Zope-dev] Re: Options replacing DateTime with datetime!?

2007-08-27 Thread Dieter Maurer
and datetime objects not accessible in TTW code -- at least, they have not been until recently... -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] Options replacing DateTime with datetime!?

2007-08-26 Thread Dieter Maurer
will have difficulties, too. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Help with DateTime.earliestTime()

2007-08-26 Thread Dieter Maurer
confirmed this occurs with several of the US/ timezones (US/Pacific, US/Alaska, etc)/p pCan anyone help me figure out why the resulting date is coming up 1 hour short of the expected 2005/11/01 ?/p pThanks!/p pEric/p pnbsp;/p pnbsp;/p/div -- Dieter

Re: [Zope] Global Variable In PT

2007-08-24 Thread Dieter Maurer
with the specification. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] utf-8 problem in Zope when using Localizer

2007-08-24 Thread Dieter Maurer
/lib/python2.4/site-packages and then dtml-var MessageCatalog('Hallo Welt!') works. Now I only must find the right place for setdefaultencoding() so it only affect my zope-instance. $INSTANCE_HOME/lib/python would be a good place for the site-customize.py. -- Dieter

RE: [Zope] utf-8 problem in Zope when using Localizer

2007-08-24 Thread Dieter Maurer
But, then, they nevertheless fixed the bug... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] debugging memory exhaustion

2007-08-14 Thread Dieter Maurer
Chris Withers wrote at 2007-8-14 08:22 +0100: Dieter Maurer wrote: Then, you use the ZServer.medusa.monitor_client[_win32] to connect to your monitor server. Where/what is this? You do not understand Python's package notation? Unbelievable... Think about it, you will get

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

2007-08-11 Thread Dieter Maurer
decode the pickle state. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

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
and intSet come with their own C level attributes. Therefore, Python does not allow them to be combined through subclassing. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

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

2007-08-10 Thread Dieter Maurer
conversion. An interesting idea, assuming it works, how would I load the objects, change them to the correct (new) type and then save them? Yes. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope] Re: _p_resolveConflict not called on conflict

2007-08-10 Thread Dieter Maurer
resolution *MUST* necessarily be serialized (otherwise, several conflict resolution processes may conflict with one another). In a ZEO environment, there is only one place which can reliably serialize: ZEO. -- Dieter ___ Zope maillist - Zope@zope.org http

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

2007-08-09 Thread Dieter Maurer
. The reason that Jim dropped support for the old BTree was to save time by not converting them to the new type = new style class paradigme which is now used by Persistent. It is likely that BTree will not work in a new (post Zope 2.7) environment even if build anew. -- Dieter

Re: [Zope] AttributeError: Can't Pin It Down!

2007-08-09 Thread Dieter Maurer
before PTs were in vogue and it worked just fine using DTML. I changed it to PT for you to throw and capture this error ;) Then, your translation to PT went probably wrong. Are you sure that you access your forms via request (which would be REQUEST in DTML). -- Dieter

Re: [Zope] SOAP - Integration?

2007-08-09 Thread Dieter Maurer
a special RPC marshaller/demarshaller object which performs RPC marshalling/demarshalling for XML-RPC, SOAP and Repr. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Export fails

2007-08-09 Thread Dieter Maurer
should contain all objects referenced (directly or indirectly) by this initial object. If this does not work in your case, then it may be necessary to debug the export process (to find out why it does not work). -- Dieter ___ Zope maillist - Zope

Re: [Zope] AttributeError: Can't Pin It Down!

2007-07-22 Thread Dieter Maurer
that request does not have a contact_us_form attribute. I am unfamiliar with Formulator -- but it seems strange to me that you expect request to contain complete forms. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] Quesiton about retrieving the base object

2007-07-22 Thread Dieter Maurer
or not a given object will have problems is identical between export/import and storage copy. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Problem importing xml backup file

2007-07-20 Thread Dieter Maurer
exports (and XML in general -- it is not easy to generate a valid XML document with character content of unknown encoding). Try to use a binary export (no XML) -- or even better, copy the storage file. -- Dieter ___ Zope maillist - Zope@zope.org http

Re: [Zope] How to import a basic class in Script (Python)

2007-07-18 Thread Dieter Maurer
was caused by such constructs. If at all, you should have at most a single import * -- the first import. Your names look funny. Why do they all end in _py? Your Zope folders cannot be reached by the Python interpreter. You cannot import from objects places in Zope's Web hiearachy. -- Dieter

Re: [Zope] modifying zope conf ruins everything

2007-07-18 Thread Dieter Maurer
-- although I cannot tell you what. If you really have restored the original state, then you should see again the same behaviour. When you see a different behaviour, then you have not yet fully restored the original state... -- Dieter ___ Zope maillist

Re: [Zope] database conflict error

2007-07-14 Thread Dieter Maurer
this. If this is indeed the case, then Andreas' advice will not work. You can recognize this when the object retrieved by Andreas' proposal is something else than an OOBTree. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Logon process

2007-07-13 Thread Dieter Maurer
Garito wrote at 2007-7-9 02:24 +0200: ... To Dieter: I have a folder with some objects. This objects has 2 subgroups: availables for everyone and availables only for a role I would like to do folder.objectValues() and get a list of objects filtereds but I don't have any idea if I could do

Re: [Zope] handling exceptions for external methods

2007-07-08 Thread Dieter Maurer
messages to use. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] Logon process

2007-07-08 Thread Dieter Maurer
apparently do). Why do you want to do it programmatically (rather than use the automatims)? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] handling exceptions for external methods

2007-07-08 Thread Dieter Maurer
that such classes are not picklable. The source of External Methods are read in (execfiled) and classes defined therein appear as if defined in the module __main__. This confused the pickling mechanis as __main__ is unable to recreate these classes. -- Dieter

Re: [Zope] Setting REQUEST on next page

2007-07-08 Thread Dieter Maurer
value [set up this var on the next page REQUEST] dtml-call RESPONSE.redirect(nextpage) You cannot. HTTP forbids browsers to perform automatic post/put redirects. Therefore, browsers tend to implement all redirects as GET requests. For GET requests, all parameters must be in the url. -- Dieter

Re: [Zope] catching shorter URLs

2007-07-08 Thread Dieter Maurer
. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] Logon process

2007-07-06 Thread Dieter Maurer
an ExUserFolder object via the ZMI. Do you know where I can found a tutorial about how to setup and use Cookie Crumbler product? You install CMFCore (by placing the product CMFCore into the Products folder -- see above), restart and create a CookieCrumber instance via the ZMI. -- Dieter

Re: [Zope-DB] Migration from Windows to Linux. How to do it?

2007-07-06 Thread Dieter Maurer
). -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Several questions on Z3 Views backported thru Five

2007-06-22 Thread Dieter Maurer
is the Plone App? Use a profiler (e.g. ZopeProfiler) to obtain a timing profile. It will tell you where time is spent for. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

RE: [Zope-DB] Using dtml-vars in ZSQL methods?

2007-06-17 Thread Dieter Maurer
keyword parameter there. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope] Dictionary Key Error from Parsed RSS

2007-06-15 Thread Dieter Maurer
but are in fact instances. In this case, you would need to convert such substructures as well (similar to the top level object). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope-dev] QueueCatalog

2007-06-14 Thread Dieter Maurer
provide answers, but you can try... -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Automatic Cataloging

2007-06-10 Thread Dieter Maurer
am not sure) that this may refer to this object. If not, be explicit an use dtml-let to assign the result of manage_clone to an itermediate variable. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Automatic Cataloging

2007-06-10 Thread Dieter Maurer
. The manage* methods interpret the passing of REQUEST as I am used from the ZMI and often perform a redirect in this case -- with is usually not wanted. An alternative (but not sure) to the code above might be ...manage_changeProperties(**REQUEST.form) -- Dieter

Re: [Zope] Creating a ZCatalog to catalog the newly created objects using ZClasses

2007-06-10 Thread Dieter Maurer
contains valuable information about Zope product writing. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] RuntimeError:maximum recursion depth exceeded

2007-06-10 Thread Dieter Maurer
, in the root folder. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] Re: Problem Augmented assignment

2007-06-08 Thread Dieter Maurer
less efficient (not an issue in this case) and it does not affect other bindings of x. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] transfer zope security-properties

2007-06-08 Thread Dieter Maurer
for ZClass'es. I am not aware of ZClass specific roles Roles are implemented by AccessControl.Role.RoleManager. Look there what methods may help you to do what you want. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope] [Ann] DMHistorical -- access historical state in a ZODB

2007-06-07 Thread Dieter Maurer
or earlier. It has been tested with ZODB 3.4. It may (or may not) work for ZODB 3.6 or above. Download via http://www.dieter.handshake.de/pyprojects/zope#DMHistorical -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

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

2007-06-04 Thread Dieter Maurer
below seconds (thus, you may still see ConflictErrors) but it would be difficult to create an index that follows Tres suggestion. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

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

2007-05-31 Thread Dieter Maurer
timestamps. I am not sure but it may well be that the times shown for the serials are UTC (GMT +0) and not local times. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope] Function reindexObject()

2007-05-31 Thread Dieter Maurer
, invokeFactory was acquired from). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

RE: [Zope] Uncaptured python exception

2007-05-31 Thread Dieter Maurer
screwed up your Zope. It behaves differently from how we know it. To be sure: you look into the error_log object in the ZMI, have removed any exceptions to be ignored and nevertheless do not see any error log messages there? -- Dieter ___ Zope maillist

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

2007-05-30 Thread Dieter Maurer
DefaultConfiguration to the read in configuration. This happens in Zope2.Startup.run._setconfig. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

RE: [Zope] Re: MemoryError exception when importing a zexp file

2007-05-30 Thread Dieter Maurer
: With 32 bit addresses you can only address about 4 GB and parts of the address space is reserved for other purposes (than heap). You need a 64 bit architecture to have a significantly higher virtual address space. -- Dieter ___ Zope maillist

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

2007-05-29 Thread Dieter Maurer
now. Moreover, people may not like what I would change -- and an intense discussion, maybe even struggle may be unravelled. So, you will still here from time to time a reference to our private copy of Zope. -- Dieter ___ Zope-Dev maillist - Zope-Dev

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

2007-05-29 Thread Dieter Maurer
with respect to conflict errors. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

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

2007-05-25 Thread Dieter Maurer
was fixed at least at 2005-08-22 (though the handling was not completely right in case the cache was reset). Maybe, the bug you see now affects only mounted connections? -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman

Re: [Zope] unicode, zmi, utf-8, management_page_charset and default-zpublisher-encoding

2007-05-23 Thread Dieter Maurer
textual properties should be encoded in utf-8. 5. Search them in the catalog. No problem, as long as you take care that you do not mix unicode and non unicode (with non ASCII characters) in the same index. -- Dieter ___ Zope maillist - Zope@zope.org

Re: [Zope-DB] FileMaker with Zope

2007-05-23 Thread Dieter Maurer
, as suggested by Andreas. Thank you very much for answering, Dieter, but the same I explained to Andreas, money is a very big problem in my case. Then, you need to read very carefully! I sketched an option that does not cost money: Maybe, you try to search for it (ZODBCDA). I do not know

Re: [Zope] Scaling problems, or something else?

2007-05-21 Thread Dieter Maurer
. The garbage collector by itself does not know about the physical memory limit -- but when it kicks in and large parts of your objects have been swapped out, its traversal (to determine unreachable objects) will load them and this can drastically slow down the process. -- Dieter

Re: [Zope-DB] Unable to fix a POSKeyError

2007-05-20 Thread Dieter Maurer
._setOb(idOfBrokenObject, someNewObject) After that, you can delete the broken object container._delObject(idOfBrokenObject) and commit. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

Re: [Zope-dev] ZGDChart on Zope 2.10

2007-05-17 Thread Dieter Maurer
. Thus, look at the code and try to determine what option is supposed to be. Then fix the problem. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Scaling problems, or something else?

2007-05-17 Thread Dieter Maurer
) then an increased number of threads is inferior to multiple processes as the GIL prevents more than a single thread running Python code. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] SQLAlchemy 0.2 released - a generic database adapter for Zope 2

2007-05-07 Thread Dieter Maurer
are possible in zope.conf, it is somewhat tedious (as can be seen for mount points). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope] Upgrade woes: BTreeFolder -- BTreeFolder2

2007-05-05 Thread Dieter Maurer
on the BTreeFolder2 instance and this problem should go away. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/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 at class level a function call grok.context(something

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

Re: [Zope] Upgrade woes: BTreeFolder -- BTreeFolder2

2007-05-04 Thread Dieter Maurer
Make your migration in the old Zope instance (where you have both the old BTree as the new BTrees.XXBTree. Then copy the storage over to the new Zope instance.. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-DB] Connecting FileMaker with Zope

2007-05-04 Thread Dieter Maurer
could tell me a choice to get it for free! You could use the (commercial!) ZMxOdbcDA from egenix to connect via ODBC. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db

[Zope] Re: [Zope-DB] Unicode charset problems dealing with the ZmySQLDA product

2007-04-30 Thread Dieter Maurer
encoding. The client encoding controls which encoding (aka charset) the client expects for unicode strings. There may be differences between your two configurations. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-DB] Unicode charset problems dealing with the ZmySQLDA product

2007-04-30 Thread Dieter Maurer
encoding. The client encoding controls which encoding (aka charset) the client expects for unicode strings. There may be differences between your two configurations. -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo

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] ZClasses Maintenance and Upgrade

2007-04-25 Thread Dieter Maurer
, there is computational efficiency in sharing a permission among the properties on a propertysheet. The main reason is that Zope only learned with Zope 2.8 how to protect attributes with elementary values. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http

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