Can you do the following?
Turn on Zope event logging by using the STUPID_LOG_FILE environment
variable (this is documented in LOGGING.txt inside the doc directory, I
believe). Log the events to a file named "debug.log".
Set another environment variable:
Then restart Zope.
One way to do this in one fell swoop is to do:
./start STUPID_LOG_FILE=debug.log CST_DEBUG=1
Check the debug.log file to make sure things are getting in to it.
You'll see Zope startup messages, likely. Then cause the error to occur
by calling your external method and send me the log file in email
along with any other details you might be able to provide.
michael kobald wrote:
> 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
> def a(self):
> data = self.dieter.getSessionData()
> data.set('dfd', 'dsd')
> return None
> def b(self):
> data2 = self.session_mgr.getSessionData()
> return None
> def foo3(self, REQUEST):
> #return "dgffdg"
> c = self.a()
> 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
> File E:\Beehive\TeDeLine\lib\python\ZPublisher\Publish.py, line 187, in
> File E:\Beehive\TeDeLine\lib\python\Zope\__init__.py, line 221, in
> (Object: Traversable)
> File E:\Beehive\TeDeLine\lib\python\ZPublisher\Publish.py, line 175, in
> 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
> File E:\Beehive\TeDeLine\lib\python\ZODB\Connection.py, line 657, in
> File E:\Beehive\TeDeLine\lib\python\ZODB\BaseStorage.py, line 219, in
> (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-Dev maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope )
Chris McDonough Zope Corporation
"Killing hundreds of birds with thousands of stones"
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -