the use of the
session object in my code. This is not supposed to prove that another
plugin is using it anyway...
Thanks,
Y.Chaouche
2007/2/2, Dieter Maurer [EMAIL PROTECTED]:
yacine chaouche wrote at 2007-2-2 14:39 +0100:
...
As discussed here :
http://mail.zope.org/pipermail/zope/2007
I don't know if this is what you want. If you want to have access, in
your code, to the session-timeout-minutes variable, you can try this
methode on your session_data_manager object :
getTimeoutMinutes(self):
Return the number of minutes allowed for subobject inactivity before
expiration.
Hi all,
As discussed here :
http://mail.zope.org/pipermail/zope/2007-January/170151.html
and continued here :
http://mail.zope.org/pipermail/zope/2007-January/170156.html
I am experiencing issues regarding a database ConflictError on session objects.
I use zope 2.9.0 python 2.4.2, and the
)
AttributeError: __len__
Do you use a bug reporting system or something for your product ?
Thank you,
Y.Chaouche
2007/2/2, Tres Seaver [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
yacine chaouche wrote:
Hi all,
As discussed here :
http://mail.zope.org/pipermail/zope/2007
/session_data_container) or
does it address your new session data objects ? for the latter case,
maybe i should rename the classic (zope's) SESSION object to SESSION2
or something...
Y.Chaouche
2007/2/2, Tres Seaver [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
yacine chaouche wrote:
I
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.
code
def _p_resolveConflict(self, old, state1, state2):
print called the
is Zope2.9.0/lib/python/Products/Transcience.
I think that zeo should see it.
2007/1/25, yacine chaouche [EMAIL PROTECTED]:
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
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
.
Y.Chaouche
2007/1/19, yacine chaouche [EMAIL PROTECTED]:
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
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 :
code
def publish(request, module_name, after_list, debug=0,...):
...
try:
request.processInputs()
Sorry, it seems I didn't click on the right button :), here is the message
sent to the list this time :
Thank you Andreas for showing me this nice tool which is tcpflow.
Thanks to it, I am now sure that the probleme is coming from zope.
Would you take a look at this :
[EMAIL
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]:
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
I think that when you restart zope, it compiles everything that is in the
products directory. So what happens when you compile it for yourself while
zope is running ?
If you have only one machine, you can setup multiple zope instances to
develop and debug on them so that you are not obliged to
You are right Jens, but I thought that Gaute wanted to apply some
modifications to a module and see the results live, without restarting
zope.
Y.Chaouche
2007/1/19, Jens Vagelpohl [EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 19 Jan 2007, at 14:09, yacine chaouche
Hi,
I have an ajax application that is composed by :
1) An ajax client which is a web page with a button that calls a zope
object's method, say toutCompter.
2) An ajax server (zope), with a zope object that has the method
toutCompter (all zope object methods are XMLRPC callable right ?).
I use
16 matches
Mail list logo