[Paraview-developers] error when trying to hide a sphere in a python script....

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sun Jun 26 12:09:48 EDT 2016


Josh,

Can you narrow down the error to specific pv.Hide() call? The  error
is popping up due to something calling the Hide with arguments that
have not been setup properly. Let's isolate that and we can then trace
backwards from there. If you want to send me the reset of the code +
data, feel free to do that off line.


Utkarsh

On Fri, Jun 24, 2016 at 9:52 PM, Joshua Murphy
<Joshua.Murphy at lasp.colorado.edu> wrote:
> Hello,
>
>
> I am writing a python script to do some analysis on magnetic field lines,
> and I am trying to generate some images for a sanity check.
>
>
> The first image I have attached is the type of image I am trying to produce
> (verification_(5.25,0,0).png).
>
>
> The second image is generated in the same script.  The red and blue spheres
> that correspond to the ones in the first image should have been hidden, but
> when I try to hide them, I get the error:
>
> (verification_(-5.25,0,0).png)
>
>
> ERROR: In
> /Users/jjm390/src/Paraview/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx,
> line 409
> vtkSMParaViewPipelineControllerWithRendering (0x7fca9e4cd180): Invalid
> producer (0x7fca9e4e12f0) or outputPort (0)
>
>
> When the final render to screen is done, the spheres are all gone, but they
> do not get hidden when the image is generated.
>
> The script I wrote is attached.  Note, if you need the entire project to
> help figure out why it isn't working, I can share it individually.  This is
> the script that generates the images.
>
> I would appreciate any help people might be able to offer!  I am running
> ParaView 5.0.1 on Mac OS X 10.11.5.
>
> Thanks,
> Josh Murphy
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>


More information about the Paraview-developers mailing list