Re: [Zope-dev] zeo and queuecatalog conflict-resolution

2008-02-10 Thread Joachim Schmitz
Andreas Jung schrieb: --On 10. Februar 2008 18:34:54 +0100 Joachim Schmitz <[EMAIL PROTECTED]> wrote: What is the recommended method to make the conflict-resolution-code available to the zeo-server ? Is there a "Products" directive for zeo.conf ? I think it is suf

[Zope-dev] zeo and queuecatalog conflict-resolution

2008-02-10 Thread Joachim Schmitz
What is the recommended method to make the conflict-resolution-code available to the zeo-server ? Is there a "Products" directive for zeo.conf ? -- Gruß Joachim ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-de

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

2007-09-19 Thread Joachim Schmitz
Tres Seaver schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 security.declareProtected(view_management_screens, 'getBypassQueue') def getBypassQueue(self): "get _by_pass" if not hasattr(self,"_bypass"): self._bypass = False return self._bypass I would write thi

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

2007-09-19 Thread Joachim Schmitz
Hi, I have monkey-patched the QueueCatalog to adopt it to our needs, which works fine. I now wanted to introduce a new feature: The QueueCatalog should be bypassed during mass-import of data. So I introduced a new variable "_bypass", and new getBypassQueue() and setBypassQueue methods in the

[Zope-dev] Re: possible bug in Catalog.py with keyword index ?

2007-07-23 Thread Joachim Schmitz
Dieter Maurer schrieb: Joachim Schmitz wrote at 2007-7-20 10:40 +0200: Obviously, you got the wrong mainling list. This is not a ZODB problem... my mistake it should have gone to the zope-dev list. ... I found in Catalog.py updateMetadata around line 306 else: if

Re: [Zope-dev] Re: QuequeCatalog and GenericSetup

2007-06-27 Thread Joachim Schmitz
Joachim Schmitz schrieb: Tres Seaver schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joachim Schmitz wrote: Hi, We are now using the QueueCatalog as a replacement of the portal_catalog, and renamed the original portal_catalog to portal_catalog_real. In our local toolset.xml I

[Zope-dev] howto move the portal_catalog to a separate zeo-server ?

2007-06-26 Thread Joachim Schmitz
hi, In a zeo-client, zeo-server-setup is it possible to move the portal_catalog of a cmf/cps-instance, to a separate zeo-server ? If yes, what would be the steps ? Especially how to define the mount-point. -- Mit freundlichen GrüßenJoachim Schmitz

Re: [Zope-dev] Re: QuequeCatalog and GenericSetup

2007-06-20 Thread Joachim Schmitz
Tres Seaver schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joachim Schmitz wrote: Hi, We are now using the QueueCatalog as a replacement of the portal_catalog, and renamed the original portal_catalog to portal_catalog_real. In our local toolset.xml I definded That works, but

[Zope-dev] QuequeCatalog and GenericSetup

2007-06-19 Thread Joachim Schmitz
Hi, We are now using the QueueCatalog as a replacement of the portal_catalog, and renamed the original portal_catalog to portal_catalog_real. In our local toolset.xml I definded That works, but in the toolset.xml of cps there is: This overrides the portal_catalog on each portal_setup pr

[Zope-dev] QueueCatalog bug when process all indexes imediatly is checked

2007-06-16 Thread Joachim Schmitz
Hi, this is with a svn checkout of QueueCatalog. When the process all indexes imediatly is checked I get: 2007-06-16 12:57:44 ERROR event.QueueCatalog error cataloging object Traceback (most recent call last): File "/home/perry/Zope/instances/homewaeup/Products/QueueCatalog/QueueCatalog.py",

[Zope-dev] QueueCatalog

2007-06-13 Thread Joachim Schmitz
Hi, 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 ? -- Gruß Joachim ___ Zope-Dev maillist - Zope-Dev@zope.org http:/

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

2007-06-01 Thread Joachim Schmitz
Any suggestion for a temporary fix would be very welcome, since we get about 6000 conflict errors per day now about 15 % unresolved, and they are really killing our portal. A workaround might be to replace the DateIndexes for 'created' and 'modified' with FieldIndexes: you will see a big j

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

2007-06-01 Thread Joachim Schmitz
Tres Seaver schrieb: {'Application': , 'ZGlobals': object at 0xb2739224>} What does this tell us ? That is a "real" conflict: both transactions have inserted values into the 'created' date index's '_index' under the same key, which can't be resolved. Retrying the transaction is the

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

2007-06-01 Thread Joachim Schmitz
some more findings: 1. The conflict error really happens on the Portalcatalog 2. It is a BTreesConflictError: BTrees conflict error at -1/47/47: Conflicting inserts which disguised as ConflictError, through the various try: excepts: 3. It happens on DateIndexes like "created" and "modified".

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

