https://gitlab.kitware.com/paraview/paraview/merge_requests/377
should fix the backwards compatibility part David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Sep 10, 2015 at 4:00 PM, Dorier, Matthieu <mdor...@anl.gov> wrote: > I'll try and keep you posted. > > (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). > > Matthieu > ------------------------------ > *From:* Utkarsh Ayachit [utkarsh.ayac...@kitware.com] > *Sent:* Thursday, September 10, 2015 2:40 PM > *To:* Dorier, Matthieu > *Cc:* David E DeMarle; paraview@paraview.org > > *Subject:* Re: [Paraview] Problem with number of arguments in a Python > Catalyst script > > Looks like edition is not sufficient for the visualization you're putting > together. Is it possible to use a full ParaView build? > > Utkarsh > > On Thu, Sep 10, 2015 at 2:24 PM, Dorier, Matthieu <mdor...@anl.gov> wrote: > >> Hi, >> >> I'm attaching my code. >> >> 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. >> The code can be run by calling ./Madelbulb renderbulb.py >> >> Thanks for your help, >> >> Matthieu >> >> ------------------------------ >> *From:* Dorier, Matthieu >> *Sent:* Thursday, September 10, 2015 11:18 AM >> *To:* Utkarsh Ayachit; David E DeMarle >> *Cc:* paraview@paraview.org >> *Subject:* RE: [Paraview] Problem with number of arguments in a Python >> Catalyst script >> >> Thanks, adding the argument removed the error, but now I have another one: >> >> ERROR: In >> /home/mdorier/Catalyst-src/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx, >> line 310 >> vtkSISourceProxy (0x34ad8a0): Failed to create >> vtkImageSliceRepresentation. Aborting for debugging purposes. >> Aborted (core dumped) >> >> Any idea how to solve this? >> >> Thanks, >> >> Matthieu >> >> ------------------------------ >> *From:* Utkarsh Ayachit [utkarsh.ayac...@kitware.com] >> *Sent:* Thursday, September 10, 2015 11:10 AM >> *To:* Dorier, Matthieu; David E DeMarle >> *Cc:* paraview@paraview.org >> *Subject:* Re: [Paraview] Problem with number of arguments in a Python >> Catalyst script >> >> Matthieu, >> >> That's indeed the case: try adding a `cinema={}` argument to the script. >> >> Dave, can we fix this please? Scripts generated from 4.3.1 should work >> with 4.4 too. >> >> Utkarsh >> >> On Thu, Sep 10, 2015 at 12:05 PM, Dorier, Matthieu <mdor...@anl.gov> >> wrote: >> >>> Hi, >>> >>> I generated a script for in situ visualization with Catalyst. When >>> running it in situ, I get the following error: >>> TypeError: RegisterView() takes exactly 9 arguments (8 given) >>> >>> The line in question in the script is: >>> >>> coprocessor.RegisterView(renderView1, >>> filename='image_%t.png', freq=1, fittoscreen=0, magnification=1, >>> width=1231, height=887) >>> >>> 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? >>> >>> Thanks, >>> >>> Matthieu >>> >>> _______________________________________________ >>> 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 >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview