[Paraview] problems debugging plugin writer

Dominik Szczerba dominik at itis.ethz.ch
Sun Nov 2 17:40:02 EST 2008


Yes, and it is only the case with one of my plugins. My general remark 
would be plugging should be more verbose to allow debugging...

with regards,
Dominik

Berk Geveci wrote:
> I am assuming you also wrote an xml file for the gui? Like the example
> in Examples/Plugin/Writer?
>
> -berk
>
> On Mon, Oct 27, 2008 at 5:26 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>   
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> My plugin writer does not show up in ParaView drop-down menu of save
>> file types (unlike my plugin readers). Problem is I get no
>> hints/errors/warnings whatsoever. How can I debug what is happening,
>> e.g. see if something goes wrong with the xml server file?
>>
>> I am posting my xml file here, but actually I would much prefer to be
>> able to debug this myself rather than have someone point me with a
>> finger to a wrong line...
>>
>> <ServerManagerConfiguration>
>>
>>        <ProxyGroup name="writers">
>>
>>                <WriterProxy name="vtkHDF5ImageWriter"
>>                                                                 class="vtkHDF5ImageWriter"
>>                                                                 label="HDF5 Image Writer">
>>     <Documentation short_help="Write a an image in a HDF5 file."
>>       long_help="Write a an image in a HDF5 file.">
>>       The reader reads structured HDF5 datasets. The default file
>> extension is .image.
>>     </Documentation>
>>
>>                 <InputProperty name="Input" command="SetInputConnection">
>>                         <ProxyGroupDomain name="groups">
>>                                 <Group name="sources"/>
>>                                 <Group name="filters"/>
>>                         </ProxyGroupDomain>
>>                         <DataTypeDomain name="input_type" composite_data_supported="0">
>>                                 <DataType value="vtkImageData"/>
>>                         </DataTypeDomain>
>>                 </InputProperty>
>>
>>                 <StringVectorProperty
>>        name="FileName"
>>        animateable="0"
>>        command="SetFileName"
>>        number_of_elements="1">
>>        <FileListDomain name="files"/>
>>        <Documentation>
>>          This property specifies the file name for the HDF5 writer.
>>        </Documentation>
>>     </StringVectorProperty>
>>
>>         </WriterProxy>
>>  </ProxyGroup>
>> </ServerManagerConfiguration>
>>
>>
>> - --
>> Dominik Szczerba, Ph.D.
>> Computational Physics Group
>> Foundation for Research
>> on Information Technologies in Society
>> http://www.itis.ethz.ch
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
>> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>>
>> iD8DBQFJBjHy/EBMh9bUuzIRAm+OAJ4zaMsE8b3Z93l+q8oBFaeBAUwoXACgoGE5
>> YLDHR7vV7Sg7S6iLRwz6C14=
>> =vUpf
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>     
>
>   



More information about the ParaView mailing list