2007-06-01 Thread Joachim Schmitz
one very important finding: tryToResolveConflict fails in the resolve function resolve object at 0xb1ab82b4> by raising an exception, when I call it again from the debugger I get. (Pdb) resolved = resolve(old, committed, newstate) *** BTreesConflictError: BTrees conflict error at -1/47/47: Co

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

2007-06-01 Thread Joachim Schmitz
Tres Seaver schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not if the sessions being used are from 'faster' -- it doesn't use IOBTree. The major "application" use of that module is in the catalog. you correct see below: Try dumping out the contents of the bucket: for k, v in buck

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

2007-05-31 Thread Joachim Schmitz
Hi, I was able to locate the places in the Zope-sources where the conflict error is triggered. On my local system it's in ZODB.FileStorage in the store-method there is if serial != cached_tid: rdata = self.tryToResolveConflict(oid, cached_tid,serial, data) in the tryToResolveConflict

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

2007-05-31 Thread Joachim Schmitz
Joachim Schmitz schrieb: I could reproduce the conflict error on my local machine not using ZEO. I invoked the longrunning process "create_level" for two users after a zope-restart. here is the log: 2007-05-31 09:44:24 INFO Zope Ready to handle requests 2007-05-31 09:

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

2007-05-31 Thread Joachim Schmitz
Dieter Maurer schrieb: 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

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

2007-05-30 Thread Joachim Schmitz
Andreas Jung schrieb: --On 28. Mai 2007 21:12:13 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 28. Mai 2007 20:03:47 +0200 Joachim Schmitz <[EMAIL PROTECTED]> wrote: Joachim Schmitz schrieb: ConflictError: database conflict error (oid 0x7fd771, class BTrees._IOBT

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

2007-05-28 Thread Joachim Schmitz
Joachim Schmitz schrieb: Hi Dieter, thanks for this hint. Dieter Maurer schrieb: 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

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

2007-05-28 Thread Joachim Schmitz
Hi Dieter, thanks for this hint. Dieter Maurer schrieb: 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

[Zope-dev] many conflict errors

2007-05-23 Thread Joachim Schmitz
Hi, in our Studentregistration portal we experience many conflict errors under heavy load many of them unresolved. the configuration ZEO-server running on one machine 4 Zope-Clients with CPS-3.4.2 with 4 threads each running on a second box, we are using the faster session product all runn

[Zope-dev] Re: OT: folding editors

2002-08-15 Thread Joachim Schmitz
g editor (jed) and these are the folding marks. > > Use Vim, it folds based on indentation (or anything else you care to > teach it)! ;> > > -- > Jean Jordaan > Upfront Systems http://www.upfrontsystems.co.za > Mit freun

Re: [Zope-dev] to __of__ or not to __of__ ?

2002-08-14 Thread Joachim Schmitz
re them in a btree ? > > -Casey > > BTW: People will take you a lot more seriously on this list if you loose > the ># {{{ ... #}}} crutches ;^) I use a folding editor (jed) and these are the folding marks. Folding makes your editing live much easier.

[Zope-dev] to __of__ or not to __of__ ?

2002-08-14 Thread Joachim Schmitz
of__ magic and how ? you can download the product from http://www.zope.org/Members/perry/AixtraTable Mit freundlichen Grüßen Joachim Schmitz AixtraWare Ingenieurbüro für Internetanwendungen Hü

Re: [Zope-dev] access to ZCatalog-data via xmlrpc

2002-05-30 Thread Joachim Schmitz
--On Mittwoch, Mai 29, 2002 16:15:44 +0100 Toby Dickenson <[EMAIL PROTECTED]> wrote: > On Wednesday 29 May 2002 3:24 pm, Joachim Schmitz wrote: >> Hi, >> >> I want to acces a ZCatalog via xmlrpc, but >> >> server=xmlrpcli

[Zope-dev] access to ZCatalog-data via xmlrpc

2002-05-29 Thread Joachim Schmitz
able marshalling of those types ? Mit freundlichen Grüßen Joachim Schmitz AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefo

[Zope-dev] ExternalEditor for Windows setup

2002-05-23 Thread Joachim Schmitz
Windows 98 system with Opera > 6.02. >> >> Bill Trenker >> Kelowna, BC, Canada Mit freundlichen Grüßen Joachim Schmitz AixtraWare Ingenieurbüro für Internetanwendungen Hü

Re: [Zope-dev] ExternalEditor & Windows

2002-05-22 Thread Joachim Schmitz
got some stuff working, but it's far from >> > complete. I was wondering if anyone else was working on this? I would >> > hate to be duplicating efforts, but I would love to help. >> >> I was thinking of doing the same thing, but if you've done most of it.

Re: [Zope-dev] ExternalEditor & Windows

2002-05-21 Thread Joachim Schmitz
--On Dienstag, Mai 21, 2002 14:00:59 -0400 Casey Duncan <[EMAIL PROTECTED]> wrote: > On Tuesday 21 May 2002 01:39 pm, Joachim Schmitz wrote: >> Hi, >> >> great to hear, I just wanted to write a mail to the list asking for a >> joint effort for bringing Extern

Re: [Zope-dev] ExternalEditor & Windows

2002-05-21 Thread Joachim Schmitz
n/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) Mit freundlichen Grüßen Joachim Schmitz --

