wxmpl: Can't create printer "PDF" because the id "PDF" is already used

I just created a small wxmpl example that I really like (attached),
but when I run it, I get these error messages:

** (python:18091): WARNING **: Can't create printer "PDF" because the
id "PDF" is already used

(python:18091): GnomePrintCupsPlugin-WARNING **: The CUPS printer PDF
could not be created

(python:18091): GnomePrintCupsPlugin-WARNING **: The data for the CUPS
printer PDF could not be loaded.

I don't know if this is wxmpl specific, caused by wxPython, or caused
by matplotlib, but I would like to make it go away. Any thoughts?

Thanks,

Ryan

simple_wxmpl_embedded.py (2.71 KB)

FYI, I see this same warning in another wxPython program of mine that
doesn't use mpl or wxmpl, so it seems like it is a wxPython issue.

Solutions are still welcome.

Ryan

···

On Nov 28, 2007 8:46 AM, Ryan Krauss <ryanlists@...287...> wrote:

I just created a small wxmpl example that I really like (attached),
but when I run it, I get these error messages:

** (python:18091): WARNING **: Can't create printer "PDF" because the
id "PDF" is already used

(python:18091): GnomePrintCupsPlugin-WARNING **: The CUPS printer PDF
could not be created

(python:18091): GnomePrintCupsPlugin-WARNING **: The data for the CUPS
printer PDF could not be loaded.

I don't know if this is wxmpl specific, caused by wxPython, or caused
by matplotlib, but I would like to make it go away. Any thoughts?

Thanks,

Ryan

I have the same problem with ubuntu gutsy. I believe it is a bug in libgnomeprint, not in wx.

Ryan Krauss wrote:

···

FYI, I see this same warning in another wxPython program of mine that
doesn't use mpl or wxmpl, so it seems like it is a wxPython issue.

Solutions are still welcome.

Ryan

On Nov 28, 2007 8:46 AM, Ryan Krauss <ryanlists@...287...> wrote:
  

I just created a small wxmpl example that I really like (attached),
but when I run it, I get these error messages:

** (python:18091): WARNING **: Can't create printer "PDF" because the
id "PDF" is already used

(python:18091): GnomePrintCupsPlugin-WARNING **: The CUPS printer PDF
could not be created

(python:18091): GnomePrintCupsPlugin-WARNING **: The data for the CUPS
printer PDF could not be loaded.

I don't know if this is wxmpl specific, caused by wxPython, or caused
by matplotlib, but I would like to make it go away. Any thoughts?

Thanks,

Ryan

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options