WXAgg's accelerator requires `wx-config'.

So, turning off the accelerator with wxPygtk2.6 did not solve this problem:

In [2]: wx.VERSION
Out[2]: (2, 6, 1, 1, 'pre')

In [3]: import matplotlib.backends.backend_wxagg

In [4]: matplotlib.backends.backend_wxagg._use_accelerator(False)

In [5]: pylab.figure(1)

** (python:11782): WARNING **: IPP request failed with status 1030
Out[5]: <matplotlib.figure.Figure instance at 0xb52048ec>

Ryan

···

On 10/20/05, Ken McIvor <mcivor@...612...> wrote:

On Oct 20, 2005, at 11:48 AM, Ryan Krauss wrote:
> But when I try and turn off the accelerator I get:
> In [4]: import matplotlib.backends.backend_wxagg
>
> In [5]: matplotlib.backends.backend_wxagg._use_accelertor(False)

I misspelled "accelerator" in my earlier email. This should work:

        import matplotlib.backends.backend_wxagg
        matplotlib.backends.backend_wxagg._use_accelerator(False)

> Let me know if I can try anything else to trouble shoot this. I know
> it is really hard for you if you can't recreate the problem.

I'll try to get a Ubuntu machine up and running today. I've been
meaning to check it out, so this gives me a good excuse.

Ken

Hmmm... googling around suggests that this error has something to do with talking to CUPS. If I had to guess, I'd say that wxWidgets is trying to talk to CUPS at startup to initialize the printing subsystem. Could you please email me the output from the following command? It's probably going to be too big and verbose to be worth posting to the list, so send it to me directly.

$ strace python -c 'import pylab; pylab.figure(1)' > strace.txt 2>&1

Ken

···

On Oct 20, 2005, at 11:57 AM, Ryan Krauss wrote:

So, turning off the accelerator with wxPygtk2.6 did not solve this problem