Re: [Zope-dev] How to automatically redirect publishing request toanother folder?

2002-01-25 Thread Joachim Schmitz
like > this? > > Thanks in advance! > > --Craeg > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lis

Re: core i18n support (was [Zope-dev] Open Letter to zope-dev)

2001-12-02 Thread Joachim Schmitz
o >>> one needs unicode >>> support in Zope ?! :-) Anyway, as a first step Zope 2.5 provides full >>> unicode >>> support for the ZCatalog. I would like to see some volunteers that could >>> help >>> to set up a list of requirements (the list i

[Zope-dev] Re: [Zope] WebDAV/Word readonly problem resolved

2001-11-26 Thread Joachim Schmitz
Hurrahhh ! it works now. On Mon, 26 Nov 2001, Andreas Jung wrote: > I also checked-in a newer version of ZServer/HTTPResponse.py some minutes > ago > to provide a general Etag support. This should work now. > > Andreas > - Original Message - > From: "Joachim

[Zope-dev] Re: [Zope] WebDAV/Word readonly problem resolved

2001-11-26 Thread Joachim Schmitz
as > read-only when it has been opened through WebDAV/webfolder is finally > resolved. Joachim Schmitz gave the hint that WinWord depends on the > HTTP ETAG header that Zope usually did not send. This behaviour is odd > because HTTP 1.1 does not require that a server sends this header. &g

[Zope-dev] Re: [Zope] WebDAV lockingproblem with Word

2001-11-12 Thread Joachim Schmitz
Hi Andreas, attached you find a tcpdump generated log of the communication between a Windows Word client and an IIS Informationserver, during storage and retrieval of a Webdocument. With IIS the Webdocument is never writeprotected. Hope that helps. Mit freundlichen Grüßen Joachim Schmitz

[Zope-dev] how to access propertiesheets of a base ZClass

2000-12-03 Thread Joachim Schmitz
example the type-property. But in my new ZClass I don't have a FieldBasic management tab. If I create a new instance of Field I get the FieldBasic tab. any enlightment to this is welcome. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsg

Re: [Zope-dev] changing/storing Properties with ZPatterns

2000-12-01 Thread Joachim Schmitz
> At 10:07 AM 12/1/00 +0100, Joachim Schmitz wrote: > > > >this works fine. Now I wanted to have attributes which I don't want to > >display in the form, for example complete attribute. I therefore created > >another dataskin propersheet Internal in AZ with a p

[Zope-dev] changing/storing Properties with ZPatterns

2000-12-01 Thread Joachim Schmitz
manage to store retrieve this attribute. All attributes in the Basic propertysheet I can store and retrieve. what is the magic behind this ? Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2

[Zope-dev] how to add new propertys programmatically ?

2000-11-29 Thread Joachim Schmitz
check if a property with the name of my FieldObject exists, and if not I want to addit, but that does not work see above. Is this a good idea at all ? or are there better ways to achieve this ? Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen

Re: [Zope-dev] UML reverse engineering on ZClasses - I need somehelp

2000-11-29 Thread Joachim Schmitz
). > > Consider me a beta tester, > me too :-) Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zo

Re: [Zope-dev] UML reverse engineering on ZClasses - I need somehelp

2000-11-28 Thread Joachim Schmitz
d be possible, or even better generate a python-product. I am very much interested in your work. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 _

[Zope-dev] How to get rid of obsolete Permissions

2000-11-26 Thread Joachim Schmitz
how can I get rid of the permissions defined for a ZClass, after I deleted the ZClass, all permissions for all ZClasses I ever created are still around and pollute my security or permission management screens. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für

Re: [Zope-dev] ZPatterns and ZCLasses

2000-11-22 Thread Joachim Schmitz
On Tue, 21 Nov 2000, Phillip J. Eby wrote: > At 11:08 AM 11/21/00 +0100, Joachim Schmitz wrote: > >I have an existing ZClass/Data Structure like this > > > >RecruitingPlatform > > Company > >Recruiting > > Candidates > >

[Zope-dev] ZPatterns and ZCLasses

