<div dir="ltr"><a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/377">https://gitlab.kitware.com/paraview/paraview/merge_requests/377</a><br><div><br></div><div>should fix the backwards compatibility part</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Thu, Sep 10, 2015 at 4:00 PM, Dorier, Matthieu <span dir="ltr"><<a href="mailto:mdorier@anl.gov" target="_blank">mdorier@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#333399;font-size:10pt">I'll try and keep you posted.<br>
<br>
(in the mean time I noticed a problem in the code I sent, I was using vtkDoubleArray instead of vtkIntArray. But after correction the same error is still present).<br>
<br>
Matthieu<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Utkarsh Ayachit [<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>]<br>
<b>Sent:</b> Thursday, September 10, 2015 2:40 PM<br>
<b>To:</b> Dorier, Matthieu<br>
<b>Cc:</b> David E DeMarle; <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><div><div class="h5"><br>
<b>Subject:</b> Re: [Paraview] Problem with number of arguments in a Python Catalyst script<br>
</div></div></font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">Looks like edition is not sufficient for the visualization you're putting together. Is it possible to use a full ParaView build?
<div><br>
</div>
<div>Utkarsh</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Sep 10, 2015 at 2:24 PM, Dorier, Matthieu <span dir="ltr">
<<a href="mailto:mdorier@anl.gov" target="_blank">mdorier@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#333399;font-size:10pt">Hi,<br>
<br>
I'm attaching my code. <br>
<br>
This is a simple code that computes a "mandelbulb" fractal, and passes it to Catalyst for rendering. There is an example of data produced by this "simulation" in binary .raw format that can be read in ParaView (it contains a 60x60x61 array of int in BigEndian).
I generated the script by opening this file, rendering a contour, and setting a few parameters such as background color, axis opacity, etc.<br>
The code can be run by calling ./Madelbulb renderbulb.py<br>
<br>
Thanks for your help,<br>
<br>
Matthieu<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Dorier, Matthieu<br>
<b>Sent:</b> Thursday, September 10, 2015 11:18 AM<br>
<b>To:</b> Utkarsh Ayachit; David E DeMarle<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> RE: [Paraview] Problem with number of arguments in a Python Catalyst script<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div style="direction:ltr;font-family:Tahoma;color:#333399;font-size:10pt">Thanks, adding the argument removed the error, but now I have another one:<br>
<br>
ERROR: In /home/mdorier/Catalyst-src/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, line 310<br>
vtkSISourceProxy (0x34ad8a0): Failed to create vtkImageSliceRepresentation. Aborting for debugging purposes.<br>
Aborted (core dumped)<br>
<br>
Any idea how to solve this?<br>
<br>
Thanks,<br>
<br>
Matthieu<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Utkarsh Ayachit [<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>]<br>
<b>Sent:</b> Thursday, September 10, 2015 11:10 AM<br>
<b>To:</b> Dorier, Matthieu; David E DeMarle<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Problem with number of arguments in a Python Catalyst script<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Matthieu,
<div><br>
</div>
<div>That's indeed the case: try adding a `cinema={}` argument to the script.</div>
<div><br>
</div>
<div>Dave, can we fix this please? Scripts generated from 4.3.1 should work with 4.4 too.</div>
<div><br>
</div>
<div>Utkarsh</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Sep 10, 2015 at 12:05 PM, Dorier, Matthieu <span dir="ltr">
<<a href="mailto:mdorier@anl.gov" target="_blank">mdorier@anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#333399;font-size:10pt">Hi,<br>
<br>
I generated a script for in situ visualization with Catalyst. When running it in situ, I get the following error:<br>
TypeError: RegisterView() takes exactly 9 arguments (8 given)<br>
<br>
The line in question in the script is:<br>
<br>
coprocessor.RegisterView(renderView1,<br>
filename='image_%t.png', freq=1, fittoscreen=0, magnification=1, width=1231, height=887)<br>
<br>
I'm generated the script using ParaView 4.3.1, while the version of Catalyst used on the machine is 4.4 RC2, might that be the problem? If so what argument is missing? Can I simply manually add it in the script or should I re-generate the script with ParaView
4.4?<br>
<br>
Thanks,<br>
<br>
Matthieu<br>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>