WXAgg's accelerator requires `wx-config'.

I am trying to build mpl on a ubuntu Breezy box and I am getting the message:
WXAgg's accelerator requires `wx-config'.
What is wx-config and where do I get it? I am trying to build from
the 0.84 tarball.

Thanks,

Ryan

Install libwxgtk2.6-dev

···

On 10/18/05, Ryan Krauss <ryanlists@...287...> wrote:

I am trying to build mpl on a ubuntu Breezy box and I am getting the message:
WXAgg's accelerator requires `wx-config'.
What is wx-config and where do I get it? I am trying to build from
the 0.84 tarball.

Thanks,

Ryan

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Still bad news though I think. There is no package containing the
wxPython headers, so even with wx-config you can't compile on ubuntu.
There was a bug posted a while ago, but it doesn't look like it made
the release.

If anybody knows differently, please share.

- Charlie

···

On 10/18/05, Charlie Moad <cwmoad@...287...> wrote:

Install libwxgtk2.6-dev

On 10/18/05, Ryan Krauss <ryanlists@...287...> wrote:
> I am trying to build mpl on a ubuntu Breezy box and I am getting the message:
> WXAgg's accelerator requires `wx-config'.
> What is wx-config and where do I get it? I am trying to build from
> the 0.84 tarball.
>
> Thanks,
>
> Ryan
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> matplotlib-users List Signup and Options
>

Ryan Krauss wrote:

I am trying to build mpl on a ubuntu Breezy box and I am getting the message:
WXAgg's accelerator requires `wx-config'.

There has been some discussion of this in this group recently, try searching the archives.

What is wx-config and where do I get it?

wx-config is a little program that returns the various include and linking directories needed to build something against the wxWidgets library, It should be distributed with the wxPython "devel" package. I don't know if there is an ubuntu package for that, but I'd look for it.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

Charlie Moad wrote:

There was a bug posted a while ago, but it doesn't look like it made
the release.

http://ubuntuforums.org/showthread.php?t=71395&highlight=wxPython.h

I don't know differently, but there is a set of rpms for wxPython-devel on the wxpython web site. maybe you could use that. It's also in the source tarball, of course.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

The work-around (for debian sarge) is
  wget
http://ftp.debian.org/debian/pool/main/w/wxwindows2.4/wxwindows2.4_2.4.3.1.tar.gz
  tar xzf wxwindows2.4_2.4.3.1.tar.gz
  su
  mkdir /usr/include/wx/wxPython/
  cp wxwindows2.4-2.4.3.1/wxPython/src/*.h /usr/include/wx/wxPython/

For ubuntu it should work similarly
(you can also replace the wget by a corresponding apt-get command
fetching the source).

HTH, Arnd

···

On Tue, 18 Oct 2005, Charlie Moad wrote:

Still bad news though I think. There is no package containing the
wxPython headers, so even with wx-config you can't compile on ubuntu.
There was a bug posted a while ago, but it doesn't look like it made
the release.

http://ubuntuforums.org/showthread.php?t=71395&highlight=wxPython.h

If anybody knows differently, please share.

Charlies, Chris, and Arnd: thanks for your prompt responses to Ryan's question! I'll write up a cookbook entry on the topic tomorrow.

I've known about the missing wxPython headers for some time and have been corresponding with the Debian package maintainer about it. Apparently the headers weren't getting installed in 2.6 due to some Extreme Cleverness on the part of wxPython's "setup.py" and in 2.4 there wasn't even an attempt to install them. Last Thursday I filed patches on sourceforge, so hopefully this'll get fixed sometime soon.

Ken

I still haven't gotten any input on the ** (python:8999): WARNING **:
IPP request failed with status 1030 message. Anyone know why the
WXAgg backend is causing this and how to get rid of it.

···

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

Charlies, Chris, and Arnd: thanks for your prompt responses to Ryan's
question! I'll write up a cookbook entry on the topic tomorrow.

I've known about the missing wxPython headers for some time and have
been corresponding with the Debian package maintainer about it.
Apparently the headers weren't getting installed in 2.6 due to some
Extreme Cleverness on the part of wxPython's "setup.py" and in 2.4
there wasn't even an attempt to install them. Last Thursday I filed
patches on sourceforge, so hopefully this'll get fixed sometime soon.

Ken

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Apparently, whatever this problem is, it is caused by calling pylab.figure(#)

In [1]: pylab.figure(1)

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

I can recreate this without any script with just that one command. I
am running matplotlib 0.84, IPython 0.6.16_cvs, and scipy
0.3.3_309.4626 on ubunut Breezy 5.10.

Any thoughts?

Ryan

I still haven't gotten any input on the ** (python:8999): WARNING **:
IPP request failed with status 1030 message. Anyone know why the
WXAgg backend is causing this and how to get rid of it.
In [1]: pylab.figure(1)

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

···

On 10/19/05, Ryan Krauss <ryanlists@...287...> wrote:

On 10/19/05, Ken McIvor <mcivor@...612...> wrote:
> Charlies, Chris, and Arnd: thanks for your prompt responses to Ryan's
> question! I'll write up a cookbook entry on the topic tomorrow.
>
> I've known about the missing wxPython headers for some time and have
> been corresponding with the Debian package maintainer about it.
> Apparently the headers weren't getting installed in 2.6 due to some
> Extreme Cleverness on the part of wxPython's "setup.py" and in 2.4
> there wasn't even an attempt to install them. Last Thursday I filed
> patches on sourceforge, so hopefully this'll get fixed sometime soon.
>
> Ken
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> matplotlib-users List Signup and Options
>

Sorry, I guess I missed your last email. I'll look into it. If the script is more complicated than "plot_something(); show()", could you please send a copy of it? Thanks.

Ken

···

On Oct 19, 2005, at 8:55 PM, Ryan Krauss wrote:

I still haven't gotten any input on the ** (python:8999): WARNING **:
IPP request failed with status 1030 message. Anyone know why the
WXAgg backend is causing this and how to get rid of it.

Charlie,

IIRC, you were working on a Cocoa back-end for MPL a while back. How's that coming?

If it was someone else, please speak up!

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

Well, it is there and it works. There is no toolbar, and the
save image button is not implemented. I really haven't had access to
a mac in a while, so there hasn't been much development. I basically
figured out the hard part of how to do the agg buffer to NSImage
bridge. The rest of the perks should be pretty simple. The code is
in backend_cocoaagg.py and the nib files are in the backends folder.

- Charlie

···

On 12/27/05, Christopher Barker <Chris.Barker@...259...> wrote:

Charlie,

IIRC, you were working on a Cocoa back-end for MPL a while back. How's
that coming?

If it was someone else, please speak up!

-Chris

--
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...