Invalid (trancated) PDFs in Web application


Jouni K. Sepp�nen writes:

Jouni K. Sepp�nen <jks@...397...> writes:

Torsten Bronger <bronger@...669...> writes:

Does anybody has an idea at which point and why Matplotlib stops

        if not self.passed_in_file_object:

I wonder if we should flush a file object that was passed in... Could
you check if the following patch (committed on the trunk) helps with
your problem?


Yes, it solves my problem.

Apparently, if you wait long enough, the rest of the file is indeed
written. However, with your patch, I see the whole file
immediately, which is much better in the multi-processes environment
of an Apache server. Thank you!



Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bronger@...2202...