[Paraview-developers] Catalyst error on SaveScreenshot

Deij-van Rijswijk, Menno M.Deij at marin.nl
Thu Oct 26 03:19:41 EDT 2017


Hi Utkarsh,

Thanks for your quick reply; I am not generating my own editions but with your fix I can easily patch the catalyze.pi and json manifest files.

Best wishes,


Menno Deij – van Rijswijk



dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | MARIN Software Group
MARIN | T +31 317 49 35 06 | M.Deij at marin.nl<mailto:M.Deij at marin.nl> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia>  [Twitter] <https://twitter.com/MARIN_nieuws>  [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news: NAV 2018 Call for papers<http://www.marin.nl/web/News/News-items/NAV-2018-Call-for-papers.htm>
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
Sent: Wednesday, October 25, 2017 4:52 PM
To: Deij-van Rijswijk, Menno
Cc: paraview-developers at paraview.org
Subject: Re: [Paraview-developers] Catalyst error on SaveScreenshot

Menno,

Here's a fix for the catalyst edition generation code:

  https://gitlab.kitware.com/paraview/paraview/merge_requests/1989

Are you generating your own editions? Let me know if you want me to pregenerate an updated edition with this fix for you.

Utkarsh

On Wed, Oct 25, 2017 at 8:02 AM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>> wrote:
This is indeed a bug. I suspect the Catalyst edition is missing the proxies used to save screenshot.

I've reported an issue here: https://gitlab.kitware.com/paraview/paraview/issues/17794

I can put together a quick fix once I get to work.

Utkarsh

On Wed, Oct 25, 2017 at 4:37 AM, Deij-van Rijswijk, Menno <M.Deij at marin.nl<mailto:M.Deij at marin.nl>> wrote:
Hi,

So far I have linked our co-processing interface to the full source build of paraview, which works. In a bid to reduce the memory footprint and binary size I linked to the Catalyst edition “Base/Enable-Python/Essentials/Extras/Rendering-Base/Rendering-Base-Python”. The memory footprint is indeed reduced, so it seems worthwhile to use a Catalyst edition. When I try to save an image, however, the pipeline that works fine on the executable linked to the full ParaView build gives an error on the executable linked to the Catalyst build:

  File "<string>", line 2, in <module>
  File "coproc.py", line 180, in DoCoProcessing

  File "/home/mdeij/src/Catalyst/build/lib/site-packages/paraview/coprocessing.py", line 271, in WriteImages
    magnification=view.cpMagnification, quality=quality)
  File "/home/mdeij/src/Catalyst/build/lib/site-packages/paraview/simple.py", line 1071, in SaveScreenshot
    return _SaveScreenshotLegacy(filename, view=view, **params)
  File "/home/mdeij/src/Catalyst/build/lib/site-packages/paraview/simple.py", line 997, in _SaveScreenshotLegacy
    ImageQuality=imageQuality)
  File "/home/mdeij/src/Catalyst/build/lib/site-packages/paraview/simple.py", line 1080, in SaveScreenshot
    options = servermanager.misc.SaveScreenshot()
AttributeError: 'PVModule' object has no attribute 'SaveScreenshot'


Any idea why this happens and how to fix it? Am I using the right Edition(s)?

Thanks and best wishes,


Menno Deij – van Rijswijk


dr. ir. Menno A. Deij-van Rijswijk | Researcher / Software Engineer | MARIN Software Group
MARIN | T +31 317 49 35 06<tel:+31%20317%20493%20506> | M.Deij at marin.nl<mailto:M.Deij at marin.nl> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia>  [Twitter] <https://twitter.com/MARIN_nieuws>  [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news: NAV 2018 Call for papers<http://www.marin.nl/web/News/News-items/NAV-2018-Call-for-papers.htm>

_______________________________________________
Powered by www.kitware.com<http://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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 293 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 331 bytes
Desc: image002.png
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 333 bytes
Desc: image003.png
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 253 bytes
Desc: image004.png
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageecfe1e.PNG
Type: image/png
Size: 293 bytes
Desc: imageecfe1e.PNG
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagedf8ee9.PNG
Type: image/png
Size: 331 bytes
Desc: imagedf8ee9.PNG
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2ec703.PNG
Type: image/png
Size: 333 bytes
Desc: image2ec703.PNG
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagea7c2a9.PNG
Type: image/png
Size: 253 bytes
Desc: imagea7c2a9.PNG
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171026/9916b7e1/attachment-0015.png>


More information about the Paraview-developers mailing list