Thanks for letting us know that using a newer version of matplotlib worked. I really should add a matplotlib version check in the python view that reports the minimal supported version.
You can find the versions of the dependencies that went into the prebuilt ParaView binaries here. http://www.paraview.org/Wiki/ParaView/Binaries The most authoritative and up-to-date source, though, is probably ParaView's superbuild version configuration file that specifies which versions of the dependencies to download and build during the superbuild process. You can find that at http://www.paraview.org/gitweb?p=ParaViewSuperbuild.git;a=blob;f=versions.cmake;h=5bc9ce69f5a57db8e0f2f7847bc6ba8b44778f9c;hb=HEAD Thanks, Cory On Sun, May 18, 2014 at 9:34 AM, w.hunter <[email protected]> wrote: > Hi Cory, > > removed SL python-matplotlib 0.99.1.2, built and installed matplotlib-1.2.0, > now everything seems to work - just tried the bluntfin example. BTW, did I > miss a list of ParaView prerequisites somewhere? > > Thanks a lot! > > > On 18 May 2014 12:55, Cory Quammen <[email protected]> wrote: >> >> Hi, >> >> I'm fairly certain that a newer matplotlib version is required as the >> print_to_buffer() method is not available in >> matplotlib.backends.backend_agg in version 0.99.1.2 [1]. >> >> Matplotlib version 1.1.1 is known to work and is what comes with >> ParaView binaries provided by Kitware. Could you try installing that >> version and report back if that fixes your problem? >> >> Thanks, >> Cory >> >> [1] >> https://github.com/matplotlib/matplotlib/blob/v0.99.x/lib/matplotlib/backends/backend_agg.py >> >> On Sun, May 18, 2014 at 5:07 AM, w.hunter <[email protected]> wrote: >> > when I try to start a "Python View" Layout in Paraview 4.1.0 I get the >> > following error: >> > >> > ERROR: In >> > >> > /home/william/OpenFOAM/ThirdParty-2.3.x/ParaView-4.1.0/ParaViewCore/ClientServerCore/Rendering/vtkMatplotlibUtilities.cxx, >> > line 302 >> > vtkMatplotlibUtilities (0x3aaab10): Could not call >> > 'dpiCanvas.print_to_buffer()' >> > >> > >> > Traceback (most recent call last): >> > File "<string>", line 1, in <module> >> > NameError: name 'inf' is not defined >> > ERROR: In >> > >> > /home/william/OpenFOAM/ThirdParty-2.3.x/ParaView-4.1.0/ParaViewCore/ClientServerCore/Rendering/vtkMatplotlibUtilities.cxx, >> > line 302 >> > vtkMatplotlibUtilities (0x3aaab10): Could not call >> > 'pythonViewCanvas.print_to_buffer()' >> > >> > Using Scientific Linux 6.5 with python 2.6.6, numpy 1.4.1 and >> > python-matplotlib 0.99.1.2 installed via yum. ParaView built using >> > makeParaView4 script provided for OpenFOAM-2.3.0, Qt 4.8.5 built from >> > source, compiler: Clang 3.3. The build was error free and everything >> > else, >> > including python scripting, is working fine. >> > >> > Any help much appreciated. >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://www.paraview.org/mailman/listinfo/paraview >> > > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
