On Dec 24, 11:36 am, Chris McDonough <[email protected]> wrote: > This has almost nothing to do with mod_wsgi at all, I fear. The warning > message you're receiving come as a result of using an ".so" file generated via > compilation using one version of Python but used under another version of > Python. In the interest of protecting Graham, I'd suggest that you compile > gdchart using the version of Python used by mod_wsgi itself.
Thanks for your reply. Please note that this question is not about gdchart per se. The question is why can't I suppress a warning message by calling warnings.filterwarnings() Since posting this question I have stumbled across the new in wsgi 3.0 WSGIPythonWarnings directive, and I understand that that would probably be effective in suppressing this warning, although I haven't tried it. But the question still remains - why is a call to warnings.filterwarnings() from the wsgi script not effective? Also, I would dearly love to compile gdchart in my current Python environment. Do you know where I can find the source? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
