[Paraview] Plugin Crashing on PV 3.12 RC2

Michael Jackson mike.jackson at bluequartz.net
Wed Oct 12 10:40:43 EDT 2011


I have a custom reader plugin that I am trying to update for ParaView 3.12. Everything seems to compile OK and ParaView launches Ok. When I try to open one of my files I get the following:

ERROR: In /Users/Shared/Kitware-CVS/ParaView/ParaViewCore/ServerImplementation/vtkSIProxy.cxx, line 240
vtkSISourceProxy (0x121a07e60): Failed to create vtkH5VizFileReader. Aborting for debugging purposes.

Which is down in this section of the vtkSIProxy:

  if (className && className[0])
    {
    this->SetVTKClassName(className);
    vtkObjectBase* obj = this->Interpreter->NewInstance(className);
    if (!obj)
      {
      vtkErrorMacro("Failed to create " << className
        << ". Aborting for debugging purposes.");
      abort();
      }
    this->VTKObject.TakeReference(obj);
    }


In my "Gui XML" code I have this:
   <Reader name="H5VizFileReader"
          extensions="ddviz"
          file_description="ParaDis Vizualization File Reader">
  </Reader> 

and in the Server Manager XML I have this:
  <!-- ************************************************************ -->
    <!-- MultiBlock Reader For the dd3d Vizualization Files (.ddviz extension) -->
    <!-- ************************************************************ -->
    <SourceProxy name="H5VizFileReader"
      class="vtkH5VizFileReader">
      <OutputPort name="Nodal Data" index="0" />
      <OutputPort name="Simulation Limits" index="1" />
      <OutputPort name="Glide Planes" index="2" />
      <OutputPort name="Node Density Vs Time" index="3" />
      <OutputPort name="Stress Vs. Total Strain" index="4">

     </OutputPort>
      <StringVectorProperty name="FileName" command="SetFileName"
        number_of_elements="1">
        <FileListDomain name="files" />
      </StringVectorProperty>
      
      <IntVectorProperty name="TimeStepRangeInfo"
        command="GetTimeStepRange" information_only="1">
        <SimpleIntInformationHelper />
      </IntVectorProperty>

      <DoubleVectorProperty name="TimestepValues"
        information_only="1">
        <TimeStepsInformationHelper />
      </DoubleVectorProperty>
      
      <IntVectorProperty name="Filter Glide Planes"
        command="SetFilterGlidePlanes" number_of_elements="1"
        default_values="0">
      <BooleanDomain name="Enable Glide Plane Filter"></BooleanDomain>
      <Documentation>
          Setting this value will filter the glide planes by the supplied
          index value. The values can NOT be less than Zero (0).
        </Documentation>
      </IntVectorProperty>
      
      <IntVectorProperty name="Glide Plane Index"
        command="SetGlidePlaneIndex" number_of_elements="1"
        default_values="1">
        <Documentation>
          This is the value by which the glide planes will be filtered. The 
          value should always be greater than 0.
        </Documentation>
      </IntVectorProperty>
          
      <IntVectorProperty name="Filter Nodes By Glide Plane"
        command="SetFilterNodesByGlidePlane" number_of_elements="1"
        default_values="0">
      <BooleanDomain name="Filter Nodes By Glide Plane"></BooleanDomain>
       <Documentation>Filter the Nodes by a given glide plane index. This index
       is different than the above index.</Documentation>
      </IntVectorProperty>
      
      <IntVectorProperty name="Nodal Glide Plane Index"
        command="SetNodalGlidePlaneIndex" number_of_elements="1"
        default_values="1">
        <Documentation>
          This is the value by which the glide planes will be filtered. The 
          value should always be greater than 0.
        </Documentation>
      </IntVectorProperty>
      
            <!-- This is the toggle for the SP111 variable.-->
      <IntVectorProperty name="Filter GPVoxels by 111 Slip Planes"
        command="SetSP111_GPVoxel_Filter" number_of_elements="1"
        default_values="0">
        <BooleanDomain name="bool" />
        <Documentation>
          When checked the filter will include VoxelData on the
          {111} slip plane
        </Documentation>
      </IntVectorProperty>
      
      <!-- This is the toggle for the SPBar111 variable.-->
      <IntVectorProperty name="Filter GPVoxels by -111 Slip Planes"
        command="SetSPBar111_GPVoxel_Filter" number_of_elements="1"
        default_values="0">
        <BooleanDomain name="bool" />
        <Documentation>
          When checked the filter will include VoxelData on the
          {-111} slip plane
        </Documentation>
      </IntVectorProperty>
      
      <!-- This is the toggle for the SP1Bar11 variable.-->
      <IntVectorProperty name="Filter GPVoxels by 1-11 Slip Planes"
        command="SetSP1Bar11_GPVoxel_Filter" number_of_elements="1"
        default_values="0">
        <BooleanDomain name="bool" />
        <Documentation>
          When checked the filter will include VoxelData on the
          {1-11} slip plane
        </Documentation>
      </IntVectorProperty>
       
      <!-- This is the toggle for the SP11Bar1 variable.-->
      <IntVectorProperty name="Filter GPVoxels by 11-1 Slip Planes"
        command="SetSP11Bar1_GPVoxel_Filter" number_of_elements="1"
        default_values="0">
        <BooleanDomain name="bool" />
        <Documentation>
          When checked the filter will include VoxelData on the
          {11-1} slip plane
        </Documentation>
      </IntVectorProperty>
      
      <DoubleVectorProperty name="Youngs Modulas"
        command="SetYoungsModulas" number_of_elements="1"
        default_values="200.0e9">
        <Documentation>
          This value will be used for the calculation of the Stress/Strain curves.
        </Documentation>
      </DoubleVectorProperty>
      
    </SourceProxy>

I have cleaned the build directory a few times in the hopes that there was something weird with the configuration/compilation but that did not seem to help. I have not been keeping up with the changes going on with ParaView lately so this is all new to me. 

Any help would be appreciated.

Thanks
___________________________________________________________
Mike Jackson                    Principal Software Engineer
BlueQuartz Software                            Dayton, Ohio
mike.jackson at bluequartz.net              www.bluequartz.net



More information about the ParaView mailing list