<div dir="ltr"><div>Hi,</div><div>Thanks for the report, I can reproduce the problem. Actually, ITK recently updated their packages and it seems that our old packages are not compatible with the new ones. We will release new ones soon but in the mean time, you should use an older version of ITK packages (5.0.1) or use a package built by our CI, e.g. one those available here:</div><div><a href="https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts">https://dev.azure.com/simonrit/RTK/_build/results?buildId=477&view=artifacts&type=publishedArtifacts</a></div><div>Best regards,</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 6, 2020 at 9:27 AM Aurélien Coussat <<a href="mailto:aurelien.coussat@creatis.insa-lyon.fr">aurelien.coussat@creatis.insa-lyon.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US"><div>Hi,</div><div><br></div><div>I cannot reproduce the problem. Are you sure you haven't altered FirstReconstruction.py in any way? Could you provide the exact content of the file?</div><div><br></div><div>Thank you!</div><div><br></div><div>Aurélien.</div><div><br></div><div>On Tue, 2020-05-05 at 22:01 +0000, Zhang, Zhehao wrote:</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex">
<div class="gmail-m_-1657816738392818756WordSection1">
<p class="MsoNormal">Dear all, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi! I am new to RTK and want to use it on Python. So I installed RTK through pip, like<u></u><u></u></p>
<pre><span style="color:black">pip install itk<u></u><u></u></span></pre>
<pre><span style="color:black">pip install itk-rtk<u></u><u></u></span></pre>
<p class="MsoNormal"><b><u></u> <u></u></b></p>
<p class="MsoNormal">I think the examples for ITK work well. However, when I tried to run the FirstReconstruction example for RTK, some trouble have stopped me for a while.<u></u><u></u></p>
<p class="MsoNormal">I used the order “python FirstReconstruction.py test.mha geometry.xml” to run the given Python code, but I continued to get the error<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal"> File "FirstReconstruction.py", line 88, in <module><u></u><u></u></p>
<p class="MsoNormal"> writer.Update()<u></u><u></u></p>
<p class="MsoNormal">RuntimeError: C:\P\IPP\standalone-build\ITKs\Modules\Core\Common\src\itkProcessObject.cxx:1400:<u></u><u></u></p>
<p class="MsoNormal">itk::ERROR: FieldOfViewImageFilter(000001C546A88980): Input Primary is required but not set.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Additionally, this ‘Input Primary is required but not set’ error also occurred in some other examples, on both Windows and Ubuntu systems. I have no idea how to solve it. Could you please help me out?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you very much.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Sincerely,<u></u><u></u></p>
<p class="MsoNormal">Zhehao<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<pre>_______________________________________________
Rtk-users mailing list
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre></blockquote></div>_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div>