[Zope] CoreSession Urgent !!!
Andreas Jung
Andreas Jung" <andreas@zope.com
Thu, 1 Nov 2001 12:33:30 -0500
Michel,
I tried to reproduce the problem without success. I installed
CST 0.9 under Linux and XP and hammered it with ab. I did not get
any errors, sorry :-(
Andreas
----- Original Message -----
From: "michael kobald" <michael@beehive.de>
To: <chrism@digicool.com>
Cc: <zope@zope.org>; <zope-dev@zope.org>
Sent: Thursday, October 25, 2001 09:26
Subject: [Zope] CoreSession Urgent !!!
> Hi,
> i am have a big Problem with CoreSession 0.9 (Zope 2.3.3 Win2000 Server).
> I have 2 Session Data Mangers (dieter and session_mgr).
> I i want call the getSessionData() of them both method in 1 Transaction.
Via
> calling foo3
> I get the error msgs below.
> I need to call both Data Mangers in 1 Transaction !
>
> By the way: Zope 2.4.2 hangs for the rest of his live after the 2. calling
> of foo3
>
> Please Help
>
> michael
>
>
> Code:
> def a(self):
> """khjkjh"""
> data = self.dieter.getSessionData()
> data.set('dfd', 'dsd')
> return None
> def b(self):
> """hjhjh"""
> data2 = self.session_mgr.getSessionData()
> return None
>
> def foo3(self, REQUEST):
> """hhjh"""
> #return "dgffdg"
> c = self.a()
> #get_transaction().commit(1)
> d= self.b()
> #data = self.session_mgr.getSessionData()
> return "huhuh"
>
> First Call
>
>
>
>
>
>
>
> Error Type: error
> Error Value: release unlocked lock
>
>
>
>
>
> Traceback (innermost last):
> File E:\Beehive\TeDeLine\lib\python\ZPublisher\Publish.py, line 223, in
> publish_module
> File E:\Beehive\TeDeLine\lib\python\ZPublisher\Publish.py, line 187, in
> publish
> File E:\Beehive\TeDeLine\lib\python\Zope\__init__.py, line 221, in
> zpublisher_exception_hook
> (Object: Traversable)
> File E:\Beehive\TeDeLine\lib\python\ZPublisher\Publish.py, line 175, in
> publish
> File E:\Beehive\TeDeLine\lib\python\Zope\__init__.py, line 235, in
commit
> File E:\Beehive\TeDeLine\lib\python\ZODB\Transaction.py, line 335, in
> commit
> File E:\Beehive\TeDeLine\lib\python\ZODB\Connection.py, line 657, in
> tpc_finish
> File E:\Beehive\TeDeLine\lib\python\ZODB\BaseStorage.py, line 219, in
> tpc_finish
> (Object: SessionStorage)
> error: (see above)
> Second Call:
> Error Type: TransactionErrorError Value: A serious error, which was
probably
> a system error, occurred in a previous database transaction. This
> application may be in an invalid state and must be restarted before
database
> updates can be allowed. Beware though that if the error was due to a
serious
> system problem, such as a disk full condition, then the application may
not
> come up until you deal with the system problem. See your application log
for
> information on the error that lead to this problem.
>
>
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>