ve that the conflict error comes from 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 discus
emp_folder/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
e-2.9.0//lib/python/Products/PageTemplates/Expressions.py",
line 85, in render
ob = ob()
File "/opt/aef/Zope-2.9.0/lib/python/Products/faster/sessiondata.py",
line 255, in addItemsToSession
before = len(session)
AttributeError: __len__
Do you use a bug reporting system or something for
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 code
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. Permi
ch 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(
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
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
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
sts counting of lines 11 to 21
sending results to 10.75.49.155
sending results to 10.75.49.51
retry called in HTTPRequest for the 0 time
ip: 10.75.49.51 requests counting of lines 11 to 21
Thanks.
Y.Chaouche
2007/1/19, yacine chaouche <[EMAIL PROTECTED]>:
It writes and reads objects in t
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,
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 r
echerche.copy())
When toutCompter is called by browser 1, then he will write and read, say,
the dicoLignes object in the session.
When toutCompter is called by browser 2 parallely, is it the same dicoLignes
object that it tries to access or another one is created ? can there be
conflicts some
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 ap
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]>
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 PROTECTED]:~/HTTPC
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 us
17 matches
Mail list logo