Well, "a few days" turned into a month. Unfortunately, upgrading to Python
2.2.1 didn't clear the traceback-page-hanging problem for me. (Different
thread, I know.)
Cheers!
--
David Hancock | [EMAIL PROTECTED] | 410-266-4384
-Original Message-
From: Hancock, David (DHANCOCK)
Sent: Mo
Just wondering if anyone knows of any adapter out there to get psp pages
working under aol server?
Ian
---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
Webware-discuss mailing list
[EMAI
We are also experiencing (perhaps) similar PSP problems. Sample error:
Traceback (most recent call last):
File ".\WebKit\Application.py", line 388, in dispatchRequest
self.handleGoodURL(transaction)
File ".\WebKit\Application.py", line 534, in handleGoodURL
self.createServletInTransac
I can't reproduce the problem here. And I still can't figure out why it
would need to recompile the PSP file unless the PSP file changed on disk.
The key chunk of code in PSPServletFactory.py is lines 162-165:
if self._cacheClassFiles and os.path.exists(cachedfilename)
and os.st
On Mon, Jun 24, 2002 at 01:20:46PM -0400, Geoffrey Talvola wrote:
> No, what I did was add a flag ClearPSPCacheOnStart which defaults to 1,
but
> if you set it to 0, then it doesn't clear out the PSP cache when you
start
> the app server.
>
in our config the ClearPSPCacheOnStart is set to the de
thanks for the quick reply,
On Mon, Jun 24, 2002 at 12:49:30PM -0400, Geoffrey Talvola wrote:
> I just glanced at the PSP code (from CVS) and it looks like it should
> _never_ have to recompile the PSP page once it has been
compiled, unless you
> restart the appserver or the modification time of
Geoff wrote:
>>The biggest bottleneck for me has always been SQL (queries on large
tables
without adequate indexes, or unnecessary repetition of queries when a
single
query would suffice, etc).<<
I did some basic timing over the weekend to see why things were running
more slowly than I expected
No, what I did was add a flag ClearPSPCacheOnStart which defaults to 1, but
if you set it to 0, then it doesn't clear out the PSP cache when you start
the app server.
- Geoff
> -Original Message-
> From: Love, Jay [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 1:15 PM
> To: Geo
Geoff, didn't you add a debugging mode that always recompiles the PSP?
Could that be on?
Jay
> -Original Message-
> From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 12:50 PM
> To: 'Lars Rustemeier'; [EMAIL PROTECTED]
> Subject: RE: [Webware-discuss] perform
Lars Rustemeier wrote:
>
> hi guys,
>
> this afternoon we've been stress testing our webkit-powered servers by
> making lots of requests for a single .psp-page, containing a
> simple threadsafe singleton counter counting up the number of
> times the
> page been rendered. some of the times the s
hi guys,
this afternoon we've been stress testing our webkit-powered servers by
making lots of requests for a single .psp-page, containing a
simple threadsafe singleton counter counting up the number of times the
page been rendered. some of the times the server registred an error
giving the follo
Edmund Lian wrote:
> Geoff wrote:
>
> >I'll bet it's an unfortunate timing issue caused by your use
> of OneShot,
> >which has to load and save the session on each request. The redirect
> >results in an immediate new copy of OneShot being fired up,
> which probably
> >reads in the old values f
WebKit handles this the same way as Python's cgi module. You get a string
if one checkbox is selected, or a list of strings if two or more checkboxes
are selected.
I have a method like this in my SitePage (base class for all of my servlets)
that I use to get list fields:
def listField(s
Hey I'm quite satisfied with BB, you just have to tell it when to use
auto-indent.
Also, bbedit does the work with the triple ''' or """.
>BBEdit (Mac): Auto-indent? What auto-indent? Besides, using the Mac
>invalidates my server dogfood rule.
-
The biggest bottleneck for me has always been SQL (queries on large tables
without adequate indexes, or unnecessary repetition of queries when a single
query would suffice, etc).
All of my SQL goes through a few wrapper methods, so in the past I've done
some simple profiling by adding timing code
15 matches
Mail list logo