Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread Dieter Maurer
yacine chaouche wrote at 2007-1-24 18:23 +0100: >As Gabriel Genellina said earlier in this discussion, the probleme could >come from the dicoLignes variable that is stored in the session.I don't get >it, the exception says that the Increaser object is responsible of the >conflict error : > >ZODB.PO

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread yacine chaouche
Concerning zeo, I do not use it in the developpement plateforme, but there's one in the test and production platformes, so maybe I will face the problem during the test phase. I do not understand : session objects should be unique for each browser, so why are there conflict errors on them ?

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread yacine chaouche
Is _p_resolveConflict method of Inceraser executed at all? I wonder if traceback you see in console is from the code you added: traceback.print_exc(file=stdin) or it is always shown when there is a conflict error. def _p_resolveConflict(self, old, state1, state2): print "called the _p_re

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-25 Thread Martijn Pieters
On 1/24/07, Maciej Wisniowski <[EMAIL PROTECTED]> wrote: Another question, do you use ZEO? I know there were some issues with _p_resolveConflict and ZEO (at last in Zope 2.8.x). Result was that with ZEO setup _p_resolveConflict was not called at all. There is solution for this but I don't know if

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-24 Thread Maciej Wisniowski
> But the Increaser class has a _p_resolveConflict method : (...) > And still the same exception is raised ! Is _p_resolveConflict method of Inceraser executed at all? I wonder if traceback you see in console is from the code you added: traceback.print_exc(file=stdin) or it is always shown when th

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-24 Thread yacine chaouche
As Gabriel Genellina said earlier in this discussion, the probleme could come from the dicoLignes variable that is stored in the session.I don't get it, the exception says that the Increaser object is responsible of the conflict error : ZODB.POSException.ConflictError database conflict error (oid

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread Maciej Wisniowski
> And here is the exception that is raised: > > exception raised in the publish module, in function publish > ZODB.POSException.ConflictError database conflict error (oid 0x09, class > Products.Transience.Transience.Increaser, serial this txn started with > 0x036b192256c66688 2007-01-23 16:34:20.3

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread yacine chaouche
Got it ! I edited this file : Zope-2.9.0/lib/python/ZPublisher/Publish.py and added a print line in the publish function, at the beginning of the first except block : def publish(request, module_name, after_list, debug=0,...): ... try: request.processInputs() request_get=re

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread Maciej Wisniowski
> From times to times, apparently randomly, I have the following > uncaught exception in the console : > > 2007-01-23 10:41:07 ERROR ZServer uncaptured python exception, closing > channel at 0x44562e6c channel#: 140 requests:> > (socket.error:(104, 'Connection reset by

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-23 Thread yacine chaouche
Hello all, From times to times, apparently randomly, I have the following uncaught exception in the console : 2007-01-23 10:41:07 ERROR ZServer uncaptured python exception, closing channel (socket.error:(104, 'Connection reset by peer') [/opt/python2.4.2/lib/python2.4/asynchat.py|initiate_sen

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-19 Thread yacine chaouche
It writes and reads objects in the session, maybe the probleme comes from here ? Here's a little sinppet : def toutCompter(self): """ xmlrpc methode, called from a web borwser. """ documentXML = ComptageXML() #this reads and writes objects in the session dicoL

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-19 Thread yacine chaouche
I mean triple couples of lines of code. 2007/1/19, yacine chaouche <[EMAIL PROTECTED]>: The toutCompter methode does a lot of thing and it would take a triple couples of lines to describe what it does all. Anyway, is there a way for me to detect ConflictErrors ? they don't appear on the console

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-19 Thread yacine chaouche
The toutCompter methode does a lot of thing and it would take a triple couples of lines to describe what it does all. Anyway, is there a way for me to detect ConflictErrors ? they don't appear on the console so i guess they are catched. Y.Chaouche 2007/1/19, Gabriel Genellina <[EMAIL PROTECTED]>

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-18 Thread Gabriel Genellina
At Thursday 18/1/2007 16:30, Andreas Jung wrote: ip: 10.75.49.155 requests counting of lines 1 to 11 ip: 10.75.49.51 requests counting of lines 1 to 11 sending results to 10.75.49.155 sending results to 10.75.49.51 ip: 10.75.49.51 requests counting of lines 1 to 11 sending results to 10.75.49.

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-18 Thread Andreas Jung
Please keep the discussion on the list and don't try to address helpdesk requests to individuals. -aj Forwarded Message Date: 18. Januar 2007 19:05:28 +0100 From: yacine chaouche <[EMAIL PROTECTED]> To: Andreas Jung <[EMAIL PROTECTED]> Subject: Re: [Zope] Zope pretends