I am developing an application that does a lot of image manipulation. Many
of my web pages may have 10 to 75 entries similar to:
<img src="ShowPix.py?pid=23&tn=256">
The ShowPix.py program does 4 calls to MySQL (thru MiddleKit), reads the
image from the filesystem, manipulates the image (reduces it in size, draws
on it) and outputs the image.
I was rarely getting an error "TypeError: unbound methox processFields() must
be called with ShowPix instance as first argument (got ShowPix instance
instead)". This would happen on my first function call within ShowPix on the
line:
processFields(self,req)
I was having this problem once a week or month, almost always on my first
image display on a freshly started AppServer. I recently swapped some PC
hardware and and am now developing on a PC with a faster CPU and a slower
hard drive. I now get these errors frequently, sometimes 30 of 75 image
displays on a single page will fail (worst case). Sometimes the point of
failure will change as well, and the failure comes on a function call deep
within ShowPix.
This problem occurs on both Mandrake Linux 8.2 and Windows/ME. On my new
development PC I have downloaded the current version of everything within the
past 2 weeks (Apache is version 1.3.26 as the 2.x version doesn't work on
W/ME yet).
I have rewritten the ShowPix module to eliminate the MySQL access and am
slowly migrating to the new module. I am not sure this fixes the problem, as
I don't fully understand the problem. Any advice will be appreciated.
Roger Haase
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss