Sorry, had not yet noticed the option for more verbosity in matplotlibrc. The
problem seems to be that some component related to wxagg wants to create the
symbol "printer" which, because my printer was called "printer", apparently
already existed. Renaming the printer on my system solved the problem. The
same applies to PDF. If you install cupspdf the problem also appears and
after renaming it to e.g. CUPS_PDF disappears.
Cheers, Janwillem



Janwillem wrote:
> 
> Inspired by examples like
> http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx2.html
> I added matplotlib.use('WXAgg') to my (wxPython) script in order to
> directly copy the matplotlib.backends.backend_wxagg.FigureCanvasWxAgg to a
> wx canvas.
> On my ubuntu 9.04 AMD64 PC it works fine, on my WindowsXP laptop it works
> as expected but on my Asus EEE 901 ubuntu 9.04 I get:
> GnomePrintCupsPlugin-Message: The ppd file for the CUPS printer printer
> could not be loaded.
> (the name of my network attached printer is "printer") The plot is shown
> correctly and the script does not seem to be affected. The message only
> appears once after the first plot (see my post aug 2nd).
> Versions of python (2.6.2), wx (2.8.9.1) and matplotlib (0.98.5.2) are the
> same on both ubuntu systems and I can't find a difference in cups
> installation. There are no errors reported in cups logs. The script does
> not need a printer. 
> 
> Any idea where I can look for a solution?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wxagg-and-cups-printeer-tp24797768p24803702.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to