2000-11-21 Thread Joachim Schmitz
_ZClass_for_DataSkin and do I need a Rack for each class ? Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-31 Thread Joachim Schmitz
e a 'pure' DataSkin, I did all the testing with a DataSkin derived ZClass, when that was working, I tried the 'pure' DataSkin and it didn't work. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-5245

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-31 Thread Joachim Schmitz
)+kw.items() > > class Trigger(Compute): > --- 168,174 > > class Compute(AST): > type = 'COMPUTE' > ! def __init__(self,*args,**kw): > self._kids=list(args)+kw.items() > > class Trigger(Com

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-31 Thread Joachim Schmitz
the SkinScript to: WITH QUERY getevent() COMPUTE event_id ,datum_von that does not work, I get an key error: event_id but finally last try: WITH QUERY getevent() COMPUTE event_id=event_id ,datum_von=datum_von that worked, so there seams to be a little bug. mit freundlichen Grüßen Joachim Schmitz

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-30 Thread Joachim Schmitz
ist: > > > > > > > > > > > > > If this does what you expect.. then you're getting close. Now change the > ['a','b','c'] to be a call to your query: > > WITH yourQuery(... parameters for your query... )

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-30 Thread Joachim Schmitz
tting close. Now change the > ['a','b','c'] to be a call to your query: > > WITH yourQuery(... parameters for your query... ) COMPUTE movie_link, movie_title... >etc. > > If you get the same errors in the first case.. then your problem has > nothi

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-30 Thread Joachim Schmitz
> Yes that's what I found too, but it doesn't work, with SQL-database and SkinScripts, the setup is described below: > >>>>> "Joachim" == Joachim Schmitz <[EMAIL PROTECTED]> writes: > > Joachim> for debugging I inserted in Speciali

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-30 Thread Joachim Schmitz
; I tried to follow the magic how this rackList is setup, but it is to much python-Zen for me. On Sun, 29 Oct 2000, Joachim Schmitz wrote: > On Sat, 28 Oct 2000, Phillip J. Eby wrote: > > > At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: > > > > > >select e.ev

Re: [Zope-dev] ZPatterns + Skinscript

2000-10-29 Thread Joachim Schmitz
On Sat, 28 Oct 2000, Phillip J. Eby wrote: > At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote: > > > >select e.event_id as event_id > >,e.zeiten as zeiten > >,v.firma as firma > >,v.tel as tel > >,e.movie_id as movie_id > >,m.movie_title

[Zope-dev] ZPatterns + Skinscript

2000-10-27 Thread Joachim Schmitz
Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No

[Zope-dev] Chameleon

2000-09-22 Thread Joachim Schmitz
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/lis

[Zope-dev] strange ZopeTime-behavior

2000-09-01 Thread Joachim Schmitz
RH 6.2 behind Apache with PCGI. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 ___ Zope-Dev maillist - [EMAIL PROTECTED

[Zope-dev] why does an error in my externalmethod ...

2000-07-06 Thread Joachim Schmitz
n error in the external method, the calling folder was not accessible anymore. But there I also had modified self, so I had a transaction which I could "undo". Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457

Re: [Zope-dev] why does my externalmethod generate a ZODB transaction

2000-07-06 Thread Joachim Schmitz
rm=REQUEST.form<-- this does it return "this generated a transaction" So don't modify the "self" of an external method. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven T

[Zope-dev] why does my externalmethod generate a ZODB transaction

2000-07-05 Thread Joachim Schmitz
ns: ...Movies/testForm by super on Jul 4 at 21:21:31 By the way why is the day one day off the machine REDhat 6.2 Zope-2.1.4 has the correct date and shows now: Wed Jul 5 21:49:01 CEST 2000 Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen

[Zope-dev] Passing form-data to an external Method

2000-06-27 Thread Joachim Schmitz
displayed, so REQUEST is always None. If I leave off the "=None". I get: Error Type: Type Error Erro Value: not enough arguments; expected 2 got 1 What's the solution for this ? Mit freundlichen Grüßen Joachim Schmitz Email: [EMAI

[Zope-dev] Re: Zope, Apache and FastCGI

2000-06-14 Thread Joachim Schmitz
responding to my own mail: I just found out, that it does work with the TCP-port configuration. I first tried the socket configuration, and that does not work and results in the error below. I only changed it to use the TCP-port config and it worked. Mit freundlichen Grüßen Joachim Schmitz

[Zope-dev] Zope, Apache and FastCGI

2000-06-14 Thread Joachim Schmitz
server "/usr/local/apache_1.3.12/htdocs/aixzope": connect() failed I tried it with unix-domain socket and the TCP-port. Any hint is welcome. Mit freundlichen Grüßen Joachim Schmitz Email: [EMAIL PROTECTED] Telefon: +49-2464-8851 FA