[Paraview] PV 3.12.0 unable to save screenshot as a PNG file

Richard GRENON richard.grenon at onera.fr
Thu Nov 10 04:14:58 EST 2011


Hi again.

I confirm the bad news of Gena Bug: I get an error when opening the 
Python shell with the new Linux 64 bits binaries. Following is the error 
message:

> Python 2.7.2 (default, Nov 9 2011, 15:37:53)
>
> [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
>
> >>> from paraview.simple import *
>
> Traceback (most recent call last):
>
> File "<string>", line 4, in <module>
>
> File 
> "/tmp_user/eos022z/grenon/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/site-packages/paraview/servermanager.py", 
> line 43, in <module>
>
> import paraview, re, os, os.path, new, sys, vtk
>
> File 
> "/tmp_user/eos022z/grenon/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/site-packages/paraview/vtk/__init__.py", 
> line 1, in <module>
>
> from vtkCommonPython import *
>
> ImportError: No module named vtkCommonPython
>
Richard


Gena Bug a écrit :
> Hi everybody!
>
> I've just redownloaded Linux x86_68 binaries and tested it.
> Good news: now I'm able to save PNG screenshots.
> Bad news: now I can't use python shell and scripts: it fails when import from 
> paraview.simple. Here is a message that occurs just after opening Python Shell:
>   Python 2.7.2 (default, Nov  9 2011, 15:37:53) 
>   [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
>   >>> from paraview.simple import *
>   Traceback (most recent call last):
>     File "<string>", line 4, in <module>
>     File "/home/gennadiy/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/site-
> packages/paraview/servermanager.py", line 43, in <module>
>     import paraview, re, os, os.path, new, sys, vtk
>     File "/home/gennadiy/ParaView-3.12.0-Linux-x86_64/lib/paraview-3.12/site-
> packages/paraview/vtk/__init__.py", line 1, in <module>
>     from vtkCommonPython import *
>   ImportError: No module named vtkCommonPython
>
> -----|-
> Gena.
>
> On Thu November 10 2011 04:11:22 David Partyka wrote:
>   
>> Hi All, we detected and corrected an issue in the binary build process and
>> regenerated and tested the Linux 32bit/64bit binaries for this issue.
>> Please redownload them and try again. Thank you for your patience.
>>
>> On Wed, Nov 9, 2011 at 8:29 AM, mirko heuegger <mheuegger at gmail.com> wrote:
>>     
>>> Hello!
>>>
>>> On Wed, Nov 9, 2011 at 2:15 PM, Richard GRENON <richard.grenon at onera.fr>
>>>
>>> wrote:
>>>       
>>>> Thank you, Dave.
>>>> I will check the Windows version this evening.
>>>>         
>>> Under Windows XP (64bit and normal version), it works.
>>>
>>> Sincerely
>>>
>>> mirko
>>>
>>> --
>>> Real programmers don't document; if it was
>>> hard to write, it should be hard to understand.
>>>       
>
>   


-- 
 Richard GRENON
 ONERA
 Departement d'Aerodynamique Appliquee - DAAP/ACI
 8 rue des Vertugadins
 92190 MEUDON - FRANCE
 phone : +33 1 46 73 42 17
 fax   : +33 1 46 73 41 46
 mailto:Richard.Grenon at onera.fr
 http://www.onera.fr



More information about the ParaView mailing list