<div dir="ltr">Daan,<div><br></div><div>Can you try changing the `si_class` attribute in the XML for the proxy to be `vtkSIMetaReaderProxy`? I suspect the classname was changed at some point. If that works, I can update the Wiki.</div><div><br></div><div>Thanks</div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 11:01 AM, Daan van Vugt <span dir="ltr"><<a href="mailto:daanvanvugt@gmail.com" target="_blank">daanvanvugt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>I would like to create a plugin that uses h5py and numpy to read a file, do some operations on it and return VTK objects.<br></div><div>Would it be possible to do the same thing as <a href="http://www.paraview.org/Wiki/Animating_legacy_VTK_file_series#Making_custom_readers_work_with_file_series" target="_blank">http://www.paraview.org/Wiki/<wbr>Animating_legacy_VTK_file_<wbr>series#Making_custom_readers_<wbr>work_with_file_series</a><br></div><div>but instead of using a <span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0">vtkPDataSetReader use a vtkPythonProgrammableSource?<br><br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0">I have made a (very naive) try, attached to this post.<br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0">When using this to read a series of files I get the errors (version 5.2.0 64-bit) shown below.<br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0">To test, just use any hdf5 file. (.h5)<br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0"><br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0">Thanks for any help,<br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0">Daan<br></span></span></div><div><span class="m_-2212458214933824739gmail-sc3"><span class="m_-2212458214933824739gmail-st0"><br><br><br><br>ERROR: In /home/buildslave/dashboards/<wbr>buildbot/paraview-pvbinsdash-<wbr>linux-shared-release_opengl2_<wbr>qt4_superbuild/source-<wbr>paraview/ParaViewCore/<wbr>ServerImplementation/Core/<wbr>vtkPVSessionCore.cxx, line 439<br>vtkPVSessionCore (0x100da30): Failed to instantiate vtkSIFileSeriesReaderProxy<br><br><br>global_id: 4875<br>location: 2<br>[paraview_protobuf.<wbr>DefinitionHeader.client_class]<wbr>: "vtkSMSourceProxy"<br>[paraview_protobuf.<wbr>DefinitionHeader.server_class]<wbr>: "vtkSIFileSeriesReaderProxy"<br>[paraview_protobuf.ProxyState.<wbr>xml_group]: "sources"<br>[paraview_protobuf.ProxyState.<wbr>xml_name]: "JorekReadH5"<br>[paraview_protobuf.ProxyState.<wbr>subproxy] {<br>  name: "Reader"<br>  global_id: 4864<br>}<br>############ ABORT #############<br>ERROR: In /home/buildslave/dashboards/<wbr>buildbot/paraview-pvbinsdash-<wbr>linux-shared-release_opengl2_<wbr>qt4_superbuild/source-<wbr>paraview/ParaViewCore/<wbr>ServerImplementation/Core/<wbr>vtkPVSessionCore.cxx, line 794<br>vtkPVSessionCore (0x100da30): No object with global-id: 4875<br><br></span></span></div></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>