Re: [Zope-dev] Cause for Zope 2.3.1 hang-ups found

2001-04-08 Thread Stephan Richter


>What leads you to believe that cst 0.7 causes a hangup?

because I noticed that all instances of 2.3.1 work just fine. Then I ran 
wget with 100 threads on our products site and nothing happened, except I 
did not test the Proiektor demo, which uses the session management. 
Furthermore, I knew it could not be DBObjects or some other products, since 
the same happened to Joachim, and he used only the CoreSessionTracker and 
TransparentFolder (which we use everywhere --> BTW, Transparent Folders 
works well and should go into 1.0.0).

>Relatedly, how did 0.8 not work out of the box, and what
>changes did you make that allowed it to work for you?
Okay, I am testing right now, but I think the CoreSessionTracker (CST) 0.8 
has many problems.
I made the following changes:
SessionDataManager.py line 404:
1. getattr was called without checking whether the attribute really exists, 
so I put the following:
 if hasattr(self, name):
 f = getattr(self, name)

SessionIdManager.py line 242:
2. this line returns sometimes a dictionary and sometimes a list, so I 
added the following to take care of the problem for now:
 if type(ns).__name__ == 'dictionary':
 ns = ns.values()


Now, I wrote the following script:

   Hello
   
 
   
 
 
 
   


THIS RESTARTS ZOPE!!!

I am trying to find the code piece which does that now I will write 
another mail later...

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Cause for Zope 2.3.1 hang-ups found

2001-04-08 Thread Chris McDonough

Stephan,

Thanks for the report.

What leads you to believe that cst 0.7 causes a hangup?

Relatedly, how did 0.8 not work out of the box, and what
changes did you make that allowed it to work for you?

- C




On Sun, 08 Apr 2001 22:58:26 -0500
 Stephan Richter <[EMAIL PROTECTED]> wrote:
> Hello everyone,
> 
> I think I found the reason for Zope 2.3.1 hangung up from
> time to time: It 
> is Zope 2.3.1 and the CoreSessionTracking Product 0.7.0
> together. I 
> installed now the latest version 0.8. It did not work out
> of the box for 
> me, but after correcting the code at two locations, it
> worked. I am not 
> sure wether it will stop the hang-ups, but I try to do
> some testing later 
> on using wget again.
> 
> Regards,
> Stephan
> 
> --
> Stephan Richter
> CBU - Physics and Chemistry Student
> Web2k - Web Design/Development & Technical Project
> Management
> 
> 
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Cause for Zope 2.3.1 hang-ups found

2001-04-08 Thread Stephan Richter

Hello everyone,

I think I found the reason for Zope 2.3.1 hangung up from time to time: It 
is Zope 2.3.1 and the CoreSessionTracking Product 0.7.0 together. I 
installed now the latest version 0.8. It did not work out of the box for 
me, but after correcting the code at two locations, it worked. I am not 
sure wether it will stop the hang-ups, but I try to do some testing later 
on using wget again.

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )