[Paraview-developers] Catalyst error on SaveScreenshot

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Oct 25 08:02:23 EDT 2017


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>
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 <+31%20317%20493%20506> | M.Deij at marin.nl |
> www.marin.nl
>
> [image: LinkedIn] <https://www.linkedin.com/company/marin> [image:
> YouTube] <http://www.youtube.com/marinmultimedia> [image: Twitter]
> <https://twitter.com/MARIN_nieuws> [image: 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
>
> 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/20171025/de420d77/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageaa4c34.PNG
Type: image/png
Size: 253 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171025/de420d77/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image38b4d8.PNG
Type: image/png
Size: 331 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171025/de420d77/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image4af09f.PNG
Type: image/png
Size: 333 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171025/de420d77/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image3eb543.PNG
Type: image/png
Size: 293 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171025/de420d77/attachment-0007.png>


More information about the Paraview-developers mailing list