Hi all,
 
I recently compiled the latest version of Paraview and try to port a post processing script to the new version of paraview. I previously used
"reader = OpenDataFile(cdict)" to read OpenFOAM case data, however it now returns the following error
 
/usr/lib/python2.7/dist-packages/paraview/simple.py in OpenDataFile(filename, **extraArgs)
    561     reader_factor = servermanager.vtkSMProxyManager.GetProxyManager().GetReaderFactory()
    562     if reader_factor.GetNumberOfRegisteredPrototypes() == 0:
--> 563       reader_factor.RegisterPrototypes(session, "sources")
    564     first_file = filename
    565     if type(filename) == list:
AttributeError: RegisterPrototypes
 
 
What could  be the reason for that?
 
Thanks a lot
Gregor
 
 
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to