Re: [Zope] Pages Half Rendering, probably fixed in 2.2?

2000-09-04 Thread Chris Withers

Dieter Maurer wrote:
 When I reported the problem, DC immediatedly answered that
 the problem was already fixed in CVS: the threads
 were now synchronized.

That sounds like it...

 Maybe, you should take a 2.2 ZServer and use it with your Zope 2.1.6.
 I do not know, however, whether this will bring up other problems.

Guess I'll just have to wait and see if 2.2 makes it go away...

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Pages Half Rendering :(

2000-08-21 Thread T.J. Mannos

Chris,

You know, I've seen that problem before on sites like Microsoft and E-Trade.
The page will be really slow to load, and I will only get part of the HTML
source.  But it affects images, too, so my guess is it's a web server
problem rather than an application server problem.  Anyone else have any
ideas?

- T.J.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Withers
Sent: Saturday, August 19, 2000 9:04 AM
To: [EMAIL PROTECTED]
Subject: [Zope] Pages Half Rendering :(


Hi,

I experienced the same weird intermittent problem yesterday that I have
had on odd ocassions over the last eight months.

Basically, Zope 2.1.6 returns only half a page. By that I mean if I view
source, the HTML just stops at some point through the page. The point
depends on the actual time, it varies... clicking reload means you get
more or less of the page than last time.

All very odd... what makes it worse is that it happens intermittently
under certain cirumstances that I can't pin down.
Yesterday was on a page that performed a ZCatalog search and returned a
table of the results. It worked fine from here at NIP, but when I tried
at home over dialup I got the problem.

That said, I've had the same thing happen a few times in the past here
at NIP, mainly where pages were raising exceptions and the error wasn't
getting displayed, just some half-rendered HTML... all very confusing :S

Also, totally bizarely, one of our clients had problems on the same
page. Searching works fine here from NIP and at home over DSL for some
NIP employees. I was trying over dialup from home but had the problem I
already metnioned. However, whatever the client searched for, he got no
results. The page rendered fine but it was the paeg saying 'no results
could be found matching youur query'.

If anyone else has experienced anything liek either of these problems,
or has any idea as to what may be going on, I'd love to hear it :S

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Chris McDonough

I've seen this in Netscape only, mostly while using the management
interface.  I haven't been able to track it down.  I wonder if it has
something to do with the bug in OFS.Image.index_html that Dieter Maurer
reported a few messages back.  I've also had a problem where mgmt
interface icons don't get loaded properly, and show up broken, but on a
page reload, they get loaded properly.

On Sat, 19 Aug 2000, Chris Withers wrote:

 Hi,
 
 I experienced the same weird intermittent problem yesterday that I have
 had on odd ocassions over the last eight months.
 
 Basically, Zope 2.1.6 returns only half a page. By that I mean if I view
 source, the HTML just stops at some point through the page. The point
 depends on the actual time, it varies... clicking reload means you get
 more or less of the page than last time.
 
 All very odd... what makes it worse is that it happens intermittently
 under certain cirumstances that I can't pin down.
 Yesterday was on a page that performed a ZCatalog search and returned a
 table of the results. It worked fine from here at NIP, but when I tried
 at home over dialup I got the problem.
 
 That said, I've had the same thing happen a few times in the past here
 at NIP, mainly where pages were raising exceptions and the error wasn't
 getting displayed, just some half-rendered HTML... all very confusing :S
 
 Also, totally bizarely, one of our clients had problems on the same
 page. Searching works fine here from NIP and at home over DSL for some
 NIP employees. I was trying over dialup from home but had the problem I
 already metnioned. However, whatever the client searched for, he got no
 results. The page rendered fine but it was the paeg saying 'no results
 could be found matching youur query'.
 
 If anyone else has experienced anything liek either of these problems,
 or has any idea as to what may be going on, I'd love to hear it :S
 
 cheers,
 
 Chris
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )
 


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Dieter Maurer

Chris McDonough writes:
  I've seen this in Netscape only, mostly while using the management
  interface.  I haven't been able to track it down.  I wonder if it has
  something to do with the bug in OFS.Image.index_html that Dieter Maurer
  reported a few messages back.  I've also had a problem where mgmt
  interface icons don't get loaded properly, and show up broken, but on a
  page reload, they get loaded properly.
I doubt that the OFS.Image.index_html bug has something to do with
that:

  Only images and files are affected.

  And ZPublisher seems to magically handle the "RESPONSE" return
  without problem.
  The problem only occured, because I used:
dtml-var "image.index_html(REQUEST,RESPONSE)"
  The dtml-var probably turned the RESPONSE object
  it got as return value into a string and this
  string seriously confused the browser (as one can
  understand).


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Pages Half Rendering :(

2000-08-19 Thread Dieter Maurer

Hi Chris,

SentChris Withers writes:
  I experienced the same weird intermittent problem yesterday that I have
  had on odd ocassions over the last eight months.
  
  Basically, Zope 2.1.6 returns only half a page. By that I mean if I view
  source, the HTML just stops at some point through the page. The point
  depends on the actual time, it varies... clicking reload means you get
  more or less of the page than last time.
  
  All very odd... what makes it worse is that it happens intermittently
  under certain cirumstances that I can't pin down.
Months ago, I met a similar problem with Zope 2.1.6:

  A non-deterministic amount of image data was returned
  rather than the complete image.

  The analysis revealed a missing thread synchronization
  between the Zope thread producing the image data
  and the ZServer thread delivering this data.

  However, I saw this problem only together with the
  HTTPResponse.write (i.e. streaming output),
  and never when a page or image was delivered traditionally.


When I reported the problem, DC immediatedly answered that
the problem was already fixed in CVS: the threads
were now synchronized.

Maybe, you should take a 2.2 ZServer and use it with your Zope 2.1.6.
I do not know, however, whether this will bring up other problems.


You may also look at my ZServer patch for the above problem.
It definitely is not optimal, because it does not synchronize
the threads but simply prevents ZServer to store large results
in a temporary file. It was this concurrent access to
the temporary file that led to the data loss.
With the patch, I never again had problems with ZServer 2.1.6.

URL:http://www.dieter.handshake.de/pyprojects/zope/ZServer.pat


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )