<div dir="ltr">Hello Mathieu,<div><br></div><div>I realized it crashes when I add a porperty with a "°" symbol. In fact I have a XML plugin version of the same Python programmable filter. This XML file contains a Python variable name with a ° simbol (degrees). When I add this property it crashes (It is available on the attached file). So the problem was not with the code itself but with the XML file. </div><div><br></div><div><br></div><div>On the other hand, when it did not crashed, I could not find the custom filter simply because the brand new custom filter was on the Sources list and not on the alphabetical list of filters (sorry for that !!!)</div><div><br></div><div>

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Sometimes the creation procedure was supposed to be ok (no crashes, no error messages), and i continue to work until a new error apeared (not related with this issue). W</span>hen i open Paraview again,

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline"> </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">the filter was not there</span>

. With the "Reset Session" you told me, it works fine. So, It seems to be a good practice to quit the session without errors in order to avoid to lost the Custom Filter. created earlier<br></div><div><br></div><div><br></div><div>Finally, the autoload of the Custom Filters works fine, but I realized that the list of cpd files gets empty after a crash happens during the creation of the custom filter. If the custom filter procedure succeeds, it works as intended. However if it crashes, all or some of the existing Filters just desapear.</div><div><br></div><div>Thanks again for your support !</div><div><br></div><div>PS : i respond also to the Paraview mail list (somebody may have the same issues)</div><div><br></div><div>Best regards,<br></div><div><br></div><div>Miguel Angel AGUIRRE</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 30, 2018 at 11:30 PM, Mathieu Westphal <span dir="ltr"><<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@kitware.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="auto">Great !<div dir="auto"><br></div><div dir="auto">I would be interested to know how you had a crash though, as it could be fixed anyway.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Mon, 30 Apr 2018, 18:37 Miguel Aguirre, <<a href="mailto:aguirre.utn@gmail.com" rel="noreferrer" target="_blank">aguirre.utn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Thank you very much. I've followed those steps and worked perfectly. It is not crashing anymore.</div><div><br></div><div>Thanks again.</div><div><br></div><div>Miguel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 30, 2018 at 4:13 PM, Mathieu Westphal <span dir="ltr"><<a href="mailto:mathieu.westphal@kitware.com" rel="noreferrer noreferrer" target="_blank">mathieu.westphal@kitware.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><div><div><div><div><div><div><div>Hello Miguel,<br><br>Programmable source are supported and your example seems to work.<br></div>Here is exactly how i tested it, with ParaView 5.4.0, 5.4.1 and 5.5, on linux.<br><br></div>- Open ParaView<br></div>- Load State -> ERROR_pv_5_4_0.pvsm<br></div>- Select the source and the filter in the pipeline browser<br></div>- Tools->Create Custom Filter<br></div>- Write a SourceName<br></div>- Next, Next, Finish<br></div>- Edit->Reset Session<br></div>- <b>Sources</b>-> SourceName<br><div><div><div><div><div><div><div><div><div><div>- Apply<br><br></div><div>no bug, all seems to be working well.<br></div><div><br></div><div>Custom Filter are already automatically saved and loaded, they should be available at the next paraview execution (considering ParaView exited normally).<br><br></div><div>Best,<br></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div><div><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631h5">
<br><div class="gmail_quote">On Fri, Apr 27, 2018 at 2:58 PM, Miguel Aguirre <span dir="ltr"><<a href="mailto:aguirre.utn@gmail.com" rel="noreferrer noreferrer" target="_blank">aguirre.utn@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">Hello,<div><br></div><div>It is on Paraview 5.4.0 and it happens also on 5.5.0</div><div><br></div><div>I have attached a very simple pvsm file with a programmable source followed by a filter. When I try to create a single Custom Filter containing this 2 operations (the source+the filter), it crashes. Sometimes it does not crashes but the new custom filter is not available on the filter alphabetical list. Does the Custom Filter accepts a programmable source as input ?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>PS : i have created several other custom filters but i have to load them every time I open a session. is it possible to make an autoload ? (something like the autoload of the plugins) </div><div><br></div><div>Miguel</div></div><div class="gmail_extra"><div><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586h5"><br><div class="gmail_quote">On Fri, Apr 27, 2018 at 1:32 PM, Mathieu Westphal <span dir="ltr"><<a href="mailto:mathieu.westphal@kitware.com" rel="noreferrer noreferrer" target="_blank">mathieu.westphal@kitware.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><div><div><div>Hi Miguel,<br><br></div>I fail to reproduce with a single source in a custom filter.<br></div>Could you please precise which version of ParaView you are using and which filter you are putting in a custom filter ?<br></div><br></div>Thanks,<br><br></div>Best regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586m_1101410762282881418m_3228562248872619449gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote"><div><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586m_1101410762282881418h5">On Fri, Apr 27, 2018 at 12:54 PM, Miguel Aguirre <span dir="ltr"><<a href="mailto:aguirre.utn@gmail.com" rel="noreferrer noreferrer" target="_blank">aguirre.utn@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586m_1101410762282881418h5"><div dir="ltr"><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586m_1101410762282881418m_3228562248872619449m_3883126847845658914gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Hi all,</div></div><div><br></div><div>I would like to know if its possible to create a custom filter without an input.</div><div><br></div><div>In fact, I would like to use a data source followed by some filters and then to group all these actions (including the data source) in a single Custom Filter. However Paraview crashes when I click on the "finish" button during the set-up procedure. </div><div><br></div><div>Thanks in advance !</div><span class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586m_1101410762282881418m_3228562248872619449HOEnZb"><font color="#888888"><div><br></div><div>Miguel</div></font></span></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer noreferrer 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 noreferrer noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer noreferrer noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer noreferrer noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer noreferrer noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586HOEnZb"><font color="#888888">-- <br><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631m_-5623856664078143586m_1101410762282881418gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><strong><font color="#000099">Ing.  Miguel Angel AGUIRRE</font></strong></div>
<div><br></div></div></div></div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_339824192727838865m_8387571274794082467m_-3116760715500736631gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><strong><font color="#000099">Ing.  Miguel Angel AGUIRRE</font></strong></div>
<div><br></div></div></div></div>
</div>
</blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><strong><font color="#000099">Ing.  Miguel Angel AGUIRRE</font></strong></div>
<div><br></div></div></div></div>
</div></div>