<div dir="ltr">This is indeed a bug. I suspect the Catalyst edition is missing the proxies used to save screenshot.<div><br></div><div>I've reported an issue here: <a href="https://gitlab.kitware.com/paraview/paraview/issues/17794">https://gitlab.kitware.com/paraview/paraview/issues/17794</a></div><div><br></div><div>I can put together a quick fix once I get to work.</div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 4:37 AM, Deij-van Rijswijk, Menno <span dir="ltr"><<a href="mailto:M.Deij@marin.nl" target="_blank">M.Deij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<p></p>
<div class="m_-5012255372187858784WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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/<wbr>Essentials/Extras/Rendering-<wbr>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:<u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> File "<string>", line 2, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> File "coproc.py", line 180, in DoCoProcessing<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> File "/home/mdeij/src/Catalyst/<wbr>build/lib/site-packages/<wbr>paraview/coprocessing.py", line 271, in WriteImages<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> magnification=view.<wbr>cpMagnification, quality=quality)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> File "/home/mdeij/src/Catalyst/<wbr>build/lib/site-packages/<wbr>paraview/simple.py", line 1071, in SaveScreenshot<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> return _SaveScreenshotLegacy(<wbr>filename, view=view, **params)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> File "/home/mdeij/src/Catalyst/<wbr>build/lib/site-packages/<wbr>paraview/simple.py", line 997, in _SaveScreenshotLegacy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> ImageQuality=imageQuality)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> File "/home/mdeij/src/Catalyst/<wbr>build/lib/site-packages/<wbr>paraview/simple.py", line 1080, in SaveScreenshot<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"> options = servermanager.misc.<wbr>SaveScreenshot()<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">AttributeError: 'PVModule' object has no attribute 'SaveScreenshot'<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any idea why this happens and how to fix it? Am I using the right Edition(s)?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks and best wishes,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Menno Deij – van Rijswijk<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">dr. ir.</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Menno A.</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Deij-van Rijswijk</font><font size="3" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Researcher / Software Engineer</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">MARIN Software Group</font><br>
<font style="font-family:Verdana;font-size:9pt;color:#7d7d7d;font-weight:bold">MARIN</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"> | T
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"><a href="tel:+31%20317%20493%20506" value="+31317493506" target="_blank">+31 317 49 35 06</a></font><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt"> |
</font><span style="font-family:Verdana;font-size:8pt"><a href="mailto:M.Deij@marin.nl" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">M.Deij@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt"> |
</font><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">www.marin.nl</span></a></span><br>
<br>
<a href="https://www.linkedin.com/company/marin" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image3eb543.PNG@3d8f0183.42b9030e" alt="LinkedIn"></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image38b4d8.PNG@3638a28a.4c825340" alt="YouTube"></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image4af09f.PNG@01cb1158.4cadef51" alt="Twitter"></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:imageaa4c34.PNG@588a8d8f.4cb49046" alt="Facebook"></a><br>
<font style="FONT-FAMILY:Verdana;FONT-SIZE:8pt" color="#7d7d7d" size="2" face="Verdana">MARIN news:
<font style="font-family:Verdana;font-size:8pt"><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl/web/News/News-items/NAV-2018-Call-for-papers.htm" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">NAV
2018 Call for papers</span></a></span></font></font>
<p></p>
<p><u></u></p>
<u></u><u></u><u></u>
</div>
<br>______________________________<wbr>_________________<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/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<br></blockquote></div><br></div>