Hello,
I have problem with generate charts with matplotlib under zope. I use 
the code based on 
http://www.scipy.org/Cookbook/Matplotlib/Matplotlib_and_Zope
Problem appears when the server is overloaded (even a little oveloaded) 
and generally after starting zope. The image charts sometimes don't draw 
completely, sometimes part of first chart draw on the second image.
Description:
Web client generates two http requests. The requests are served by 
external functions, functions use matplotlib. Results of functions are 
returning two image in png format. Images are sending to client who 
shows it in a web browser.
First case:
Return image sometimes isn't completely. Image have labels,  axises but  
havent't  chart.
Second case:
First return image isn't completely. The part which hasn't draw on the 
fisrt image is drawing on the second image.

This looks like something is not synchronized or doesn't correctly use 
resources. Why return external function image when the process isn't 
completely. Why can function draw on locally buffer allocated in another 
function?
How resolve the problem?

I searched event.log in zope and nothing had been saved.

Use:
Zope 2.9.5, python 2.4.3, matplotlib 0.87.7, numpy-1.0.1, Plone 2.5, 
Debian (i686, 2 processors).

Thanks,
Chris.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to